1
vote
1answer
50 views

Problem with Converting XY Coordinates to LatLon

Here is the function that I use to convert from pixel x,y to lat,lon coordinate: public static Coordinate imageToWorld(Dataset gds, int x, int y) { double[] adfGeoTransform = new ...
0
votes
0answers
42 views

Offset WGS84 linestring based on pixel values

I would like to split up some roads based on their driving direction. For this, I need to offset the roads 2 pixels to the right, in the direction of the linestring. I have the coordinates in WGS84 ...
0
votes
1answer
40 views

How to resolve a 'Received NULL pointer' ArgumentOutOfRangeException for OSGeo.OGR.Geometry.TransformTo?

I am attempting to project a geometry using the GDAL c# bindings and I'm getting a ArgumentOutOfRangeException ('Received NULL pointer') exception on the Transform methods of Geometry. I'm also ...
2
votes
1answer
656 views

ArcObjects 10.1 .NET Convert Point from WGS1984 to OSGB1936

Please can someone help me convert a point in WGS1984 to OSGB1936, I have followed all the documentation (or so i think...) and yet have not made any headway into this problem. This is my code : Type ...
2
votes
2answers
459 views

How to transform Lambert coordinates in C#?

I want to transform Lambert (EPSG:3035) coordinates to EPSG:4326 in C#. I have tried this: var lambert = cf.CreateFromWkt("PROJCS[\"ETRS89 / ETRS-LAEA\",GEOGCS[\"ETRS89 ...
5
votes
2answers
544 views

Translating all features in a shape file

I have a friend with a bit of a problem. He has 1000+ shape files mapping paddocks and being used for precision agriculture. He's recently discovered the base station positions used to create these ...
5
votes
5answers
6k views

How to convert coordinates from Gauss-Krueger to Longitude/Latitude?

I'm a newbie in the GIS world so please advise me :) In my .NET/C# project I need to show some shapes/points on the Bing Map. The problem is I have the Gauss-Krueger coordinates and need to convert ...