How to Convert Cassini Soldner to WGS84?

Sep 7, 2012 at 1:59 PM
Edited Sep 7, 2012 at 2:00 PM

Hi,

I have to convert the Cassini-Soldner coordinate system to WGS84 or Gauss-Boaga.

Here is my code:

Geometry Transfrom(Geometry Geom)                   

{                       

CoordinateSystemFactory cf = new CoordinateSystemFactory();                        

ICoordinateSystem from=cf.CreateFromWkt("PROJCS[\"DHDN / Soldner Berlin\",GEOGCS[\"DHDN\",DATUM[\"D_Deutsches_Hauptdreiecksnetz\",SPHEROID[\"Bessel_1841\",6377397.155,299.1528128]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Cassini\"],PARAMETER[\"latitude_of_origin\",52.41864827777778],PARAMETER[\"central_meridian\",13.62720366666667],PARAMETER[\"false_easting\",40000],PARAMETER[\"false_northing\",10000],UNIT[\"Meter\",1]]"); 

ICoordinateTransformation t = new CoordinateTransformationFactory().CreateFromCoordinateSystems(from, GeographicCoordinateSystem.WGS84);                       

return GeometryTransform.TransformGeometry(Geom, t.MathTransform);                 

 }

But I get this error: Cassini is not supported. How can I do?

Coordinator
Sep 10, 2012 at 7:54 AM

cassini projection is not supported. you can try with http://dotspatial.codeplex.com/wikipage?title=DotSpatial.Projections

Sep 10, 2012 at 11:33 AM

Ok thank you I solved my problem. Nice libraries!