[mapserver-users] Which is fastest? finding nearest point, or polygon?

2011-05-17 Thread Trond Michelsen
Hi. I have a pointlayer with about 1 points (will probably become 25000 later), and I want to find the nearest point when I click in the map. To solve this, I've loaded the layer into qgis, and using the mmqgis plugin, I created a voronoi diagram layer. I'm now serving this layer with

Re: [mapserver-users] Which is fastest? finding nearest point, or polygon?

2011-05-17 Thread Mark Korver
1. Can mapserver find the nearest point directly? If so, how do I set it up? normally this would be PostGIS query as in http://osgeo-org.1803224.n2.nabble.com/get-the-closest-feature-in-a-point-query-td5819760.html 2. Is this faster than finding the polygon the click is inside? I would