GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Reverse Geocoding for a region  XML
Forum Index -> General
Author Message
Atilla



Joined: 27/07/2008 03:26:31
Messages: 3
Location: UK
Offline

Hi all,

I was just wondering if there was a tool whereby I could match all latitude/longitudes within an area? I have created regions within an image and I would somehow like to pull out the corresponding longitude/latitude for each of the regions. For example, let’s say there was no admin1 code for Texas, but we had a load of lat/lons, could we identify which ones are within the Texas region? Without the need for codes - I hope this question makes sense.

Thanks Atilla
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

Hi Atilla

There is a countrysubdiv service to tell you the state of a lat/lng:
http://www.geonames.org/export/web-services.html#countrysubdiv


Best

Marc

[WWW]
Atilla



Joined: 27/07/2008 03:26:31
Messages: 3
Location: UK
Offline

Thanks Marc, unfortunately the region I am looking for is not on geonames. In Portugal they have three administrative structures (state, county and council). What I am trying to do is marry the place to the council. This would be across the whole country

Regards

Atilla
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

Atilla

You could try to find the polygons of the official council boundaries and use them to reverse geocode your coordinates. And if you find them and they are releases under a license that allow us to use them, please let us know so that we can include them in our web service.

Best

Marc

[WWW]
Atilla



Joined: 27/07/2008 03:26:31
Messages: 3
Location: UK
Offline

Thanks again Marc, do you know what tool I could use to achieve this (with polygons)?, more then happy to share then with you once I have completed them
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

We are processing polygons on the database layer (postgres/postgis) as we have a lot of them. You could also use a tool on the application side like the java topology suite: http://www.vividsolutions.com/jts/jtshome.htm

Marc

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team