I am reading a shapefile in Python using geopandas, join some tabular data and export to geopackage using geopandas.

The entire process is very easy. However, when I export the vector data, the file is quite large and contains unnecessary details. Comparing the process to raster data, I can choose a data type e.g. Unsigned Integer 32, Float 64, Boolean etc.

Is there something similar for the geopackage format? Currently my vertices have the following format (examaple of one coordinate, file contains multipolygons): 31.90590570688292, 29.85788703615783

How can I store the vertices using 32bit precision for each coordinate? Ideally the answer would be in python (and geopandas / fiona)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.