Hi,

I have problems with processing shapefiles in geotools, that have been
created with QGIS desktop


The situation:

I have a shapefile where geometry has coordinates according to the CRS
EPSG:3857

The WKT definition in the prj file is different depending on which tool I
use to export the shapefile:

Created with Geotools:

PROJCS["WGS 84 / Pseudo-Mercator",

   GEOGCS["WGS 84",

   DATUM["World Geodetic System 1984",

   SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],

   AUTHORITY["EPSG","6326"]],

   PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],

   UNIT["degree", 0.017453292519943295],

   AXIS["Geodetic latitude", NORTH],

   AXIS["Geodetic longitude", EAST],

   AUTHORITY["EPSG","4326"]],

   PROJECTION["Popular Visualisation Pseudo Mercator",
AUTHORITY["EPSG","1024"]],

   PARAMETER["semi_minor", 6378137.0],

   PARAMETER["latitude_of_origin", 0.0],

   PARAMETER["central_meridian", 0.0],

   PARAMETER["scale_factor", 1.0],

   PARAMETER["false_easting", 0.0],

   PARAMETER["false_northing", 0.0],

   UNIT["m", 1.0],

   AXIS["Easting", EAST],

   AXIS["Northing", NORTH],

   AUTHORITY["EPSG","3857"]

]



Created with QGIS:

PROJCS["WGS_84_Pseudo_Mercator",

   GEOGCS["GCS_WGS_1984",

   DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],

   PRIMEM["Greenwich",0],

   UNIT["Degree",0.017453292519943295]],

   PROJECTION["Mercator"],

   PARAMETER["central_meridian",0],

   PARAMETER["false_easting",0],

   PARAMETER["false_northing",0],

   UNIT["Meter",1],

   PARAMETER["standard_parallel_1",0.0]

]


The problem is that the position of the geometry is completely wrong
('somewhere in the woods') when I import a QGIS created shapefile into a
getools application.

How can this be fixed?

Which of the missing attributes produce this error?


Best regards,

Andreas
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to