[gdal-dev] Shapefile reprojection - copy and update metadata file

Even Rouault even.rouault at mines-paris.org
Tue Aug 26 15:52:44 EDT 2008


I've no idea of what the XML file you are refering too is.

The OGR Shape driver only handles the .shp, .shx, .dbf, .prj and .qix 
extensions for shapefiles.

Le Tuesday 26 August 2008 21:34:13 Doug_Newcomb at fws.gov, vous avez écrit :
> Hi Folks,
>       Before I try to clumsily reinvent the wheel, I'd like to know if
> someone has a method to :
>
>       1) use ogr2ogr to reproject a shape file ( easy enough ).
>       2) after the above projection copy the .xml file   (if it exists)
> from the old shapefile to the new shapefile (easy as well).
>       3) Update the copied .xml file to reflect the new projection
> information, and possibly the action of projecting (the fun part :-)) .
>
> Doug
>
> Doug Newcomb
> USFWS
> Raleigh, NC
> 919-856-4520 ext. 14 doug_newcomb at fws.gov
> ---------------------------------------------------------------------------
>------------------------------
>
> The opinions I express are my own and are not representative of the
> official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
> Life is too short for undocumented, proprietary data formats.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list