rust-transit / osm4routing2

Extract a street network from Openstreetmap as a graph ready for routing
MIT License
80 stars 17 forks source link

Add GPKG outfile file option #30

Open latot opened 11 months ago

latot commented 11 months ago

Hi! GPKG is a format to store spatial data, you can write your own geometries with WKB, instead write them as text, you have them there as geometries.

Also GPKG stores as database, has layers, which is ideal to save in one file nodes and edges as two related different layers.

Thx!

Tristramg commented 11 months ago

You are right, handling a more universal format would be a nice thing.

I’ll have a look if there are quick rust crates to write a gpkg file when I have some spare time.