Hi all,

I have a world shapefile and when I project it from EPSG:4326 to EPSG:900913 I get strange lines wrapping around east-west wise.

ogr2ogr -t_srs EPSG:900913 -s_srs EPSG:4326 . ../world/world-fixed.shp

I have attached the image.

Unprojected extents:

$ shpdump world-fixed.shp | head -4
Shapefile Type: Polygon   # of Shapes: 270

File Bounds: (    -180.000,     -59.487,0,0)
         to  (     180.000,      83.633,0,0)

Projected extents:

$ shpdump world-fixed.shp | head -4
Shapefile Type: Polygon   # of Shapes: 270

File Bounds: (-20037465.485,-8286424.371,0,0)
         to  (20037506.673,18428201.547,0,0)

Any thoughts on this?
How can I fix it?

Thanks,
  -Steve

<<inline: world.png>>

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to