VCityTeam / py3dtilers

Tilers accepting various input formats (OBJ, 3DCity databases, GeoJson, IFC) and producing 3DTiles tilesets.
GNU Lesser General Public License v2.1
199 stars 52 forks source link

How i can set height from attribute in geojson? #178

Open jshirokov-bs opened 11 months ago

jshirokov-bs commented 11 months ago

Hi! I have some problem with py3dtilers. So, I have a geojson with ~50 objects with the attribute "h_m" (height). I tried to use this attribute in the console, but I couldn't use the attributes correctly - the objects didn't get the height according to the data. I also tried to reproject the data into cesium (coordinates, but the objects were displayed in the area of Africa, not Eastern Europe. Am I doing something wrong?

I am applying a visualization screen and a data set

image

building_pr.zip

LorenzoMarnat commented 11 months ago

Hello, I think this issue is linked to #135 (Py3Dtilers doesn't support degree projections as input).

Some workaround would be to:

Example:

geojson-tiler -i building_pr_4087.geojson -o building_pr_4978 --z 0 --crs_in EPSG:4087 --crs_out EPSG:4978

Result (in cesium): image