0.14.0 • Published 8 years ago

preprocessorcerer v0.14.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

Preprocessorcerer

Build Status Coverage Status

wip Makes magical adjustments to geospatial files

Usage

perform-preprocessorcery /some/folder/file.tif
# {"outfile":"/some/folder/eddd5fb92364d75d","parts":1,"descriptions":["Reproject TIFF file to EPSG:3857"]}

Potential Preprocessorcery

This table lists the various preprocessing steps that a file might undergo. These steps are written in the preprocessors folder, each file representing a distinct preprocessing step. Each preprocessor exposes a criteria function that determines whether or not it should act on the incoming file. The order of this list is the order in which preprocessors would be applied to any single file that matches multiple criteria.

preprocessorcriteriadescription
tif-toBytesTIF file with 16-bit pixelsScale 16-bit TIFF files to 8-bit
tif-reprojectTIF file that is not in EPSG:3857Reproject TIFF file to EPSG:3857
tif-overviewsTIF fileGenerate overviews for TIFF files
shp-indexShapefile that has no mapnik indexAdd a spatial index to shapefile
geojson-bomGeoJSON string with a BOM charRemove a byte-order-mark from a geojson string
spatial-indexGeoJSON or CSV has no mapnik indexAdd spatial index (*.index) to GeoJSON or CSV

Part Splitting

splittercriteriadescription
mbtiles-byTilesmbtiles file100,000 tiles per part, up to 50 parts max
serialtiles-byTilesserialtiles file200,000 tiles per part, up to 50 parts max
defaultnone of above criteria matchedSplit into parts based on file size
0.14.0

8 years ago

0.13.4

8 years ago

0.13.3

8 years ago

0.13.2

8 years ago

0.13.1

8 years ago

0.13.0

8 years ago

0.12.0

8 years ago

0.11.0

8 years ago

0.10.2

8 years ago

0.10.1

8 years ago

0.10.0

8 years ago

0.9.3

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago

0.8.0

9 years ago

0.7.0

9 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.5

9 years ago

0.4.4

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago