developmentseed / developmentseed/osm-gradient

Write parser OSC > FGB

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Write now we parse OSC files into json using `osm-adiff-parser`, then geojson using `real-changesets-parser` and then roll up the files into one geojson and use Ogr2Ogr to create an FGB for each time resolution.

To avoid the intermediary steps, it would be interesting to build a Rust parser that reads in OSC XML and automatically packs features into FGBs. We could use [FGBwriter](https://docs.rs/flatgeobuf/latest/flatgeobuf/struct.FgbWriter.html#method.add_feature_geom) and Geozero on the write side, but we would still need to implement `adiff-parser` using a custom XML to Feature parser.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.