ThinkGeo Team,
I’m attempting to upgrade a V14.2 project from using UnmanagedProjectionConverter to using GdalProjectionConverter.
The GDAL converter appears to be working. However, invoking the following results in an exception:
TheVertex = TheAssetsStatic.aGdalProjectionConverterForLatLong.ConvertToInternalProjection(TheLongitude, TheLatitude);
The above line compiles without error. It would appear, from the exception, that ConvertToInternalProjection in not defined in the lower levels. Attempting to invoke ConvertToExternalProjection results in the same exception.
Below are the Project Dependencies.
Regards,
Dennis Berry
System.EntryPointNotFoundException
HResult=0x80131523
Message=Unable to find an entry point named ‘?’ in DLL ‘osr_wrap’.
Source=osr_csharp
StackTrace:
at OSGeo.OSR.OsrPINVOKE.new_CoordinateTransformation__SWIG_0(HandleRef jarg1, HandleRef jarg2)
at OSGeo.OSR.CoordinateTransformation…ctor(SpatialReference src, SpatialReference dst)
at ThinkGeo.Core.GdalProjectionConverter.ny0=(Projection srcProj, Projection destProj, IEnumerable1 vertices) at ThinkGeo.Core.GdalProjectionConverter.ConvertToInternalProjectionCore(IEnumerable
1 verticies)
at ThinkGeo.Core.ProjectionConverter.ConvertToInternalProjection(Double x, Double y)
at OriStarWmsClient.MapMethods.d__4.MoveNext() in C:\OriStarMappingIncThinkGeoUI-V14.2.0Secondary\OriStarWmsClient\TheMapMethods.cs:line 212