Closed LLeBlanc110 closed 1 year ago
Hi Lainey, Try the cross section tool on the xs-update branch - DOI-USGS/gems-tools-pro at xs-update (github.com)https://github.com/DOI-USGS/gems-tools-pro/tree/xs-update Download from the green Code button, not the latest release. Please let me know how it goes. Once I get enough reports that it is working ok, I will merge it into the main toolbox.
-- Evan Thoms US Geological Survey, Alaska Science Center 4210 University Drive, Anchorage, AK 99508
From: Lainey L @.> Sent: Wednesday, June 21, 2023 11:11 AM To: DOI-USGS/gems-tools-pro @.> Cc: Subscribed @.***> Subject: [EXTERNAL] [DOI-USGS/gems-tools-pro] Syntax error, integer type in Project Map Data to Cross Section tool (Issue #61)
This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.
I ran the tool on a fully attributed gems gdb and this is the message returned -
There's only one cross section line in the CartographicLines feature class. There's already a feature dataset 'CrossSectionB' in the gdb from when I as messing around with the tool in ArcMap a couple years ago, does that mattter? Another question, the Pro tool specifies a "GeMS style geodatabase," how GeMS compliant does it need to be and do the attribute fields all need to be filled-in for the tool to work? I asked one of our mappers to run it on their gdb and they received the same error. I've attached the gdb that I ran the tool on, thanks for your help.
EulatonGeMSxsect.gdb.ziphttps://github.com/DOI-USGS/gems-tools-pro/files/11817964/EulatonGeMSxsect.gdb.zip
— Reply to this email directly, view it on GitHubhttps://github.com/DOI-USGS/gems-tools-pro/issues/61, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABJASO2DJH2AVJKNKMALPLTXMNBNPANCNFSM6AAAAAAZPF3IO4. You are receiving this because you are subscribed to this thread.Message ID: @.***>
@ethoms-usgs The tool runs, but it doesn't generate any spatial data, even when the 'Add surface profile' and 'Add frame' is checked, is that right? I ran with the token "eulaton2" without the surface profile and frame checked and it just generated tables, I ran again with "eulaton3" with those extras checked and it only generated tables again. And, the MapUnitPolys events table doesn't generate with the token.
I'm more familiar with the ArcMap version and pre-GeMS tools you built, so maybe I'm assuming this tool generates data that it actually isn't meant too...
Set the scratch workspace to something other than where you want the feature classes to end up. The tool needs a place to write intermediate datasets to and defaults to your default.gdb. Unless you check 'save intermediate data', the intermediate and final feature classes are deleted (I forgot to add code to track down the _evtbl tables) so if the input and scratch workspaces are the same, you end up with no feature classes.
I put that option on the parameter form for troubleshooting but I should probably remove it and just tell people to look in the default.gdb.
Ah ok, makes sense. I changed the workspace and everything ran as it should. Thanks!
Great!
I ran the tool on a fully attributed gems gdb and this is the message returned -
There's only one cross section line in the CartographicLines feature class. There's already a feature dataset 'CrossSectionB' in the gdb from when I as messing around with the tool in ArcMap a couple years ago, does that mattter? Another question, the Pro tool specifies a "GeMS style geodatabase," how GeMS compliant does it need to be and do the attribute fields all need to be filled-in for the tool to work? I asked one of our mappers to run it on their gdb and they received the same error. I've attached the gdb that I ran the tool on, thanks for your help.
EulatonGeMSxsect.gdb.zip