Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] The World's on its side! (projection issue)

I think this is the north-east issue. The actual definition of EPSG:4326 is that the first coordinate is the north-south, and the second is east-west. But most servers and shapefile don't follow the spec. I guess OGR does. Bad bad people! I think it is time for the user to be able to set the CRS on a layer. The model has the concept but the UI doesn't yet.
Jesse

dblasby@xxxxxxxxxxxxx wrote:

(Also sent to Geotools-devel since they might be interested)

When I load shapefiles into UDIG, I find that everything is flipped on
its side (so antarctica runs north-south on the left side of the map).

If I delete the .prj file and re-load, it works correctly.

The dataset came from ogr2ogr.

I'm assuming this is Geotools CRS & PROJ.4 disagreeing on what 4326
actually means.

Other than deleting all my .prj files (which I dont really want to do
since other products use them just fine) what can I do?  Is there a
"like-everyone-else's 4326" mode?

I think Geotools needs to talk with Frank Warmerdam (the OGR/GDAL/PROJ.4
lead).

This is with today's nightly build of UDIG (which I think is the same as
yesterday's release).

I previously mentioned this to jody.

dave
PS. This UDIG release looks good -- "good job" to all!

---------------------
here's the .prj file (it came from ogr2ogr-ing the standard VMAP0
files):

GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS
1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AXIS["Lat",NORTH],AXIS["Long",EAST],AUTHORITY["EPSG","4269"]]





----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top