Hello,
The method ConvertToExternalProjection sends an AccessViolationException when I try to reproject a shape.
Here is a test code which use a shape created from WKT. I my real situation, shapes are loaded from a shapefile.
Proj4Projection proj4 = new Proj4Projection();
proj4.InternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(2039);
proj4.ExternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(4326);
BaseShape shape = BaseShape.CreateShapeFromWellKnownData(@"MULTIPOLYGON(((173061.835356474 635942.881484032,173133.905875921 635925.559813499,173110.707210779 635846.375037193,173103.283638 635847.921614647,173090.911016703 635806.164017677,173073.280031204 635805.236070633,173062.453987598 635806.78264904,173041.111215591 635812.659644127,173025.336123466 635820.083216667,173061.835356474 635942.881484032)))");
BaseShape shapeGeo = proj4.ConvertToExternalProjection(shape);
Do I have something wrong? Do I forgot something?
Thanks
Nicolas