Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: return only features of a shapefile layer that's in the extent

$
0
0
Extent boundingBox = App.Map.MapFrame.Extent;
List<IFeature> visibleFeatures = ((FeatureSet)myLayer.DataSet).Select(boundingBox);
I tried the following code and it returns an incorrect number of visibile points. Is there an extent I should use rather then the mapframe?

Viewing all articles
Browse latest Browse all 3973

Trending Articles



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