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
17 views

Filtering polygon using Cesium for WMS 1.3.0

I am trying to display only the portions of my data that fall within the polygon. I am using WebMapServiceImageryProvider to get the tiled imagery.   As Cesium just supports WGS84, I tried to use both ...
1
vote
1answer
31 views

Defining zoom on tileset extents using CesiumJS

I work on windows 10 with Cesium 1.72. NodeJS and Cesium work well. I succeed in adding a tileset format3D tiles (Meshs + associated texture). However, I would like to define a zoom on my tileset ...
0
votes
0answers
20 views

Building terrian data in ArcGIS Server for Cesium

I want to use ArcGIS terrain Data in Cesium. I don't know how to build terrain data in ArcGIS Server 10.3.1 according to specifications of Cesium. Is there a tutorial or sample data which can be used ...
0
votes
0answers
31 views

Point Layer is Not Show When 3D Mode is Active [Cesium, OLCS, Openlayers]

I have a 3D map build with Cesium + OLCS + Openlayers. But in one case i cannot show my WMS Image Point Layer when 3D mode is active like this: But Polygon Layer can show when 3D is active, and when ...
1
vote
0answers
31 views

Vector feature “flashes” after geometry update in OL-Cesium

I would like to append new points to a vector polygon geometry in OpenLayers v6.5.0 and Ol-Cesium v2.12 (Cesium v1.77). My UpdatePolygon function will be called in every seconds or more frequently ...
0
votes
0answers
63 views

OL-Cesium improve tileWMS quality in very high zoom level

I'm developing an application which is based on OpenLayers v6.5.0. OL-Cesium 2.11, Cesium v.177 and GeoServer v2.17. The scale of the map view is very large. The camera height is only 20 meters. I use ...
1
vote
1answer
65 views

ImageWMS layer doesn't work in 3D mode

I would like to display an ImageWMS layer using OpenLayers v6.3.1, OL-Cesium v2.9 and Cesium v1.70 in 3D mode. In 2D mode it is perfect, however in 3D mode, I don't see the states ImageWMS layer, the ...
1
vote
1answer
35 views

Working with position data from 3DTiles

I'm currently implementing 3DTiles into my java application. I know that I will only work with the region BoundingVolume. The BoundingVolume has 6 values: west, south, east, north, minHeight and ...
2
votes
2answers
83 views

Cesium toggle 3D buildings on/off

Does anyone have a working code example of how to toggle 3D buildings on/off in Cesium? Since the 3D OSM buildings in Cesium are solid, everything beneath them is obscured so I would like to add an ...
3
votes
2answers
93 views

How to properly point the Sun in CesiumJS?

I prepared a Cesium sandcastle example based on this answer from @FSimardGIS, but something is going wrong: only one of many rays correctly points to the Sun, the other appears random. What's wrong ...
3
votes
2answers
188 views

Convert from Alt/Az coordinates w.r.t. point on surface to (x,y,z) w.r.t Earth centre?

I know how an antenna located on Earth surface is pointing to an object in space, by means of Altitude and Azimuth. I would like to show the pointed object in the 3d view, so, as far as I can ...
1
vote
1answer
42 views

Style WM(T)S layers from a QGIS server into a Cesium imagery component

I have a QGIS server docker image which is serving some aerial images (raster data) on one virtual machine. I have an other virtual machine which holds a Cesium cartographic web application in Vue.js. ...
1
vote
1answer
89 views

Combine multiple points to polygons by property

I'm working on a website with a Cesium map, and I'm using turf.js for geo calculations. I need to find a way to merge a large set of points on the map (with a fixed distance between them) to polygons, ...
2
votes
0answers
128 views

Cesium Terrain generated using DSM is way higher than the base map

Is there any way I can clamp the terrain to the base-map's height? Is the problem with the vertical datum for the data. I tried changing ellipsoid's radius-- but I learnt that the height is relative ...
2
votes
0answers
141 views

Orientation of a texture image in Cesium?

Context I'm trying to apply a texture to an entity in CesiumJS and I cannot figure out how the texture is applied, especially regarding it's orientation relative to the camera view point. Here are two ...
-1
votes
1answer
84 views

Converting a GeoJSON file to vector tiles compatible with CesiumJS in Java

When I explored on google, I found a lot of packages in Github which were in JavaScript or NodeJS. Did anyone has written a code or came across a library in Java to convert GeoJSON to tiles?
2
votes
0answers
93 views

Cesium OSM buildings floating in the air; could we set a custom ellipsoid, locally more accurate?

I just discovered the way to include OSM building data in a Cesium project. It sounds great but I also (re)-discovered my local ellipsoid vertical offset with the global WGS84 one (see pictures). The ...
1
vote
0answers
60 views

Convert a GeoJSON polygon to a Cesium.Plane object

I have a polygon (planar) in a GeoJSON feature. I would like to convert it to a true Cesium.Plane object. How could I achieve that? In my current code, the feature is only a dataSource object: const ...
2
votes
0answers
59 views

Extract terrain coordinates as seen from a viewpoint + FoV in a digital globe

Context Every one working with photogrammetry or 3D knows what a depth image is. For example OpenCV defines a "depth map" from a stereo pair, e.g.: where the darker a pixel is, the greater ...
0
votes
0answers
30 views

Reduce the height of the selected cesium entity to zero on mouse click in cesium

How do i need to reduce the height of the selected entity to zero on mouse click in cesium. Below is the code which i had tried var handler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas); ...
0
votes
0answers
32 views

Adding DWG files to Cesium Globe

I have .dwg files which are not georeferenced. Is there any way to add those to Cesium Globe and extrude?
0
votes
0answers
65 views

Using 3D Models in Cityengine, Cesium and 3D scenes

I recently started working with 3D models, and the following question may be a bit too abstract? If I need to build a 3D city with buildings and other features, what software should I use as a ...
0
votes
0answers
34 views

CesiumJS:3Dtiles tileset path? (Windows)

I'm trying to load and display my 3D tiles file with CesiumJS on my Window Station and Chrome web browser. Cesium server seems to running fine locally. When I type the 'npm start` command via one ...
1
vote
1answer
431 views

.b3dm to regular 3d model converting

I have never been using Cesium but recently found a web storage with multiple *.b3dm files. It looked like they represent buildings that could be helpful for my company. However I could not see if ...
1
vote
0answers
42 views

How to tile Mars themis raster for Cesium

I am trying to tile the Mars themis raster that has the following crs: PROJCS["SimpleCylindrical Mars", GEOGCS["GCS_Mars", DATUM["D_Mars", ...
0
votes
0answers
50 views

Add cloud layers to vts-browser-js 3D map

I want to add 3D clouds to an existing 3D map based on the vts-browser-js library to simulate weather conditions. I've added 3D 'obj' models to the map using the API. Also vts-browser-js has a built-...
2
votes
2answers
73 views

Artifacts when rendering TopoJSON geometries on Cesium

I am rendering a TopoJSON document, created via mapshaper.org from a shapefile, on Cesium. That works fine for all geometries except one. I have tried re-creating the TopoJSON document and re-editing ...
1
vote
1answer
150 views

Definition of zoom levels used by Cesium quantized mesh terrain tiles?

Context I am not able to figure out the definition of Cesium's quantized mesh terrain tiles, as specified here: https://github.com/CesiumGS/quantized-mesh I wonder if it's the same definition (or not) ...
1
vote
0answers
51 views

Getting north in Cesium for billboard

I have two maps, a 3D and a 2D Map in my app, The user can move both camera, but the current position and rotation of the 3D camera must be reflected in the 2D map (see Screenshot) I made it draw on ...
0
votes
0answers
16 views

Cesium: How to retrieve the UUID of the building model onclick?

I have 3D building models, being loaded via JSON with gltf format. I would like to retrieve the individual model's uuid when the user clicks on the building.How can I do it on cesium platform? Example ...
3
votes
0answers
145 views

Compute a rotation relative to ENU

I am using CESIUM JS. I posted a message in cesium forum some days ago, but I didn't manage to find a solution. I have a 3D camera moving freely on a map. I have a 2D map (let's call it minimap) that ...
0
votes
0answers
30 views

Unable to get center of the screen coordinates

I have a set of coordinates return from an api. Thereafter, I set camera view with the following codes: viewer.scene.camera.setView({ destination: Cesium.Cartesian3....
0
votes
0answers
50 views

How to convert correct coordinates for Cesium?

I have the following coordinates:103.84958233542338,1.3669641300494784 I cannot tell if it's in the correct coordinates format for Cesium. It gives me a developer error "Cartesian is required." I ...
0
votes
1answer
170 views

Display WMS layer from local GeoServer in mobile application with Cesium JavaScript Library?

I need to display a WMS layer from my local GeoServer in a mobile application with the Cesium JavaScript Library, but I don't know how to do it. Can anyone help me?
0
votes
0answers
148 views

How to display WebMapServiceImageryProvider with Height on Cesium

First of all, I have set the WapMapServiceImageryProvider with Geoserver deploy radar image to the Cesium, The result like this: The code is : function addRadarHKZindex(physicalHeight){ if(!...
1
vote
0answers
46 views

How do I “flood” a terrain in Cesium to represent a high water level

I am thinking about using a plane object to represent a water level by rendering it as a certain height above ground using Cesium. Is there any example code that
1
vote
0answers
28 views

GeoJSON vector data tiles disappear

I found an example of how to show GeoJSON data on cesium and I followed that example The data is displaying but tiles are disappearing when I zoom in more and more I tried with same with us sample ...
3
votes
1answer
145 views

Using “Show” property in Cesium to turn on and off visibility has a strange delay

I am loading some geometries through a datasource load promise like above: Cesium.when(Cesium.CzmlDataSource.load(environment.apiBaseURL + `/geometry/all`), result => { this.dataSources = ...
2
votes
1answer
335 views

Cesium Polygon entity get all positions and holes

I could not find a nice way to get the all positions and holes from Cesium polygon (see the coordinates structure in attached image), and as far as possible not to use recursive function to get all ...
1
vote
0answers
48 views

Cesium | Any Alternatives to 3dtilesets to visualize point cloud data?

I'm in the early stages of developing a web-based visualization for multiple GIS data sources (imagery, vector data sets, terrain, point cloud...etc). I am using the Cesium javascript library for ...
3
votes
0answers
100 views

Cesium pinBuilder with remote URL

Does anyone have an example of using the Cesium pinBuilder with a remote URL? All the examples I have seen use local assets (with buildModuleUrl()) This is what I'm trying: var pinBuilder = new ...
1
vote
0answers
153 views

User draw a polygon on a Resium map

Does anyone have an idea of how you could allow the user to draw a polygon on a resium map? Resium is a react library using cesium. I have an app that has entities placed on the map and I'd like to ...
2
votes
0answers
67 views

Conversion of height systems

If I have a vector dataset with XYZ data and convert it with QGIS from EPSG:31468 to EPSG:4979, for example, and the heights (z) are based on EPSG:31468. Will these values also be converted to the ...
1
vote
1answer
356 views

Build CityGML Buildings from OBJ files of OpenDroneMap

I have .obj 3D mesh files after running OpenDroneMap on Drone Images. I want to convert them to CityGML buildings so that I can put them on Cesium Globe. How can I do this?
3
votes
1answer
184 views

90 angle between coordinate breaks when applied to world

I have a point A and direction DIR and a distant DIST Let's use A: `longitude: 139.33435143, latitude: 35.5385006, altitude: 0` DIR : `longitude: 139.33547146, latitude: 35.54034106, altitude: 0` ...
1
vote
1answer
216 views

Animating Map Layers

Situation: I am new(ish) to the web mapping scene and I have build a web-map using the Cesium API. The scene cycles through a series of 3D polygons representing heatmaps over time. I'm loading the ...
2
votes
0answers
31 views

Why geometryInstances not showing on Cesium 3D model?

I have the following code, but geometryInstances is not showing up on my 3D model. propertyPlacemark.push(viewer.entities.add({ geometryInstances : new Cesium.GeometryInstance({ ...
1
vote
0answers
13 views

Making Y plane follow direction of building

Here is my current code: var viewer = new Cesium.Viewer('cesiumContainer'); var redPlane = viewer.entities.add({ name : 'Red plane with black outline', position: Cesium.Cartesian3.fromDegrees(...
1
vote
0answers
68 views

How to colour code the building floors?

I would like to color code floors (like the one in the picture). How do I go about doing it? My 3d model is in glTF format. I am using cesium as webclient platform.
0
votes
0answers
34 views

How do I show floors to on a polygon using CesiumJs

I have a gltf 3D building model on cesium. I would like to color code the range of floors. i.e. 2-5 floor, red 5-10 blue etc. How do I go about doing this?

1
2 3 4 5