LocalData / localdata-api

API/server for LocalData
http://localdata.com/
BSD 3-Clause "New" or "Revised" License
20 stars 14 forks source link

Use a bbox polygon for the indexed geometry #291

Closed prashtx closed 9 years ago

prashtx commented 9 years ago

For consideration. Useful but not ultra-thorough performance comparison of tileserver performance (both warm and cold cache) using the old method and the proposed method: http://git.io/jMf4

This should also eliminate issues with degenerate, malformed, and otherwise difficult geometries. As always, we preserve the original geometry and only use this code to created a separate geometry for indexing, which means we can change the algorithm at will and recreate the indexed field as a maintenance operation.