digidem / mapeo-core

Library for creating custom geo data and syncronizing via a peer to peer network
23 stars 2 forks source link

chore: Add tests for shapefile export #110

Open gmaclennan opened 3 years ago

gmaclennan commented 3 years ago

mapeo.exportData({ format: 'shapefile' }) will export a Zip archive containing the files that make up a shapefile. This functionality does not currently have any tests. We should test and compare against a fixture and/or re-converting the shapefile back to GeoJSON to check it matches. We should manually test a fixture in QGIS to check it works. We should test with accented characters in both property names and values, and long property names (tag names) to check how Shapefile export handles that.

hackergrrl commented 3 years ago