.NET Mapcontrol with custom .shp file
Posted: Wed Sep 14, 2016 10:47 am
Hello everbody,
One of our customers who is more experienced with the .NET Mapcontrol (Logicx) is trying to implement a .shp file with specific geographic data into the Mapcontrol for display purposes. The original .shp file works well, however it contains too much information for their use-case and has a negative influence on the zooming/panning speed. Therefore we used QGIS to extract the needed data from this .shp file (4ppc.zip, see attached) into a new custom .shp file (logicx.zip, see attached), sufficient for their use-case.
However, when using the "Show a Shape File Content" from the .NET Mapcontrol Documentation and trying to display the custom "logicx" .shp file, an error message appears (see attached).
the variable sharpMap isn't null, the exception appears when using the GetMap method in the dll.
Can you reproduce this locally, and possibly find out if it has to do with our custom .shp file? Or is there another way to get our custom .shp file working?
thanks in advance,
One of our customers who is more experienced with the .NET Mapcontrol (Logicx) is trying to implement a .shp file with specific geographic data into the Mapcontrol for display purposes. The original .shp file works well, however it contains too much information for their use-case and has a negative influence on the zooming/panning speed. Therefore we used QGIS to extract the needed data from this .shp file (4ppc.zip, see attached) into a new custom .shp file (logicx.zip, see attached), sufficient for their use-case.
However, when using the "Show a Shape File Content" from the .NET Mapcontrol Documentation and trying to display the custom "logicx" .shp file, an error message appears (see attached).
the variable sharpMap isn't null, the exception appears when using the GetMap method in the dll.
Can you reproduce this locally, and possibly find out if it has to do with our custom .shp file? Or is there another way to get our custom .shp file working?
thanks in advance,