GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Problem using startRow parameter in webservice requests  XML
Forum Index -> General
Author Message
watbywbarif



Joined: 18/09/2012 14:37:44
Messages: 7
Offline

Execute query:
Code:
http://api.geonames.org/search?username=demo&style=FULL&maxRows=100&featureCode=BAY

totalResultsCount = 47516

add &startRow=5000 OK
add &startRow=6000 you get:Code:
<geonames>
 <status message="requested startRow too big" value="12"/>
 </geonames>


Wtf?
marc



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

the search service is not meant to download the entire database. there are data extracts for this purpose.

Marc

[WWW]
watbywbarif



Joined: 18/09/2012 14:37:44
Messages: 7
Offline

Thx Marc!

I only wanted to download some water features, not entire database

So, web services are out, no api for raw text data, I guess SQL database is my best friend.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team