Releases: DOI-USGS/gems-tools-pro
v2.5.3
Changes to Topology Check
- Increased length of Type in _Topology geodatabase from 100 to 500 for longer concatenations
- fixed bug of conList.sort() not sorting CAF_arc class objects. It was possible at Python 2.7, but Python 3 is less forgiving.
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.5.2
ValidateDatabase tool now accepts pipe-concatenated SourceIDs. You can relate multiple data sources (or any type of source) to a single feature or table row so long as the foreign field ends in 'SourceID', eg. DataSourceID, MethodSourceID, DescriptionSourceID, etc.
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.5.1
Edits to error messages in Fix Strings tool to include the general exception thrown by python during execution of a try/except block. The tool no longer reports the field values that it will try to update; that seems too verbose, it only reports if an error is encountered when trying to update a row.
Issue 11 describes a problem that doesn't have a solution yet; trying to update rows with an update cursor may throw an error if there is an attribute rule on the field with a message similar to
Failed to evaluate Arcade expression. [
Rule name: Calc _ID,
Triggering event: Update,
Class name: MapUnitLines,
GlobalID: ,
Arcade error: Field not found GlobalID,
Script line: 1]
In this case, the field GlobalID
does exist. The workaround for now is to disable the attribute rule.
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.5
Added the Fix string values tool to the toolbox. Issue 11.
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.4.8
In validate database tool:
- Now using
__file__
to find path to script file and relative directories from it instead ofsys.argv[0]
, which was not working. Would have to explore the issue more to understand why. I believe this means that the script will not work if imported into another script as a module, but this situation is probably unlikely. - Calling mp.exe through subprocess instead of
os.system(command)
which was not handling spaces in paths well. - fixed checkVersion being called too early in Attribute By Key Values
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.4.7
Bug fixes to Validate Database tool.
- changed functions notEmpty and empty to evaluate str(x) instead of just x so that we could look for value of x.strip() when x is an integer. Will converting x to string ever return an unexpected value?
- added try/except block when checking for editor tracking because there's a chance the method didn't exist for pre 2.6 versions of AGPro
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.4.6
Add ContactsAndFaults.lyrx to Resources folder
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.4.5
MapUnit in GenericPoints in Defnition.py is now NullsOK, per issue 69 at ArcMap repo. This now matches the standard.
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.4.4
RelationshipClasses script had the wrong raw url for checkVersion function to work.
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file
v2.4.3
Topology errors gdb was not getting written to an output directory, if specified.
Both assets contain the same files. Choose the .zip version unless you have a specific reason to use the .tar.gz file