Closed aazaff closed 6 months ago
Before I dig into this, can you try to upload the gdb again? Or get it to me, so I can try.
We're using a newer version of ogr2ogr in the AL2 server. Just want to make sure this is still a problem.
Okay. We found a workflow in ESRI ArcGIS Pro to identify specific features with this problem and then correct them within Arc (detailed below). However, it is not as simple as a few clicks -- we have to then re-run all the other validations, update metadata, and then re-upload the updated gdb everywhere.
As far as I know for the moment this is a unique (or at least very rare) error that only affects Florence Junction gdb. So, for now, we will just leave things as they are and the GIS team will get to manually correcting the geodatabase when we have some breathing room. If we find that many other gdbs get this same error then we will re-asses.
Closing for now.
That's good to hear! Can you attach a corrected copy here, so I can try it out?
We only corrected the table/layer MapUnitPolys as part of our testing, so you might get the same error but from other layers.
Works like a charm.
I encountered an error when uploading the gdb for https://library.azgs.arizona.edu/item/ADGM-1669142295432-313
Error: Warning 1: Geometry to be inserted is of type Multi Surface, whereas the layer geometry type is Multi Polygon.
Here is a stack overflow question that i think is relevant (https://gis.stackexchange.com/questions/259442/unable-to-upload-large-vector-file-to-postgis-errorgeometry-type-multisurface) and here is the JS that I think is relevant from our db scripts (https://github.com/azgs/azlibrary_database/blob/master/azlibAdd/gdb.js)
As a temporary measure I simply did not upload the gdb and just uploaded the gpkg and kmz.