DOI-USGS / gems-tools-pro

GeMS Tools for ArcGIS Pro
Creative Commons Zero v1.0 Universal
49 stars 15 forks source link

cross section tool #123

Closed LindaTedrow closed 3 days ago

LindaTedrow commented 4 days ago

The cross section tool (Project Map Data to Cross Section), is not working. If I try in ArcMap or ArcPro cannot get it to run.

In ArcMap the error has to do with data not intersecting cross section line; which is technically false. In ArcPro there seems to be a syntax error.
File "", line 1 01 ^ SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers Traceback (most recent call last):  File "C:\Users\ltedrow\GitHub\gems-tools-pro\Scripts\GeMS_ProjectCrossSectionData.py", line 347, in  arcpy.CalculateField_management(tempXsLine, idField, "01", "PYTHON3")

I have tried different rasters, different cross section lines, several variations; all to no avail.

suggestions?

ethoms-usgs commented 4 days ago

First, are you using the tool on the xs-update branch? That has the most up-to-date version.

LindaTedrow commented 4 days ago

I do not know; so perhaps not.

From: Evan Thoms @.> Sent: Wednesday, November 20, 2024 12:24 PM To: DOI-USGS/gems-tools-pro @.> Cc: Tedrow, Linda @.) @.>; Author @.***> Subject: Re: [DOI-USGS/gems-tools-pro] cross section tool (Issue #123)

First, are you using the tool on the xs-update branch? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread. Message ID: DOI-USGS/gems-tools-pro/issues/123/2489475952@ github. com

First, are you using the tool on the xs-updatehttps://urldefense.com/v3/__https:/github.com/DOI-USGS/gems-tools-pro/tree/xs-update__;!!JYXjzlvb!nencT4mk147AeOo3Tz4HsdxGK2ZgTDF_oLujfyEu5ad8M4Orn5gGUSfeTAAv0DWgowYklGmEQaM23frZng85gMowcw$ branch?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/DOI-USGS/gems-tools-pro/issues/123*issuecomment-2489475952__;Iw!!JYXjzlvb!nencT4mk147AeOo3Tz4HsdxGK2ZgTDF_oLujfyEu5ad8M4Orn5gGUSfeTAAv0DWgowYklGmEQaM23frZng_ItukHmg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AKYEVB6KLICEB3DV766EMC32BTVUHAVCNFSM6AAAAABSFMQHCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBZGQ3TKOJVGI__;!!JYXjzlvb!nencT4mk147AeOo3Tz4HsdxGK2ZgTDF_oLujfyEu5ad8M4Orn5gGUSfeTAAv0DWgowYklGmEQaM23frZng-Ef5zmHg$. You are receiving this because you authored the thread.Message ID: @.**@.>>

ethoms-usgs commented 3 days ago

Ok, then you probably aren't. Download the toolbox from that branch and try that version of the tool. Use only that tool there, many of the others are out-of-date on that branch, so keep that copy separate from a copy of the latest release. I have been holding off merging it into the main branch until I hear that it's mostly working for people.

LindaTedrow commented 3 days ago

Hi Evan

Yes, you are correct. I have downloaded and run. It does work! The “Extras” are interesting. We have a process that we use for this that I built prior to GeMS that builds a frame and a set of tick intervals.

Hopefully, with this new tool we will be able to stream line the previous process.

Thank you,

Linda

From: Evan Thoms @.> Sent: Thursday, November 21, 2024 8:34 AM To: DOI-USGS/gems-tools-pro @.> Cc: Tedrow, Linda @.) @.>; Author @.***> Subject: Re: [DOI-USGS/gems-tools-pro] cross section tool (Issue #123)

Ok, then you probably aren't. Download the toolbox from that branch and try that version of the tool. Use only that tool there, many of the others are out-of-date on that branch, so keep that copy separate from a copy of the latest release. 

Ok, then you probably aren't. Download the toolbox from that branch and try that version of the tool. Use only that tool there, many of the others are out-of-date on that branch, so keep that copy separate from a copy of the latest release. I have been holding off merging it into the main branch until I hear that it's mostly working for people.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/DOI-USGS/gems-tools-pro/issues/123*issuecomment-2491719433__;Iw!!JYXjzlvb!gf9CJGBaFADuhVnffQcqTzZNzIWSpigyywNgLdc7mWvt6RjXdkL60mBe61iXVJ3Ic_08xNW9QnWhdo0aKt4dk6Rw1w$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AKYEVB2B7RBFQ2FTTFKK7O32BYDPPAVCNFSM6AAAAABSFMQHCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJRG4YTSNBTGM__;!!JYXjzlvb!gf9CJGBaFADuhVnffQcqTzZNzIWSpigyywNgLdc7mWvt6RjXdkL60mBe61iXVJ3Ic_08xNW9QnWhdo0aKt7JVSqbWQ$. You are receiving this because you authored the thread.Message ID: @.**@.>>

ethoms-usgs commented 3 days ago

Great! good to know.