Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cesium]

Cesium is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

1
vote
1answer
13 views

Using “Show” property in Cesium to turn on and off layers doesn't reflect on viewer

I am visualizing a geoJSON datasource in Cesium. I have tied it to a checkbox to modify the "show" property in order to turn it on and off after it is added to the viewer (not adding/removing the ...
2
votes
0answers
29 views

Drawing 3D flight path in Cesium?

I've been trying to draw 3D flight path in Cesium without any success. I followed the answer from Drawing flying/moving line on Cesium? However, this only renders a segment of flight path floating in ...
2
votes
1answer
55 views

I can't see my WMS layer on Cesium Globe scene

After insert a WMS layer in my Cesium, I can see in my browser that the images are comming from Geoserver but they are not visible in the globe. Here is the code ( commented lines are because I'm ...
1
vote
1answer
61 views

Load data from URL to update Billboard position Cesium

I am trying to update the position of a billboard every second in Cesium. The issue is I cannot pass the updating points to the billboard coordinates. I am using jQuery to load the data. This is what ...
2
votes
0answers
46 views

Conversion of Fbx or Obj to Cesium Tiling [closed]

I have a an OBJ File and a FBX File of very large size (OBJ = 25GB & FBX = 6GB) I'm looking for a way to convert either of them into Cesium Tile Format. I have tried using Pix4D software which is ...
2
votes
0answers
74 views

Can you use WFS services in a front-end Cesium app?

I am using Web Map Services (WMS) in Cesium Apps .WebMapTileServiceImageryProvider .WebMapServiceImageryProvider However I cannot find any Cesium official reference to WFS or WFS-T services which I ...
0
votes
0answers
30 views

Adding 3D GML file in OpenLayers

I have a GML file which has Z values associated. Is there a sample to show this GML file with 3D in OpenLayers?
1
vote
0answers
45 views

Cannot access Terrain Server for Cesium

I'm trying to follow a series of tutorials: visualizing-terrains-with-cesium-ii visualizing-terrains-with-cesium Some other useful posts here: Unable to serve Cesium Terrain files error-in-...
0
votes
0answers
202 views

GeoJSON: Rendering 3D building in Cesium via GeoServer

I am trying to make a 3D web application which should be able to render 3D building using Cesiumjs and loading data from PostgreSQL/PostGIS via GeoServer. I have MULTIPOLYGON Z and MULTIPOINTS Z for ...
0
votes
0answers
187 views

OL-Cesium - Example doesn't work

I would like to test the Ol-Cesium on my computer with this example: https://openlayers.org/ol-cesium/examples/oldfashioned.html I saved the olcs.css, olcesium.js and Cesium.js file into my webserver'...
2
votes
1answer
230 views

Drawing flying/moving line on Cesium?

How can I draw a flying/moving line on Cesium? I need a base line and a little point flying from one origin coordinates to a destination, and it needs to be animated. Cesium only provide basic ...
2
votes
0answers
80 views

Adding elevation from geoserver in Cesium.JS

I'm trying to view elevation data loaded from Geoserver on cesium globe. But the added elevation is viewed as 2D layer on the globe. My Code: import Viewer from "cesium/Source/Widgets/Viewer/Viewer"...
0
votes
0answers
68 views

ol-cesium throws exception when map.addLayer() is called with a vector layer

I have a strange behavior here using OpenLayers 5.2.0, Cesium, and the compatibility library ol-cesium. When I try to add a layer to the map, it throws an exception: TypeError: invalid 'instanceof' ...
1
vote
0answers
84 views

Point displacement between map (Cesium 3D) and raster (numpy array)

It is better to show than tell: On this image, the layer below the colorful shape is a trivial heat map in raster format. The colorful shape is the product of the skimage.graph.MCP_Geometric method. ...
1
vote
1answer
282 views

ECEF (EPSG:4978) glTF model doesn't show up in Cesium

The issue: I have a glTF (ver. 2.0) mesh (converted from ply to dae to glTF) with triangles coordinates in EPSG:4978 that doesn't show up in Cesium (ver. 1.42). The code: This is the code in the ...
1
vote
0answers
211 views

Use Natural Earth data set in Cesium

I have saved NaturalEarth data set in my desktop. Then I created a view as below. <script> var viewer = new Cesium.Viewer('cesiumContainer', { ...
0
votes
0answers
154 views

Configure Cesium to use QGIS offline

I want to configure cesium offline. I used dataset in NaturalEarthII in cesium and it works. Now I want to use a third party imagery server to use with cesium to work offline. For that I selected QGIS ...
0
votes
0answers
19 views

How can set “wait time” in CZML?

I have some position & time values describing movement of some vehicle. But in some time intervals vehicle wait in some position. I cant figure out how can i set waiting time.? In the example ...
3
votes
1answer
336 views

Alternatives to cesium terrain builder?

Looks like cesium-terrain-builder still have this issue and can't be used for large projects, so I wonder if there any alternatives to cesium-terrain-builder that can produce DEM tiles, can work with ...
1
vote
1answer
277 views

cesium quantized mesh generator

We are trying to develop pur own quantized mesh generator and visualize these terrain tiles on CesiumJS. As an input we use SRTM data that belongs to north parth of TURKEY. We generate contours on DEM,...
2
votes
0answers
123 views

How to synchronize map context (bounding box and zoom level) only with ol-cesium?

I posted this question on StackOverflow, but since there is no answer yet and as recommended in a comment, I'll ask it here too: I'm programming a page where a 2D and a 3D map are side-by-side as in ...
2
votes
1answer
434 views

Serving MBtiles for Cesium consumption

I am trying to create custom mbtile for Cesium consumption. I was able to create a mbtiles file in QGIS (zoom 0 to 16) using the QTiles plug-in. I tested the generated mbtiles file using mbviewer ...
1
vote
2answers
157 views

Entity (point) is not show in 3D mode of Cesium?

I've added an entity: var debris = cesiumViewer.entities.add({ position : { value : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883, 1000) , referenceFrame : Cesium.ReferenceFrame.FIXED ...
4
votes
1answer
1k views

What is difference between b3dm and gltf?

What is difference between b3dm and gltf ? When to use b3dm and when to prefer gltf over b3dm ?
1
vote
1answer
1k views

Cesium - Camera.computeViewRectangle to get current view bounds

I'm trying to get custom west-south-east-north bounds in Cesium's HelloWorld.html example, using Camera.computeViewRectangle, as suggested in this answer and its elaboration. Perhaps I misunderstand ...
1
vote
0answers
214 views

Different basemaps in OL-Cesium side-by-side example

I have an application that has two maps that are linked: a normal map on the left and a globe on the right. The application is based on the example olcesium side-by-side example. I would like to use ...
0
votes
1answer
102 views

Setting Up Cesium in wamp64

I wanted to clarify with all of you whether I am setting up Cesium correctly in wampserver using Windows 7 64 bit. The Reason on why I want use wampserver is because I want to access data from the sql ...
0
votes
1answer
337 views

Change the scene mode in Cesium every interval

I have a task which I want to change the scene mode in Cesium every 1 mins. For example, let say be default the scene mode is 3D. after 1 mins, it will change to 2D mode and then anohter. I used ...
0
votes
1answer
304 views

Cesium CZML file for billboard with trailing line

I am looking for some tips on creating a CZML file that has uses a billboard to track a pedestrian walking over a terrain (and has a few custom properties for each time sample). About 18K samples. My ...
1
vote
0answers
127 views

The line is too high from the source to the destination point in Cesium

In Cesium, I created an animation line which travels from the source to the destination point. I created 3 entities which are source, destination point and animation line. When I run the html file, ...
0
votes
0answers
186 views

the line is not in a smooth curve in cesium when creating an animation line from the source to the destination [duplicate]

I have a task which I want to create an animation line from the source to the destination. I made 3 entities which are the source point, destination point and animation line. The source is created by ...
0
votes
1answer
225 views

Timeline and clockview model did not appear in cesiumjs

I have performed coding to the particular html file and it contain the code to access the wms layers from the Geoserver. However, when I run the html file, I am not able to see a clock view model and ...
3
votes
1answer
200 views

Error when pushing maps to baselayer picker in cesium?

I want to learn on how to create a baselayer picker and push maps to the baselayer picker in Cesium. The maps which I am going to push into the baselayer picker are accessed directly from the ...
3
votes
1answer
496 views

How to synchronize two maps?

I have my main map using projection EPSG:4326. Now I try to add a 3D view using ol-cesium. The goal is to create a side-by-side map that will show a flat map and a 3D view map (like this). But I can'...
1
vote
1answer
79 views

Adding a mouse / touch helper to Qgis2threejs plugin

Could the Qgis2threejs plugin have a mouse / touch helper window added to the output display? Saw this one on a Cesium display and thinking a similar helper on Qgis2threejs would make the tool more ...
1
vote
0answers
340 views

Generate 3D terrain Model at Runtime dynamically

I need to subset terrain in Cesium and make the output exportable in any of the common formats like WRL, OBJ etc. I have found one such example here. I have been searching the web for days but ...
1
vote
0answers
147 views

How to import .lyr files into Cesium?

I have an application that is able to import .lyr files into a Cesium map if they are bundled with all the required associated files in a zip file. The application treats the bundled files in the ....
3
votes
1answer
823 views

Cesium vs WebGL Earth JS

I read about WebGL Earth that it uses under the hood the great CesiumJS project for the rendering of the data. But exactly, for a developer, what are main differences between CesiumJS and WebGL Earth ...
2
votes
1answer
355 views

Cesium and Geoserver SRS Optimization

I have a Cesium program that makes WMS calls to geoserver layers loaded from a postgis table. From what I know Cesium can only use ESPG:4326, but my postgis table and thus geoserver layer are in ESPG:...
3
votes
1answer
349 views

How to use Cesiumjs without bingmap api key

Can I use cesiumjs without bingmap api key. I need to create a viewer which should use my own wms layer and osm. Further i want to use it as a platform for geospatial analysis on my spatial data. As i ...
3
votes
1answer
764 views

How to transform Linestring to Polyline?

I have GeoJson file with roads data as Linestrings. I want to load it in Cesium Sandcastle and make a custom line styles. In order to do so, lines have to be Polylines, not Linestrings. Is there a way ...
1
vote
1answer
912 views

Add a Label to the Polygon in Cesium

How can I add a label to the entity (ex. Polygon) at the specify location: This is how I tried to do it: (entity.polygon = true) static addLabel(entity) { entity.myLabel = new Cesium....
1
vote
0answers
110 views

Cesium, how to persist baselayer selected by user?

For Cesium, I would like to know how to persist the baselayer selected by user? For example, if a user selected "Mapbox Streets", how can we detect it was selected and persist it, so that the same "...
0
votes
2answers
234 views

panning cesium 2D map having asia as center without zooming

Using cesium it is possible to pan the 2D map having Asia as the center? Example as shown in the image.
1
vote
1answer
695 views

Dynamic GeoJSON on Cesium

I am trying to visualize live data that is updated every 5 seconds coming from a GeoJSON layer served by GeoServer. What is the best way to do this on Cesium? I saw that the GeoJsonDatasources in ...
1
vote
1answer
492 views

Ol-Cesium CZML Display

My goal is to add CZML to my ol-cesium application. I have created an application using the ol-cesium-v1.27 get started instructions: ol3d = new olcs.OLCesium({map: map}); // map is ...
1
vote
0answers
205 views

Find object through search box with Cesium Js

I am using Cesium and I would like to do a very simple operation. I would like to find an object which I created by typing its name in the search bar on the top right corner. Let's consider for ...
0
votes
0answers
875 views

Mapbox Vector Tiles in OL-Cesium

I'm trying to achieve a visualization similar to Mapbox GL JS (c.f. Mapbox Vector Tiles from Geoserver 2.11 in Mapbox GL JS), i.e. with pitch and bearing. I'm using the latest OL-Cesium version for ...
5
votes
1answer
769 views

OpenLayers 3 - Cesium (ol is not defined)

I am trying to get Cesium working in my OpenLayers 3 application. I am using ol3-cesium-v1.7 from: https://github.com/openlayers/ol-cesium/releases My application was using OpenLayers 3.82. I ...
2
votes
1answer
367 views

Cesium camera.setView to rectangle clipping the rectangle

My application allows users to add GeoJSON objects to a cesium map. If the GeoJSON has a bbox, it will set the view to the bounding box: const destination = Cesium.Rectangle.fromDegrees( bbox[0],...