mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 18:05:42 +02:00
More readme clarifications and examples
This commit is contained in:
@@ -10,6 +10,11 @@ Usage
|
|||||||
|
|
||||||
If the file is not specified, it reads GeoJSON from the standard input.
|
If the file is not specified, it reads GeoJSON from the standard input.
|
||||||
|
|
||||||
|
The GeoJSON features need not be wrapped in a FeatureCollection.
|
||||||
|
You can concatenate multiple GeoJSON features or files together,
|
||||||
|
and it will parse out the features and ignore whatever other objects
|
||||||
|
it encounters.
|
||||||
|
|
||||||
Options
|
Options
|
||||||
-------
|
-------
|
||||||
|
|
||||||
@@ -23,7 +28,9 @@ Options
|
|||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
|
|
||||||
tippecanoe -o alameda.mbtiles -l alameda -n "Alameda County from TIGER" -z12 -d14 tl_2014_06001_roads.json
|
tippecanoe -o alameda.mbtiles -l alameda -n "Alameda County from TIGER" -z13 tl_2014_06001_roads.json
|
||||||
|
|
||||||
|
cat tiger/tl_2014_*_roads.json | tippecanoe -o tiger.mbtiles -l roads -n "All TIGER roads, one zoom" -z12 -Z12 -d14
|
||||||
|
|
||||||
Geometric simplifications
|
Geometric simplifications
|
||||||
-------------------------
|
-------------------------
|
||||||
@@ -42,10 +49,14 @@ in some places), so I need to figure out an equitable way to throw features away
|
|||||||
It also throws away any polygons that are too small to draw. I'm not sure yet
|
It also throws away any polygons that are too small to draw. I'm not sure yet
|
||||||
if it is appropriate to do more than that.
|
if it is appropriate to do more than that.
|
||||||
|
|
||||||
|
It should consolidate features in the same tile that share the same type and attributes,
|
||||||
|
to make the tile data smaller, but doesn't do that yet.
|
||||||
|
|
||||||
Development
|
Development
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
Requires protoc (brew install protobuf), protobuf-lite, and sqlite3. To build:
|
Requires protoc (brew install protobuf or apt-get install libprotobuf-dev),
|
||||||
|
and sqlite3 (apt-get install libsqlite3-dev). To build:
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user