osm2streets icon indicating copy to clipboard operation
osm2streets copied to clipboard

Java API: Ability to input OSM data via primitive types instead of an XML string

Open BudgieInWA opened this issue 2 years ago • 0 comments

In order to avoid serialising the OSM data into XML in Java just to deserialise it in Rust, we should provide the ability to get OSM data into StreetNetwork from a collection of floats and strings.

My idea is to create bare-bones Java types to represent the OSM nodes and ways and translate them into an osm_reader::Document in osm2streets-java.

BudgieInWA avatar Feb 16 '23 11:02 BudgieInWA