This component is opened as a reply to Aymeric Delmas’s questions posted in here.
However, following the install instructions and checking for the opentopography.org availability, the component does not seem to manage to download the data… (see picture attached).Djordje, do you have any idea about what I can I do or check to fix this?
I just tried to run the component for a couple of locations and it successfully downloaded the data from opentopography.org:
When did you try to run the component? An hour ago? Can you try again?
Other question, just to be sure, regarding the “origin_”, is it the central point that you to get out of the output mesh/surface? And does it need to be the point at the actual point elevation or does it need to be the point projected on the ground floor (as I do in my definition)?
Yes, you are correct about both things: it’s the central point and it will lie on the actual terrain (it will be projected to the terrain). The latitude and longitude information from the location input will be taken to find the origin point. Elevation will always be ignored, as elevation is calculated from the elevation of the point laying on the terrain at those particular latitude-longitude coordinates.
Please let me know if I did not precisely gave the answer to your questions. Or if I misunderstood your question. We are here to help with any issue.
Thank you very much for your quick and complete answer Djordje!
About the “origin_”, thank you for your answer, that was what I was wondering.
About the component, I tried reinstalling the libraries (checking that they were unlocked) and running the component again a few minutes ago with the same result…
It does not manage to download the data but seems to run though (it takes a while and then gives the error message).
If this second time you got the same message as in the photo you attached, then your GDAL libraries are installed correctly. If they weren’t you would have been informed about it.
So something is wrong with download of the raster data from the opentopography.org to your PC.
Let’s try a couple of things:
1) Paste this link into your internet browser’s address box (Firefox, Chrome …) and hit Enter:
What you have just tried, is what the component does under the hood. The fact that you can not manually download a raster file, means that the issue is not with the “Terran Generator 2” component. For some reason your PC can not access the opentopography.org SRTM service.
We can do this the other way around: I can try to download the raster file for you, and then you will copy it to certain folder from which your “Terrain Generator 2” component will create the 3d terrain.
Can you please attach your .gh file containing the “Terrain Generator 2” component? I basically want to know the latitude/longitude of your location and your radius_.
You want a 3d terrain of the whole Réunion island? Where would the origin_ point be? The center point of the island or Saint-Denis in the north part of it?
It actually works with my laptop (don’t know why or what is the difference). Anyway. Actually, I already have the .tif file for the whole Island that I used to generate a mesh with the DTM component (actually used it in .asc format). I use it to place various points based on their locations on it.
What I would like to do, that I have not managed so far and that your component could help me to do, is to generate a Surface patch based on a radius_ and the _location of a specific place of the Island ( as your component do!
At the end, it is basically using your component as a split component of the whole island .tif, instead of downloading each time the data.
Does this makes sense to you?
I have started to look at your script I can see the parts that I am interested in but my hard coding skills are quiet poor ^^
You would like to have a terrain of the parts of Réunion island, and not of the whole Réunion island? You would like that terrain to be a surface instead of a mesh? Sorry If I misunderstood you.
no worries at all, sorry for my explanations that were not very clear.
I want to generate both the whole island (that I will bake) and parts of the island based on their location. Both things are possible with your component.
I was only wondering if it would be possible not to download the .tif data for the different parts of the island I want to generate each time. But instead, use the .tif of the whole island (since already downloaded) and use your component like a “split” component.
If that does not help, maybe you can turn off your Windows Firewall entirely. If that does not help, try turning off your antivirus entirely. Maybe some of these applications is blocking you from downloading the .tif file.
In the end, if you are forced to use your PC and not laptop, you can always use the “Terrain Generator” component instead of “Terrain Generator 2” component. It will extract the elevation data from Google earth instead of Opentopography. The elevation data is different though, as they use different sources.
By the way: I am already in love with the Karya project!!! It seems like a very interesting topic, and a perfect example of how environmental and computational aspects of design should be merged! I will definitely check the blog to read the new information about it, once in a while