felt / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
875 stars 76 forks source link

feat: enable usage of csv files with wkt geometries #237

Open maxnowack opened 2 months ago

maxnowack commented 2 months ago

This PR implements the parsing of WKT strings (Point, LineString and Polygon) in CSV files (from columns named geometry or wkt). I kept the original behaviour using latitude and longitude columns to ensure backwards compatibility. I also added a new test case.

I'm a experienced developer, but more or less a rookie in c++. So please review my changes carefully.