mapbox / preprocessorcerer

Perform preprocessorcery and pick parts on particularly persnickity uploads
ISC License
12 stars 8 forks source link

Implement --index-parts for shapefiles #58

Closed GretaCB closed 8 years ago

GretaCB commented 8 years ago

Add Mapnik's --index-parts flag for all shapefile preprocessing.

To quote @BergWerkGIS 's comments:

It's useful:

--index-parts should help if there are multipart features like this:

 ______________________________
|   _       _   _              |
|  |_|   _ |_| |_|             |
|       |_|                    |
|                              |
|             _                |
|      _     |_|               |
|     |_|                      |
|                              |
|                _   _         |
|               |_| |_|        |
|     _             _          |
|    |_|           |_|         |
|                              |
|______________________________|

And to quote @springmeyer 's comments:

My understanding is that --index-parts is fine to use in all cases. No major slowdowns on non-multipart features are anticipated, but speedups for multipart features should be seen.

mapsam commented 8 years ago

@GretaCB looks like this can be closed since https://github.com/mapbox/preprocessorcerer/pull/59/files is merged?

GretaCB commented 8 years ago

👍 totes, thank you! Closing.