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
0 answers
26 views

Polygon in Cesium

I try to show a polygon in Cesium, this is my code: const positions = Cesium.Cartesian3.fromRadiansArray([ -1.3194369277314022, 0.6988062530900625, -1.3193955980204217, 0.6988091578771254, ...
Homayoun's user avatar
0 votes
0 answers
20 views

Showing polygon on cesiumJs

I'm trying to show polygon on cesiumJs, like the sample which is demonstrated: https://cesium.com/learn/cesiumjs-learn/cesiumjs-creating-entities/ I used this code: const viewer = new Cesium.Viewer(&...
Homayoun's user avatar
1 vote
0 answers
176 views

Converting GeoTIFF Elevation Data to 3D ZXY Tiles

I have a GeoTIFF file which includes elevation data. I visualized the TIFF by pyplot: from osgeo import gdal import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D #...
Homayoun's user avatar
0 votes
0 answers
58 views

CesiumJS: bad imagery quality (resolution) in very close views

My TMS-Layer displayed in my Cesium-App is very unsharp rendered in a close view. When I zoom out the resolution is perfect. The resolution in the PNG tiles (Zoom-Level 21) is much higher than ...
Stefan Huber's user avatar
1 vote
0 answers
64 views

How do display WMS on demand directly from a webgis app

I’m making a webGIS app based on Cesium Js. I have a node js server for all the server logic, a tomcat server hosting Geoserver to be able to load WMS layer on Cesium. On my app I want to allow the ...
Nicolas Guibal's user avatar
0 votes
1 answer
130 views

Is there a way to download the whole earth satellite image and terrain for Cesium use?

Background: I'm developing some things based on Cesium lib offline(without the internet). So I have to set up a local tile/TMS server for use in offline network conditions. I need some guidance/...
terry's user avatar
  • 1
0 votes
0 answers
270 views

3DTiles from GLTF with geodata

I have several gltf models (road signs). Each gltf represents the road sign type. I have geodata of where these signs should be located (Postgis or raw lat, lon, height) ~ 600000 point. I want to add ...
SMT's user avatar
  • 1
0 votes
1 answer
64 views

White Cesium globe after upload GeoServer WMS layer

I have a problem with my cesium globe. I have want to add a layer on the globe with a GeoServer WMS. The WMS layer appears but it turns the entire globe white. And without the WMS layer everything is ...
Nicolas Guibal's user avatar
0 votes
1 answer
184 views

Converting Geojson with utm values to latlon (To display in Cesium)

I have a GeoJson with coordinate fields which seem to be in UTM: [3840346.36141685, 3270002.87814633] My final goal is to be able to load them correctly using Cesium. To do that, it seems I need to ...
blades's user avatar
  • 21
0 votes
0 answers
113 views

Cesium; No Geoid Terrain service provided - no geoid conversion will be performed

I have this Cesium JS (v1.103) in which I tried to plug an existing I3S service, but it's not working: const viewer = new Cesium.Viewer("cesiumContainer"); let i3SData = new Cesium....
swiss_knight's user avatar
  • 10.1k
0 votes
1 answer
48 views

“CZML” extrude animation error

I wrote the code like this in Cesium 1.100 version. the corresponding time and polygon are recognized, but the height is not recognized. how can i solve it? let czml = ""; setInterval(...
chan's user avatar
  • 11
1 vote
0 answers
141 views

Animating GeoJSON or KML file in Cesium [closed]

https://sandcastle.cesium.com/?src=GeoJSON%20and%20TopoJSON.html I just saw the custom style part of this example. I made a part of a region into a realm. https://sandcastle.cesium.com/?src=CZML%...
chan's user avatar
  • 11
0 votes
1 answer
296 views

3D Extruded LINESTRING exports invalid geoJSON

I am using postGIS and want to create cube from a 2D linestring. I use the ST_Extrude option to create the 3D polygons and combines these with the ST_AsGeoJSON operator to export my individual ...
Alex's user avatar
  • 11
1 vote
0 answers
97 views

How to partly update Cesium mesh terrain dataset?

I started working with mesh terrain to feed cesium and I have a doubt. I have generated the entire planet using the SRTM1 DEM dataset. Now, I would like to generate a more detailed view for zoom 13/14 ...
Diogo's user avatar
  • 11
0 votes
1 answer
166 views

OL-Cesium Uncaught (in promise) SyntaxError

Trying to implement OL-Cesium as an ES6 library following instructions here: https://openlayers.org/ol-cesium/apidoc/#as-an-es6-library-recommended-method Running locally for now and getting the ...
wayoutwest's user avatar
0 votes
1 answer
709 views

How to set GeoServer as source in Cesium for Unreal

In GeoServer, I've created a workspace, store, and layer so that I can see the layer preview of the map imagery I want to serve to Cesium for Unreal. Over in Unreal Engine, I have a Cesium3DTileset ...
Z. Reticulan's user avatar
0 votes
0 answers
286 views

Optimization of geojson data in Cesium viewer

I am trying to build an application that shows a globe with country borders along with US state boundaries. For US state boundaries, I follow https://eric.clst.org/tech/usgeojson/ and World country ...
user207575's user avatar
1 vote
1 answer
352 views

Cesium and GeoServer WMS heatmap

I've got problem with a WMS heatmap layer in cesium. I know how to handle it in OpenLayers (single tile) and in Leaflet (non tiled plugin) but I don't know how to handle it on 3D globe. Here is my ...
pawaelus's user avatar
  • 351
2 votes
1 answer
563 views

OpenLayers/Angular/ol-cesium : Point vectors show on both 2D/3D map / polygons don't

I am working on a existing app made with Angular 13. I use OpenLayers 6+ and the npm package ol-cesium. I have an Angular component where I display a map (2D - OpenLayers). Everything goes as planned. ...
M Matthieu's user avatar
1 vote
0 answers
65 views

Strange behaviour in Z Cartesian axis when creating 3D Point Cloud

I'm working on a tool to convert SRTM data to Cesium 3D Tileset Point Cloud. All is working fine as you see here: And in this video ( subtitle in portuguese): https://youtu.be/zroGesdS-OI Well... My ...
Magno C's user avatar
  • 2,120
2 votes
0 answers
350 views

Generate GLTF/OBJ models from quantized mesh (terrain) in CesiumJS?

I’m exploring ways to generate gltf / obj models from terrain mesh. My goal is to show 3d cut-fill volume calculation, something like the following - I realized that I don’t need to DEM to generate ...
Atul Kumar's user avatar
1 vote
2 answers
514 views

GeoServer changing raster color as scale changes

I have a Sentinel-2 image published on my GeoServer. When I preview the layer, I can see it changes coloring somehow as I zoom in / out. You can see examples in images below (look at the scale values ...
Magno C's user avatar
  • 2,120
3 votes
4 answers
3k views

Cesium on a standalone local network

I have installed geoserver, qgis-server and I am serving raster tiles styling them using openlayers on a local network. Now I need to serve 3d-maps... Can I run cesium on a standalone local network ...
rss's user avatar
  • 61
0 votes
1 answer
472 views

OpenGIS Tile data server for Cesium?

I'm investigating my options for local hosting test GIS data for use with Cesium front ends. I have seen this project: Cesium Terrain Server but it seems quite old. I thought I read somewhere that ...
Geordie's user avatar
  • 173
2 votes
1 answer
262 views

Finding the correct aspect ratio from image

I'm trying to put an image over my map. I know the correct bounding box of it, but when I load it, I see it doesn't fit correctly in the map. Just for curiosity, I cut a piece of map of same region ...
Magno C's user avatar
  • 2,120
3 votes
1 answer
685 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 ...
user35117's user avatar
  • 929
0 votes
0 answers
334 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 ...
Abdurrahman Naufal's user avatar
1 vote
0 answers
325 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 ...
zsoooc's user avatar
  • 349
0 votes
0 answers
315 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 ...
zsoooc's user avatar
  • 349
1 vote
1 answer
547 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 ...
zsoooc's user avatar
  • 349
1 vote
1 answer
351 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 ...
FieryToken's user avatar
2 votes
2 answers
1k 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 ...
DFic_zg's user avatar
  • 31
3 votes
2 answers
716 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 ...
jumpjack's user avatar
  • 182
3 votes
2 answers
972 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 ...
jumpjack's user avatar
  • 182
1 vote
1 answer
193 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. ...
swiss_knight's user avatar
  • 10.1k
1 vote
1 answer
704 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, ...
Saurye's user avatar
  • 29
2 votes
0 answers
576 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 ...
frozenOne's user avatar
  • 121
3 votes
0 answers
368 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 ...
swiss_knight's user avatar
  • 10.1k
-1 votes
1 answer
569 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?
Ben Ferret's user avatar
4 votes
1 answer
852 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 ...
swiss_knight's user avatar
  • 10.1k
1 vote
0 answers
418 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 ...
swiss_knight's user avatar
  • 10.1k
3 votes
0 answers
411 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 ...
swiss_knight's user avatar
  • 10.1k
2 votes
1 answer
3k 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 ...
Pavel Pereverzev's user avatar
1 vote
0 answers
152 views

Tiling 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", ...
semper's user avatar
  • 11
2 votes
2 answers
173 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 ...
ulrich's user avatar
  • 1,130
1 vote
1 answer
676 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) ...
swiss_knight's user avatar
  • 10.1k
1 vote
0 answers
236 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 ...
Crocsx's user avatar
  • 123
3 votes
0 answers
682 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 ...
Crocsx's user avatar
  • 123
1 vote
1 answer
586 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?
mesh's user avatar
  • 19
0 votes
0 answers
949 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(!...
tktsui hko's user avatar

1
2 3 4 5