I am able to query for the number of places. The problem becomes when there are over 6000 places, the system gives me an error message that the requested start row is too big.

Here is an example of a request which would generate that:


How do people usually get around this?



Download the data dump and put it into PostGIS. See http://ian01.geog.psu.edu/geoserver_docs/data/geonames/index.html for more details.

  • Yeah, but then how do I query the data dump if it is downloaded? Will I be able to put it into some sort of MySQL structure? Is that straight forward? – Genadinik May 21 '11 at 18:24
  • 2
    Yes, PostGIS is a database like MySQL. Just better ;) – underdark May 21 '11 at 20:19
  • @Genadinik: Yes, querying a PostgreSQL/PostGIS database is as straight forward as your URL: SELECT * FROM geoname WHERE fcode='PPL' AND country='US' AND admincode1='VA'; – MerseyViking May 22 '11 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.