Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
up vote 2 down vote accepted

Download the data dump and put it into PostGIS. See for more details.

share|improve this answer
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
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 posting your answer, you agree to the privacy policy and terms of service.

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