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

New Post: Reading PRJ file

$
0
0
I'm developing an app and I need to read shapefiles. If the shapefile is not in WGS84 I want to convert to that datum to match the code in my app.
I'm trying to read the PRJ file then, but I'm not very familiar with dot Spatial projections.

How can I Reproject the shapefile ?

I'm trying an example found here (https://dotspatial.codeplex.com/wikipage?title=ReadESRIPrjFiles) but it is outdated.

What should I use instead of this method:
Dim re As StreamReader = File.OpenText("file.prj")
pESRIEnd.ReadEsriString(re.ReadLine())

Viewing all articles
Browse latest Browse all 3973

Trending Articles



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