In that case, I'll stick to writing it manually
thanks
Last time I tried to get the coordinates (of building polygons) in lat/long I ended up writing my own coordinate transformation in Python. The formulas depend on the current and target coordinate system, but you should be able to google up the right formulas. A little warning, it's not going to be as simple as x2 =x1*2+20 .
Hi Thomas,
Thank you very much for the response
This is very helpful (really what i needed). But I still don't get the relation between the lat/long and the x/z-offsets.
Also, is there a way to extract them (not writing them down manually)? I found the python function getPosition, but it returns the x,y,z.
Thanks and have an amazing day
Hello Alexandro Vasile
The corners of the terrain are given in the projected scene coordinate system you have set in the your CityEngine scene.
CE help on: Scene Coordinate System
A quick way to show lat/long coordinates of the Terrain corner would be:
Is it possible to get the lat/long of a scene inside CE? (not in the web scene)
I need to know the lat/long of the corners of the Terrain
I see the x and z offsets, but i have no idea how to convert them to lat/long.
Thanks
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.