If you have an invalid geometry somewhere, aggregation fails. We can use GeoTools makeValid to get around this. Ideally this would be applied at shapefile upload, as that would be more efficient and would potentially lead to better centroid calculations as well.
If you have an invalid geometry somewhere, aggregation fails. We can use GeoTools makeValid to get around this. Ideally this would be applied at shapefile upload, as that would be more efficient and would potentially lead to better centroid calculations as well.