georust / geozero

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

end to end PostGIS example #4

Closed michaelkirk closed 3 years ago

michaelkirk commented 3 years ago

I see there is a WKB reader/writer and the README mentions support for PostGIS, but it's not obvious to me how to actually wire everything up.

Is there a working postgis example somewhere?

pka commented 3 years ago

Currently, examples are hidden in tests like https://github.com/georust/geozero/blob/master/geozero-core/tests/postgis.rs#L30

Will add a top-level chapter for it after implementing a geo-types reader, which is needed for PostGIS writing.

pka commented 3 years ago

https://github.com/georust/geozero#postgis-usage-examples

michaelkirk commented 3 years ago

Excellent - thank you!