-
Notifications
You must be signed in to change notification settings - Fork 50
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
SYNTAX FOR USING "importedGPX" : #90
Comments
You backslash is interpreted as an escape character (like with \n for newline or \t for tab). You need to either use “C:\\v.gpx” or r"C:\v.gpx” r = raw stain where \ is not taken as a escape character.
On Mar 22, 2024, at 13:19, mandeep255 ***@***.******@***.***>> wrote:
I am unable to pass a path for a valid file, I am using syntax "importedGPX" : "C:\v.gpx"
I get an error message
importedGPX = C:\v.gpx
Error: [Errno 2] No such file or directory: 'C'
can you help pl, thanks
—
Reply to this email directly, view it on GitHub<#90>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEYDF5JJLFTCLB23Y6DW5HLYZRY35AVCNFSM6AAAAABFDZDKBOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDGMBWGE2DANY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
Chris Harding
Associate Professor
Department of Geological & Atmospheric Sciences
Touchterrain.geol.iastate.edu<http://Touchterrain.geol.iastate.edu>
|
I tried with the following parameters separately I am getting the following messages in each case Warning: JSON decode Error for manual: "importedGPX": “C:\v.gpx” Expecting value: line 1 column 18 (char 17) (ignored) I must be doing something wrong! |
It’ll take some time before I can dig into the code. For now, how about this:
- copy the gpu file into the same folder that the python file your are running is in (I assume you’re running TouchTerracin_standalone.py, right?)
- change your config to "importedGPX": “v.gpx”. And see if that works
On Mar 24, 2024, at 01:52, mandeep255 ***@***.******@***.***>> wrote:
I tried with the following parameters separately
"importedGPX": “C:\v.gpx”
"importedGPX": r“C:\v.gpx”
I am getting the following messages in each case
Warning: JSON decode Error for manual: "importedGPX": “C:\v.gpx” Expecting value: line 1 column 18 (char 17) (ignored)
Warning: JSON decode Error for manual: "importedGPX": r“C:\v.gpx” Expecting value: line 1 column 18 (char 17) (ignored)
I must be doing something wrong!
regards
—
Reply to this email directly, view it on GitHub<#90 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEYDF5MQ46IAFQB66DPDOSLYZZZ27AVCNFSM6AAAAABFDZDKBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWG4YTIMJSGY>.
You are receiving this because you commented.Message ID: ***@***.***>
Chris Harding
Associate Professor
Department of Geological & Atmospheric Sciences
Touchterrain.geol.iastate.edu<http://Touchterrain.geol.iastate.edu>
|
I am using the web version! |
OK :). Well, sorry, that won’t work b/c I’ve not put any any hooks in for an upload to the browser for gpx files (like I did for uploading kms files). You could try the Colab version of the jupyter notebook:
In a browser where you are logged in with you Google account go to this: http://colab.research.google.com/github/ChHarding/TouchTerrain_for_CAGEO/blob/master/TouchTerrain_jupyter_starters_colab.ipynb
There’s an example of how to work with a gpx file (using a file in the stuff folder) so you could upload your file there and just change the name in the notebook cell accordingly.
On Mar 25, 2024, at 12:46, mandeep255 ***@***.******@***.***>> wrote:
I am using the web version!
—
Reply to this email directly, view it on GitHub<#90 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEYDF5INEBGP3HTZYS4ZHX3Y2BPHLAVCNFSM6AAAAABFDZDKBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJYGU3DCNZVGA>.
You are receiving this because you commented.Message ID: ***@***.***>
Chris Harding
Associate Professor
Department of Geological & Atmospheric Sciences
Touchterrain.geol.iastate.edu<http://Touchterrain.geol.iastate.edu>
|
I am unable to pass a path for a valid file, I am using syntax "importedGPX" : "C:\v.gpx"
I get an error message
importedGPX = C:\v.gpx
Error: [Errno 2] No such file or directory: 'C'
can you help pl, thanks
The text was updated successfully, but these errors were encountered: