-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error exporting data from OpenSGID to a new feature class in ArcGIS Desktop 10.8.1 #22
Comments
would you provide
thanks! |
@gregbunce can we reproduce this? |
I have been able to reproduce this in at least one scenario. I will edit this as I dig more. It appears to be related to the spatial index (https://support.esri.com/en/technical-article/000015090) and how this works with how the Open SGID's source layer is added to the map (specifically, whether you let it calculate the extent or just use the spatial reference's extent). |
Ok, these errors are really random, I've not been able to pin down a workflow that is 100% reproducible. The best I've got is to add an Open SGID layer to the map, choose "Use Spatial Reference Extent", select and export and add to map, remove the Open SGID layer, add the Open SGID layer back but this time let it calculate the extent, and then try select and export. This maybe fails 50% of the time. Talking with Michael, it seems like ArcMap does something to divine the spatial index grid settings for the output dataset (because PostGIS doesn't store the Esri spatial index like an SDE db would), and sometimes it gets it wrong and thus causes the export to fail (see https://support.esri.com/en/technical-article/000015090 and https://gis.stackexchange.com/questions/84317/exporting-data-from-oracle-to-esri-file-geodatabase-grid-size-error). Once I start getting the error, I've tried manually setting the grid size variables but it keeps giving me the error until I close/reopen the map. I've not been able to reproduce the error on ArcGIS Pro. It may handle the extent differently- after asking for the spatial extent of the Open SGID layer the first time I add it to a map, it doesn't ask for it again even if I remove the layer. @gis4ag , does it makes sense in your workflow to just export the entire county layer once and then work off of that locally? |
Yes, I have sometimes exported the entire layer as a workaround. I think that would work in most cases. It's the randomness of the error that is frustrating. I'll keep a closer eye on the workflow at my end to see if I can find a clue as to what's happening. Thanks so much for looking into this! |
Yeah, the randomness is definitely annoying. I'm sure there's something specific buried deep in ArcMap that triggers it, but given Esri's push towards Pro I'm not sure we'll have much luck getting to the bottom of it with them. |
About half the times I try to download data from OpenSGID, I get the following error:
It always works eventually, although it can take several tries. Any thoughts on what might cause this? In the example above, UtahParcels is the feature class I'm trying to extract data to.
Thanks for your help!
The text was updated successfully, but these errors were encountered: