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 have table with latitude & longitude columns in sql. how can i select all records with lat-long 60 degree north> ( Arctic Region )

Thanks Pragnesh

share|improve this question

how about:

select * from table where latitude > 60.0;
share|improve this answer
its not giving correct result. – Pragnesh Patel Jun 13 '11 at 8:55
in what way is it not correct? – iant Jun 13 '11 at 17:01

One thing to consider is that if you have a large dataset then defining your data using lat / long, instead of using a real GIS geometry like PostGIS geography or geometry, prevents you from building spatial indexes on your data. You could get by with building a B+-tree index on your latitude field for the query iant provided, but the moment you need to start doing queries involving both longitude and latitude your indexes will perform sub-par (even if you have two separate indexes on both lat and lon).

share|improve this answer

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.