Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Clip two Shape with Mapwingis : Resulting shapefile has no shapes?

$
0
0
Hi, "sfInput give Resulting shapefile has no shapes " means that there is no intersection between your shapefiles. Whether it's true or not I don't know without seeing them.

Some tips:
  • AxMap.get_Shapefile() accepts layer handle which isn't necessarily equal to selected index in combobox (though it might be so). But the proper way to get layer handle is:
int layerHandle = axMap1.get_LayerHandle(layerPosition); 
// or
int layerHandle = axMap1.AddLayer(sf, true);
  • make sure that you are processing shapefiles you are intended to, by opening them directly; check if it works with some other shapefiles, we have some here;
  • if you are using latest version (4.9.3), you should use GlobalSettings.ApplicationCallback as described here. It can give more info about the problem;
  • if you are reasonably sure that you spotted a bug, please provide sample data so we can reproduce and fix it.
Regards,
Sergei

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>