[Gdal-dev] Creation of *.PRJ file from Shapefile (*.shp) - reg.

Tamas Szekeres szekerest at gmail.com
Tue Apr 24 07:25:09 EDT 2007


Hopefully you could use the GDAL/OGR C# API to accomplish this task.
I think the morphToESRI() and exportToWkt() methods of the
SpatialReference object can be used to generate output suitable to
write Arc/Info 8 compatible .prj files.

Best regards,

Tamas


2007/4/24, sen thil <khrithik_kumar at yahoo.co.in>:
> Hai all,
>
> I am working on shapefile using C#.NET. I would like
> to know how to create a PRJ file from a shape file.
> Infact this can be acheived by using any GIS tool.
> But, i would like to create it thro' programmming
> using some OGR or shape file API in C#. Can anyone
> please help me in this regard. Is there any API
> available or any source code to create a PRJ file from
> shape file with its corresponding Spatial Refernce
> System.
>
> Thanks & regards,
>
> skr_t
>
>
>       Send a FREE SMS to your friend's mobile from Yahoo! Messenger. Get it now at http://in.messenger.yahoo.com/
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>



More information about the Gdal-dev mailing list