New answers tagged

0

As suggested by @KirkKuykendall: Instead of using new MxDocumentClass to start arcmap.exe, you might try the more customary way ... using ProcessStartInfo with ProcessWindowStyle.Minimized, then Process.Start. Then listen to AppROTEvents.AppAdded to get an IApplication reference.


1

I've debugged the issue thoroughly and found the route cause. GDAL library itself returns correct value as a pointer to the attribute string, but the C# bindings, generated by SWIG, have some strange code that truncates valid UTF-8 string into a broken one. It may be because we use an outdated GDAL.Core Nuget package, or the issue is in the binding itself. ...


0

Check your environment_variable: setx GDAL_DATA "C:\Program Files\GDAL\gdal-data" setx GDAL_DRIVER_PATH "C:\Program Files\GDAL\gdalplugins" setx PROJ_LIB "C:\Program Files\GDAL\projlib" setx PYTHONPATH "C:\Program Files\GDAL\"


1

ITopologicalOperator.Difference is behaving correctly. The issue is that the SpatialQuery is not returning the expected feature. The following query returns at least two if not all three blue features in the screenshot above: ISpatialFilter spaFil = new SpatialFilterClass(); spaFil.Geometry = mergedSUOFeature.Shape; spaFil.GeometryField = publicHighwaysFC....


-1

LINZ has an online converter on their website.


Top 50 recent answers are included