Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Reproject shapefile

$
0
0
I'm working in an app that needs to load shapefiles.
For that I'm loading the .PRJ file and creating a new ProjectionInfo object from that file:
Projections.ProjectionInfo.Open(prjPath)
I have here a file with the following .prj file:
GEOGCS["Puerto Rico",DATUM["D_Puerto_Rico",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]

Based in what I understand the PRJ file that I have is telling me that the Spheroid is Clarke_1866, but the ProjectionInfo says that the spheroid is WGS84 after parsing the ESRI code.

The class retrieves the values from the resource Datums.xml and on that file the spheroid for Clarke_1866 is set as WGS84 as many many others.

Am I missing something ? Can somebody explain me how the Datums.xml works ?

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>