ChHarding / TouchTerrain_for_CAGEO

Touch Terrain: A python app to create 3D printable terrain models (STL/OBJ) from only elevation data (via Google Earth Engine) or from a local geotiff. Has been used for CNC terrain models. Runs as a web app (http://touchterrain.org), as .py file (standalone.py) or as jupyter notebook. Docker image: https://github.com/ChHarding/TouchTerrain_jupyter_docker
http://touchterrain.geol.iastate.edu
210 stars 45 forks source link

adding gpx route failed #95

Open yuvalorp opened 2 months ago

yuvalorp commented 2 months ago

i am trying to add gpx to the model with the standalone docker container and get the issue image

ChHarding commented 2 months ago

The gpx stuff isn’t really mine but I’m guessing the errors have to do with the projection of the gpx data (which are unprojected lat/long points with WGS84) into the coordinate system of the DEM raster. Does it say anywhere what the coordinate system of your Geotiff is?

On Jul 22, 2024, at 06:52, yuvalorp @.***> wrote:

i am trying to add gpx to the model with the standalone docker container and get the issue image.png (view on web)https://github.com/user-attachments/assets/00fd4f96-4a81-441a-895f-54d770bd7204

— Reply to this email directly, view it on GitHubhttps://github.com/ChHarding/TouchTerrain_for_CAGEO/issues/95, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEYDF5JYBLQWUJF4ILEYO53ZNTXBFAVCNFSM6AAAAABLIE5OFSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDENRYGE4TMMA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

yuvalorp commented 1 month ago

thanks for the response :) i am taking the Geotiff from AW3D30 , in the internet i saw that it used a EGM96 projection (in the paper is written "Elevation (in meter) converted from the ellipsoidal height based on ITRF97 and GRS80, using EGM96†1 geoid model")

ChHarding commented 1 month ago

Well I’m guessing that that’s a combination that gdal can’t convert to lat/long. The only solution I can think of is to convert the coordinate system to something more common, like the UTM zone it’s inside and WGS84 as datum. If you tell me where your area is I can figure out the UTMs zone and tell you how to convert to in in QGIS. Or, if this is a one-shot, if you give me access to the file I can convert it for you.

On Aug 5, 2024, at 16:32, yuvalorp @.***> wrote:

thanks for the response :) i am taking the Geotiff from AW3D30 , in the internet i saw that it used a EGM96 projection (in the paper is written "Elevation (in meter) converted from the ellipsoidal height based on ITRF97 and GRS80, using EGM96†1 geoid model")

— Reply to this email directly, view it on GitHubhttps://github.com/ChHarding/TouchTerrain_for_CAGEO/issues/95#issuecomment-2269955694, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEYDF5LFENY5F5TII7FX5M3ZP7VPJAVCNFSM6AAAAABLIE5OFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRZHE2TKNRZGQ. You are receiving this because you commented.Message ID: @.***>