How to show 3D Geometry using MVTLayer class without extrusion property #8982
gireeshbhogireddy
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My usecase is i am trying to show the LOD2 building of washington monument using MVTLayer class. Below is the building.

I am able to show 3D geometry(Geojson format data) using GeoJsonLayer class, whereas the same data in wmts format when i tried using MVTLayer not working.
Showing pyramidal roof using GeoJsonLayer preview :

Geojson data for the pyramidal roof is given below:
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"MultiPolygon","coordinates":[[[[-77.03525,38.88948,182],[-77.03515,38.8895,169],[-77.03515,38.88954,169],[-77.03525,38.88948,182]]],[[[-77.03525,38.88948,182],[-77.03515,38.88954,169],[-77.03525,38.88954,169],[-77.03525,38.88948,182]]],[[[-77.03525,38.88948,182],[-77.03525,38.88954,169],[-77.03535,38.88954,169],[-77.03525,38.88948,182]]],[[[-77.03525,38.88948,182],[-77.03535,38.88954,169],[-77.03535,38.88947,169],[-77.03525,38.88948,182]]],[[[-77.03525,38.88948,182],[-77.03535,38.88947,169],[-77.03535,38.88939,169],[-77.03525,38.88948,182]]],[[[-77.03525,38.88948,182],[-77.03535,38.88939,169],[-77.03525,38.88939,169],[-77.03525,38.88948,182]]],[[[-77.03525,38.88948,182],[-77.03525,38.88939,169],[-77.03515,38.88939,169],[-77.03525,38.88948,182]]],[[[-77.03525,38.88948,182],[-77.03515,38.88939,169],[-77.03515,38.88945,169],[-77.03525,38.88948,182]]],[[[-77.03525,38.88948,182],[-77.03515,38.88945,169],[-77.03515,38.8895,169],[-77.03525,38.88948,182]]]]},"geometry_name":"geom","properties":{"gid":1, "height":169},"bbox":[-77.03535,38.88939,-77.03515,38.88954]}],"totalFeatures":1,"numberMatched":1,"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4326"}},"bbox":[-77.03535,38.88939,-77.03515,38.88954]}
Please suggest me on how to show 3D geometry using MVTLayer class.
Thanks,
Gireesh
Beta Was this translation helpful? Give feedback.
All reactions