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
191 stars 44 forks source link

KML wrong coordinates #57

Closed wizche closed 2 years ago

wizche commented 2 years ago

Why the following KML doesnt load correctly? swissBOUNDARIES3D_1_3_TLM_LANDESGEBIET_singleplacemark.txt

Can't it process lat/long coordinates? On https://ivanrublev.me/kml/ it loads flawlessly.

Thanks a lot

ChHarding commented 2 years ago

Sergio,

The short answer is that I don’t really know ;) I suspect there’s a subtle error in it that my very basic kml importer code doesn’t like. I imported it into ArcGIS and it seem to imply that it was actually composed out of several parts (i.e. several unconnected islands but still considering it a single entity) but visually I could not see that. So I converted it to a traditional (single part) polygon, exported that to kml and that seems to work now. I think it might have something like crossing over itself, basically making a topological “ear” somewhere, but as as I said it's a mystery to me. If this happens again with another kml, please email me again and I’d be happy to fix it again for you!

BTW, can I ask what this is for?

Cheers

Chris

On Feb 17, 2022, at 02:41, Sergio Paganoni @.**@.>> wrote:

Why the following KML doesnt load correctly? swissBOUNDARIES3D_1_3_TLM_LANDESGEBIET_singleplacemark.txthttps://github.com/ChHarding/TouchTerrain_for_CAGEO/files/8086944/swissBOUNDARIES3D_1_3_TLM_LANDESGEBIET_singleplacemark.txt

Can't it process lat/long coordinates? On https://ivanrublev.me/kml/ it loads flawlessly.

Thanks a lot

— Reply to this email directly, view it on GitHubhttps://github.com/ChHarding/TouchTerrain_for_CAGEO/issues/57, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEYDF5L34OS4GCU7EQF6ZJDU3SYCHANCNFSM5OT7KXDQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Chris Harding Associate Professor Department of Geological & Atmospheric Sciences Touchterrain.geol.iastate.eduhttp://Touchterrain.geol.iastate.edu

wizche commented 2 years ago

Thanks a lot! Nothing special, I just wanted to print my country :) image

Btw amazing tool, keep up with the good work!