blueherongis / Heron

An add-on for Grasshopper enabling the GIS functions of GDAL in Rhino 3d
MIT License
33 stars 20 forks source link

Error Importing USGS 3DEP DEM #44

Closed rchou-kpf closed 2 years ago

rchou-kpf commented 2 years ago

Hello, First of all, thank you for creating this amazing plugin!

I'm having issues importing USGS 3DEP DEM using the "Get REST Topography" Component -- Getting the 1. Solution exception:Index (zero based) must be greater than or equal to zero and less than the size of the argument list. Error.

Strangely enough, It had worked for me just a couple of weeks ago, and I have not modified the script since then.

Thank you for your help!

blueherongis commented 2 years ago

I'm glad you like it! What version of Heron are you running? And can you either post your definition or a screenshot?

rchou-kpf commented 2 years ago

Hi,

Of course. Please see attached. (Attaching gh file as a zip because .gh not supported on Github) I'm currently running Heron v 0.3.9 (Installed via Package Manager)

error

Heron_Import_DEM.zip

blueherongis commented 2 years ago

I see now that I had modified the 3DEP end point query to enable a custom SRS. This was done as part of the Heron SRS feature I'm currently working on where you can have Heron work in any SRS you'd like. The https://github.com/blueherongis/Heron/commit/390b71503765791c1f0b97e2a2955ca76585d79b commit that changed the query:

image

I have reverted back to get the 3DEP service working again. Let me know if this worked for you.

rchou-kpf commented 2 years ago

that solved it. Thank you!