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 a shapefile with 180 points. I'm using shp2pgsql-gui via pgAdminIII. This is an error it gives me when I try to import shapefile.

Failed in pgui_exec(): ERROR:  Coordinate values are out of range [-180 -90, 180 90] for GEOGRAPHY type

This is information about coordinate system:

Geographic Coordinate System:   GCS_WGS_1984
Datum:  D_WGS_1984
Prime Meridian:     Greenwich
Angular Unit:   Degree

Can someone help me?

share|improve this question
Have you checked if your coordinates are indeed in degrees? – underdark Oct 19 '11 at 16:47
How to check that? – againstflow Oct 20 '11 at 14:53

Not sure how to do it with the GUI but using the command line you should try to force the srid

shp2pgsql -s 4326 shapefile.shp schema.table > table.sql

Then you can execute the table.sql script from pgadmin

share|improve this answer
It still gives me that error. – againstflow Oct 20 '11 at 17:10
I reprojected in WGS84 in GRASS, and now there's no error! – againstflow Oct 20 '11 at 21:33

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.