[mapserver-users] Shapefile spatial index challenge

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Thu Oct 22 01:07:36 PDT 2015


Hi,

I am not sure what you are aiming at. Your shapefile has 9 features. Shptree documentarion says “The quadtree method breaks the file into 4 quadrants, recursively until only a few shapes are contained in each quadrant”. I guess that with the current shptree code it is impossible to build quadrants so that they would contain less than one feature.

What actually is your issue? Perhaps there is something else to improve than fiddling with the indexing of partial features.

-Jukka Rahkonen-


Lydon Chandra wrote:

Hi List,

How can we generate more quadrants for the spatial index for the Australia polygon below ?

Using MapServer shptree, even forcing it to go to 50 level deep, the spatial index does not have more quadrants.

More data and details at:
http://www.evernote.com/l/AhrYASBGtqVOkJn0BLqZkceADvOsA_UBfvY/





Kind Regards,
Don




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151022/2704257e/attachment.html>


More information about the mapserver-users mailing list