GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Altitudes requests for _a lot_ of coordinates ?  XML
Forum Index -> General
Author Message
pixelk



Joined: 07/01/2009 13:21:23
Messages: 1
Offline

Hello,

I'm the author of the opensource GPX Editor. So far the program can use the GeoNames webservices to get the altitude of a waypoint but some user asked if it would be possible for an entire track.
My answer was that it would represent a big amount of web traffic (some tracks can have more than 10000 coordinates) and that it wouldn't be very kind to get all this load on what is essentially a free service.

Is there a solution ? A better way of querying data for a list of points ?
I would like to avoid to setup my own GeoNames mirror if possible, and of course keep all this free.
[WWW]
marc



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

Hi Pixelk

The text version of the SRTM3 service also accepts a list of lat/lng for the parameters 'lats' and 'lngs'. On the free server the number of points per call is limited to 20.

Best

Marc

[WWW]
jporra



Joined: 23/11/2009 06:09:32
Messages: 1
Offline

Marc,
Could you explain what the format of the request is to recieve multiple altitudes.

I've tried
http://ws.geonames.org/srtm3?lat=50.01&lng=10.2&lat=51.01&lng=11.2
http://ws.geonames.org/srtm3?lat=50.01&lng=10.2&lat1=51.01&lng1=11.2
http://ws.geonames.org/srtm3?lat=50.01,51.01&lng=10.2,11.2

Unfortunately, I can't find any documentation on exactly HOW to do this.


marc



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

http://ws.geonames.org/srtm3?lats=50.01,51.01&lngs=10.2,11.2

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