3D buildings from vector layer
See original GitHub issueHello!
I have a problem I can not solve for a long time …
I have a vector layer with buildings. In 3D mode, they appear flat … I also want to do this building in 3D…give them height.
Here are two screenshots and source:
var vectorSourceMinsk = new ol.source.Vector({
format: new ol.format.GeoJSON(),
url: './minsk_buildings.geojson'
});
var vectorLayerMinsk = new ol.layer.Vector({
source: vectorSourceMinsk,
style: styleFunction
});
var layer = new ol.layer.Tile({
source: new ol.source.OSM()
});
var ol2d = new ol.Map({
layers: [layer, vectorLayerMinsk],
target: 'map2d',
view: new ol.View({
center: ol.proj.fromLonLat([-74.0064, 40.7142]),
maxZoom: 19,
zoom: 15
}),
controls: controls
});
var ol3d = new olcs.OLCesium({map: ol2d});
Can you help me?
Issue Analytics
- State:
- Created 7 years ago
- Comments:40 (16 by maintainers)
Top Results From Across the Web
Extract 3D buildings from lidar data - Learn ArcGIS
Extract realistic 3D buildings. Generate 3D multipatch vector features out of lidar points classified as buildings, a DEM raster, and building footprints.
Read more >How to: Create a 3d buildings view in QGIS
Now open Layer Properties. Do so by right-clicking on the layer 3db-US-Philadelphia in the layer list (left hand side) and choose Properties. In...
Read more >Working with QGIS 3D - Part 2 - Lutra Consulting
In this post, we will explore 3d vectors and how to view buildings and trees. Data Sources. For the purpose of this blog...
Read more >Display buildings in 3D | Mapbox GL JS
Use extrusions to display building heights in 3D. ... the Mapbox Streets vector tileset, which provides data for the building layer in the...
Read more >Mapbox GL JS/Android: Draw User's 3D Vector Layer of ...
It's possible to draw 3D buildings by taking advantage of extrusions, however the 3D vector layer source is the Mapbox's underlying extract ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could someone please just post one simple (like @ema2000) working example with the newest OLCS Library?
Would be nice if https://rawgit.com/gberaudo/talks/master/2015-foss4g-seoul/examples/extrude/examples/extrude.html were fixed; https://cesiumjs.org/stk-terrain/tilesets/world/tiles/layer.json no longer exists. But it does render cubes.