Questions tagged [cesium]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Cesium, City and file formats [on hold]

I would like to do create something like https://cesiumjs.org/NewYork/ Now, compared to this demo, I do not need to display a lot of buildings, only a small zone (so probably a tileset). => use <= ...
0
votes
1answer
26 views

how to create a city map

I would like to create a map of a small zone in Cesium. It would be a 3d map, with some building appearing with real size like this => https://cesiumjs.org/NewYork/ I have searched about how to do ...
2
votes
1answer
10 views

Drawing polygon using mouse click in Cesium?

I need to draw a polygon dynamically using my mouse. I can do this very easy in OpenLayers but I'm very new in Cesium and can't find any tutorials to do it. Many examples only show how to create a ...
0
votes
1answer
36 views

Cesium and KML altitude

I have the following KML file which is a cube: </Placemark> <Style id="3Dobject"> <PolyStyle> <color>7fff5500</color> <outline>1</outline&...
0
votes
0answers
11 views

Converting Cesium3DTileset into LAS or LAZ files

I got the json file and five .b3dm model files from this SandCastle example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=3D%20Tiles%20Adjust%20Height.html I want to convert them into .LAS ...
0
votes
0answers
16 views

How to obtain value from input tag in '3D Globe Panel for Grafana' plugin

I am attempting to slightly modify a Grafana plugin that is located here: https://github.com/satellogic/grafana-3d-globe-panel In essence, I need to create some additional fields in the editor.html ...
2
votes
0answers
27 views

WGS84 to MSL and opposite

I am using Cesium to create point in a map. The point will be then flyable with a drone. I have the following problem, 1) The user set a point altitude to 20 meters in a 2D flat map. 2) The point ...
0
votes
0answers
54 views

How to convert Lat, Lon, Alt to ECEF and EPSG 4979?

I am programmatically generating data to use in Cesium's 3D Tile System. The data I have is in (Latitude, Longitude, Altitude) format. To display the data in Cesium, I have to first define a region to ...
1
vote
0answers
23 views

What would cause a Cesium 3D-Tiles tileset to not even request it's content?

I am generating an I3DM through Python. I know that the I3DM is probably ok, since the 3d-tiles-tools allow me to extract the binary GLTF file from it. However, when I go to render the tileset in ...
0
votes
1answer
28 views

Understanding gap in Cesiumjs bar chart?

I use Cesiumjs to create a bar chart. I don't understand why there is a gap in the bar? Code Link var viewer = new Cesium.Viewer('cesiumContainer'); viewer.scene.globe....
1
vote
1answer
25 views

Attach the bar's bottom to a location in 3D Cesium

I have the code below on web site cesiumjs. Is there any way that I can fix the bar's bottom at the location (37.786805,-122.45475) on the Earth's surface? The bar here looks like its bottom moves ...
1
vote
1answer
43 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
53 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
140 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
105 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
88 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 ...
3
votes
0answers
107 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
35 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
103 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
259 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
225 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
359 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
101 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
78 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
90 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
382 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
266 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
175 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
21 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
416 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
329 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
143 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
513 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
190 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 ...
5
votes
1answer
2k 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
221 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
105 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
387 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
331 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
136 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
202 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
250 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 ...
2
votes
1answer
232 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
516 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
80 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
348 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
1answer
160 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
890 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
364 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:...