All,

Using GDAL  trunk, I can read and reproject a personal geodatabase using the
internal projection as the source projection. However, when I use ­sql (as I
need to add a new field to the output), the source projection can no longer
be read.

C:\temp>ogr2ogr -t_srs EPSG:4326 -f "ESRI Shapefile" temp1.shp
CL_01_LDS_20101201_A.mdb CL_01_LDS_20101201_A_Contour_Smoothed
Warning 6: Normalized/laundered field name: 'Shape_Length' to 'Shape_Leng'

C:\temp>ogr2ogr -t_srs EPSG:4326 -f "ESRI Shapefile" temp1.shp
CL_01_LDS_20101201_A.mdb  -sql "select * from
CL_01_LDS_20101201_A_Contour_Smoothed"
Can't transform coordinates, source layer has no coordinate system.  Use
-s_srs to set one.

Mike


-- 
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers



_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to