paulmach / go.geo

Geometry/geography library in Go, DEPRECATED, use ->
https://github.com/paulmach/orb
MIT License
330 stars 55 forks source link

Fix MultiPoint scan into PointSet from WKB #53

Closed regeda closed 7 years ago

regeda commented 7 years ago

MultiPoint should be parsed in different approach according to the doc https://www.ibm.com/support/knowledgecenter/en/SS6NHC/com.ibm.db2.luw.spatial.topics.doc/doc/rsbp4121.html

paulmach commented 7 years ago

Thank you for the fix.

I don't have easy access to a postgres instance these days so am unable to test it myself. But the changes are necessary and look good.