I’ve found the select by polygon functionality doesn’t seem to work properly, at least with point shapefiles. If you try and use it on one of these it may select the correct nodes the first time, but generally if you then do another selection it doesn’t work - either selecting not enough points, too many points, or points nowhere near the actual selection. I am using MapWinGIS 4.9. I’ve also confirmed it doesn’t work properly in MapWindow 5 either, so it’s not my code.
Addendum: It seems the more points you add in the selection, possibly with shorter distances between them, the better it works.
Thanks for the response. I think it’s going to be difficult to put together a meaningful code example, but as I mentioned it doesn’t work in MapWindow 5 (the desktop product), so you should be able to see it for yourself there…
I’ve created a video of the select by polygon not working in the link below (I also include the shapefile used in the test). You’ll see the first selection does not work properly, the second does work and the third does not:
Many thanks for that. I’m not setup to build MapWinGIS, so I’d really appreciate it if you could build it for me - as I have a small timescale to decide if I can keep this functionality in our software.
Thanks very much for doing that. I’ve tested it quite a lot and it seems to be working very well now which is great. Is it possible to have a 64-bit version (as that’s what we’re deploying)?