Hi @djordje and @Brian_Washburn ,
I’ve been testing how Gismo and Heron can be used together in a terrain workflow, particularly for georeferencing and spatial reference in Rhino 8.
The workflow I’m exploring is:
Gismo Terrain Generator → Heron geographic/spatial reference → Gismo Terrain Analysis
For a Mt. Fuji test location (35.3606, 138.7274), I first confirmed that Gismo’s Terrain Generator internally uses EPSG:32654 — WGS 84 / UTM zone 54N.
I was also able to connect the origin from Gismo’s Terrain Generator and the latitude/longitude from the Gismo location to Heron’s Set EarthAnchorPoint. The Earth Anchor Point was correctly stored in the Rhino document and remained there after saving, closing, and reopening the .3dm file.
However, I noticed an execution-order-dependent issue when using Gismo Terrain Generator and Heron Set Spatial Reference System (SetSRS) in the same Rhino 8 session.
Case 1 — Gismo first
Gismo Terrain Generator runs correctly, but when I then run Heron SetSRS, it returns:
The type initializer for 'OSGeo.OGR.OgrPINVOKE' threw an exception.
I also tested EPSG:4326 and received the same exception, so the issue does not appear to be specific to EPSG:32654.
Case 2 — Heron first
Heron SetSRS correctly recognizes EPSG:32654 as WGS 84 / UTM zone 54N, but when I then run Gismo Terrain Generator, it returns:
Solution exception: index out of range: 0
Both components work correctly on their own.
I then found the earlier 2018 discussion about using Gismo and Heron together and the related GDAL/PInvoke issue:
Gismo and Heron matching
I retested the workaround described there in my current Rhino 8 environment.
This time I:
- Disabled both the main Gismo Gismo initialization component and Terrain Generator.
- Saved the Grasshopper definition and completely restarted Rhino 8.
- Opened the definition with Gismo still disabled.
- Ran Heron SetSRS with
EPSG:32654first. - Enabled the Gismo Gismo component.
- Enabled Terrain Generator.
- Ran Terrain Analysis.
With this sequence, everything worked correctly in the same Rhino 8 session. Heron SetSRS recognized EPSG:32654, Gismo generated the Mt. Fuji terrain, the Earth Anchor Point was set correctly, and Gismo Terrain Analysis also completed successfully.
So the older workaround still appears to be effective in my current Rhino 8 setup, as long as the main Gismo Gismo initialization component is also disabled before Rhino is restarted.
I’m now curious about what is happening internally.
Does this behavior come from the order in which Gismo and Heron initialize or load their GIS runtime dependencies? Since both plugins work independently, but the behavior changes depending on their initialization order, I’m also curious whether this is the same underlying issue discussed in 2018, or whether something has changed with the current versions of Rhino, Gismo, and Heron.
I’d be very interested to hear your thoughts on what might be happening internally.
Thanks again, Djordje. Brian, if you have a chance to take a look, I’d really appreciate any perspective from the Heron side.
Kensuke Nakata





