This repo now includes a `writers/geo` folder which contains the groundwork for conversion of skyway element data types to [geo](https://crates.io/crates/geo) types. This issue is meant to track progress on the GeoJSON writer, the first to use these geo type conversions. - [x] Convert nodes - [x] Convert ways - [x] Create polygons from ways if appropriate - [ ] Convert relations - [ ] Handle superrelations - [x] Handle multilinestrings - [ ] ~Merge connected ways in multilinestrings~ - [ ] Handle multipolygons - [x] Ring Assignment - [ ] Ring Grouping - [x] RG-1 Build containment matrix - [x] RG-3 Find rings not contained by any other ring - [x] RG-4 Find every ring contained by RG-3 ring but not any other - [ ] RG-5 Create polygons from inner rings with consistent tagging - [ ] RG-6 Merge connected inner rings - [x] Multipolygon creation - [ ] Gracefully (and predictably!) handle missing data, e.g. nodes missing from ways - [ ] Write some tests
This repo now includes a
writers/geofolder which contains the groundwork for conversion of skyway element data types to geo types.This issue is meant to track progress on the GeoJSON writer, the first to use these geo type conversions.
Merge connected ways in multilinestrings