clarisma / geodesk-py

Fast and storage-efficient spatial database engine for OpenStreetMap data
https://docs.geodesk.com/python
GNU Lesser General Public License v3.0
36 stars 0 forks source link

`Formatter`: Support single-type collections #38

Open clarisma opened 10 months ago

clarisma commented 10 months ago

As of 0.1.5, Formatters output geometry collections.

However, we should detect if a collection is homogeneous and output them as MultiLineString or MultiPoint instead of a generic GeometryCollection, to match the behavior of the GOL Tool.