Steps to reproduce bug

1- Create a new content type
2- Add a CCK Location field to it
3- Create a new node, enter the following lat/lon: 35.705750, 139.753533
4- Do not select a country, leave default as-is (US)
5- Save node
6- Node shows the country as US. Correct country is Japan

PS I'm expecting the location module to be able to select the country automatically based on the lat/lon but maybe I'm expecting too much and that's not part of it's functionality?

Comments

yesct’s picture

Status: Active » Closed (duplicate)
roball’s picture

Title: Country is always US (default) even when lat / long is entered for non-US location in CCK location field » Autodetect country based on lat/lon
Category: bug » feature
Status: Closed (duplicate) » Active

I don't think this is a duplicate. totsubo is actually assuming that Location CCK would autodetect the country based on the lat/lon input.

hutch’s picture

I doubt that it's possible to do that, lat/lon is just a point on the globe.

roball’s picture

Status: Active » Closed (won't fix)

I also think this is impossible - there are geopositions which even are not assigned to any country. Thus I have changed the status to "won't fix".