This project is read-only.
1

Closed

reproject UTM to WGS84

description

Hello Guys,

I have a problem while reprojecting from UTM (MGI / Austria GK West) 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
Closed Feb 28 at 9:00 AM by jany_
This issue list is no longer active. Your issue has been copied to https://github.com/DotSpatial/DotSpatial/issues/942.

Please react there to any questions we might have, so we can help you solve your issue.

comments