twpayne/go-geobabel

Add `*geos.Geom` type checks

twpayne opened this issue · 0 comments

Currently the NewXFromGEOSGeom functions don't check geosGeom.TypeID(). They should, and they should panic if the received geos.TypeID does not match the expected value.