Hi,
When I open a layer containing a shapefile with an imported PRJ spatial definition, it throws an exception: Initialize Ellps Failed!.
I use Thinkgeo Wpf Desktop Edition 5.0. My regional settings is on "French (France)".
Here's the prj definition:
PROJCS["NTF_France_II_degrees",GEOGCS["GCS_NTF",DATUM["D_NTF",SPHEROID["Clarke_1880_IGN",6378249.2,293.46602]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",2200000],PARAMETER["Central_Meridian",2.337229166666667],PARAMETER["Standard_Parallel_1",46.8],PARAMETER["Scale_Factor",0.99987742],PARAMETER["Latitude_Of_Origin",46.8],UNIT["Meter",1]]
Here's the callstack:
at mBQ=.eUk=.kEk=(2kI= kUk=, yVw= kkk=, 8l8= k0k=, Bhc= lEk=, Dictionary`2 lUk=)
at mBQ=.eUk=.iEk=(String iUk=)
at ThinkGeo.MapSuite.Core.ManagedProj4Projection.OpenCore()
at ThinkGeo.MapSuite.Core.Projection.Open()
at ThinkGeo.MapSuite.Core.FeatureSource.Open()
at ThinkGeo.MapSuite.Core.FeatureLayer.OpenCore()
at ThinkGeo.MapSuite.Core.Layer.Open()
at WpfCartography.CWpfCartography.GetFullExtent(GeoCollection`1 Layers, Overlay OSMOverlay, Boolean bUseOSM) in D:\integration\trunk\sources\Report Elements\Wpf\Cartography\WpfCartography\WpfCartography.xaml.cs:line 857
at WpfCartography.CWpfCartography.ComputeExtentRestriction() in D:\integration\trunk\sources\Report Elements\Wpf\Cartography\WpfCartography\WpfCartography.xaml.cs:line 493
at WpfCartography.CWpfCartography.Refresh() in D:\integration\trunk\sources\Report Elements\Wpf\Cartography\WpfCartography\WpfCartography.xaml.cs:line 452
When the Regional settings is "English (United States)", I don't get the exception.
Thanks,
P.OM