georust / geozero

Zero-Copy reading and writing of geospatial data.
Apache License 2.0
352 stars 37 forks source link

Add support for reading and writing polylines #215

Open frewsxcv opened 4 months ago

frewsxcv commented 4 months ago

https://github.com/georust/polyline

michaelkirk commented 4 months ago

Polyline is a bit different from the other geometry formats we've supported thus far. Primarily it's only for encoding a single line string.

Some outstanding questions:

  1. Do we handle multi line strings? (and how?)
  2. What do we do for other geometries?
frewsxcv commented 4 months ago

Agreed the writing behavior would need to be discussed, but (I think?) the reading behavior seems pretty straightforward. Read the string, write linestring(s) as the output.