Hi,
We are upgrading from MapSuiteCore (9.0.0.0) to ThinkGeo.Core (12.3.2).
In our code we are using Feature.MakeValid() function which is not available in ThinkGeo.Core (12.3.2).
Can you please suggest any alternate way?
Please find below code for the reference:
Feature editFeature = new Feature(editFeaturesWkt);
BaseShape editBaseShape = editFeature.MakeValid().GetShape();
Frank4
February 26, 2021, 3:50pm
2
Thanks,
We have some discuss about this one. The main reason is that Microsoft.SqlServer.Types library we are using in the mapsuite 10 not support .net core
Thanks,
We are using .net5, Microsoft.SqlServer.Types is not supported in .NET Core.
Kindly suggest alternative which is supported in .NET Core.
We are using below code for CloudFileFeatureLayer and LayerDefinition.
LayerDefinition USTownshipAndRange = new LayerDefinition(“us_twnshp”, new RectangleShape(-178.285802, 71.468274, -80.031491, 25.138416),
GeographyUnit.DecimalDegree, 6, “http://thinkgeo-giseditor-cloudfilelayers-dev.s3-website-us-east-1.amazonaws.com/us_twnshp/ ”);
CloudFileFeat…
There is a function MakeValid() in v10 which makes a feature valid. but I can’t find it in v12.
Can anyone suggest an idea?
(I have an alternative solution which used SQLGeomtery)
Thanks
Frank