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

Created Unassigned: reproject UTM to WGS84 [63640]

$
0
0
Hello Guys,

I have a problem while reprojecting from UTM ([MGI / Austria GK West](http://www.example.com)) to WGS84 (Lat/Lon), I have an error of about 500 m in Latitude and 50 m in Longitude, thats my VB.net code:

```
' lines
Sub processLines(fs As IFeatureSet)

' set EPSG code
fs.Projection.AuthorityCode = 31254

' Destination projection information
Dim dest As DotSpatial.Projections.ProjectionInfo = KnownCoordinateSystems.Geographic.World.WGS1984
dest.GeographicInfo = fs.Projection.GeographicInfo

' set EPSG code
dest.AuthorityCode = 4326

' reproject
fs.Reproject(dest)

...
```

I´m using Qgis to echeck the results. Thanks in Advance!

Oliver

Viewing all articles
Browse latest Browse all 3973

Trending Articles



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