Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ RUN npm install -g geojsontoosm
RUN npm install -g geojson2poly
RUN npm install -g geojson-pick
RUN npm install -g @mapbox/geojson-merge
# https://github.com/tmcw/geojson-flatten
RUN npm install -g geojson-flatten

# Install osmconvert and osmfilter
RUN wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert
Expand Down
10 changes: 10 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -370,3 +370,13 @@ geojson-pick PROPERTYNAME1 < input.geojson > output.geojson
```
geokit dosm -d ayac.geojson --api=overpass --zoom=16
```


### [geojson-flatten](https://github.com/tmcw/geojson-flatten)

- Flatten multi geometries into normal geometries


```
geojson-flatten input.geojson > flattened.geojson
```