[gdal-dev] OGR2OGR PGeo reprojection with -sql
Chaitanya kumar CH
chaitanya.ch at gmail.com
Mon Apr 11 12:47:16 EDT 2011
Mike,
Can you provide the version number and perhaps a sample dataset that shows
this problem?
On Mon, Apr 11, 2011 at 9:51 PM, Smith, Michael D ERDC-CRREL-NH <
michael.smith at usace.army.mil> wrote:
> 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110411/819e06aa/attachment.html
More information about the gdal-dev
mailing list