-
Notifications
You must be signed in to change notification settings - Fork 5
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
Directional mask "Direction field" drop-down doesn't recognise integer fields (Standalone GCD) #402
Comments
Looking at things from the ESRI side (Arc 10.7.1): A couple of interesting things to note:
I added new fields to the attribute table from within Arc:
for whatever reason, both appear as "long' in the field properties However, when I go back to Standalone GCD.... voila: I'm happy to hear thoughts on why this might be. And would be substantially happier if I could skip Arc altogether :-) Cheers! |
I will leave this ticket open for when we have budget to investigate... but for now I will say the following:
Thanks again for reporting this issue so thoroughly. |
Cheers for the lead Philip. It's unfortunate a dbf can't just be a dbf. Your post prompted me to find this: While the ESRI article doesn't get into it, I'd think that if such a local registry change were made that was consistent with ESRI-flavoured dbfs, there should be a way to point shapely/geopandas to it during export. The workaround I noted above is acceptable for now as I still have access to an Arc license. However, I'd be keen to see this addressed on the GCD side at some point (perhaps a matter of the making the control for the drop-down box inclusive of files with the broader IBM standard?). Best Regards |
For python-based solution without deviating through Arc, see following reply to a question I posed on StackExchange: https://gis.stackexchange.com/a/404916/17482 I have confirmed that it works for my file. |
Yes, thanks @fluviotect for providing such a great trail of how to deal with this. @philipbaileynar this re-enforces the decisions we've since made to go to geopackages and keep working outside ESRI. It would be fun someday to get GCD refactored for QGIS, but I don't see that as a funded priority for some time. |
The drop-down box for "Direction field" doesn't populate in Standalone GCD 7.5.0.0
Field structure looks like:
'ID' and 'area_m' are native to the shp (originally created with shapely v1.7.1 in Python 3.9.5). Additional fields added in QGIS 3.20.
My guess is it's an encoding issue and/or something specific to building a shp outside of an ESRI environment.
I'll try and import/export through Arc and report back.
Cheers
The text was updated successfully, but these errors were encountered: