Hi @Brian_Washburn I’m having some funny issues with the export vector component. when I set it up with the default WSG84 SRS everything seems to work fine. When I swap it out for EPSG: 32614 I get this error out of the export vector component “1. Solution exception:The GeoJSON driver does not overwrite existing files.”
Interestingly, once I’ve had the error I can’t go back and get it to work again without closing rhino and grasshopper. Even when trying to rebuild in a new script.
I just installed the 4.4 version from the package manager.
Any help or advice would be appreciated.
Thanks,
Nate
not working EPSG32614.gh (12.7 KB)
working EPSG4326.gh (12.5 KB)
Hi @Nate_Holland This is indeed a funny issue. I think the issue might be related to not setting an Earth Anchor Point. If the EAP is not set or is 0 lat / 0 lon, Heron will interpret the geometry, which is close to Rhino’s origin, to be far outside the coordinate system of EPSG:32614. When ExportVector runs the first time, it fails and throws an error related to points being outside the coordinate system. But when it fails, it appears ExportVector doesn’t have a chance to dispose of the temporary geojson file it creates when collecting the data for export. So when you try to run it again, you get stuck in the error of not being able to overwrite the temporary file.
Can you try to set Rhino’s origin to that of EPSG:32614 using the SetEAP component as shown below (or an EAP that is close to the data you’re trying to export)?
-Brian
Your brilliance continues to amaze me! That solved the issue and now I’m good to go. Thank you for the quick response!
1 Like