GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Finding all postcodes within a polygon  XML
Forum Index -> General
Author Message
pipmossop



Joined: 25/04/2013 10:00:45
Messages: 1
Offline

Hi Marc

We are using latest version of MongoDB which has geospatial capabilities and a Ruby on Rails application that would like to use geonames web service to return all postcodes within a polygon drawn by the user.

Is this possible?
marc



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

Hi

You can calculate the smalles circle around your polyon and query with the center coordinates and the radius of the circle. You can then filter the result with the polyon. The geonames web service do not yet accept polygon input parameters.

Marc

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