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

Host .tfw files and images on local MapProxy server

I have a collection of files as PNGs and .tfw buddy files. How can I add them to my MapProxy server in order for Cesium for Unreal to fetch? I've read the MapProxy installation & configuration ...
user avatar
0 votes
0 answers
19 views

Glitch in cesium clustering

There is problem witch rendering label for clustered points with billboards as background. It works perfectly for low zoom levels, but when I zoom out the globe the glitch in labels appears eventSet....
user avatar
  • 341
0 votes
0 answers
12 views

Static Heatmap in Geoserver [duplicate]

Is it possible to prepare SLD style for static(without recalculating per zoom level) heatmaps and served it as WMS layer? I have dynamic wms layer with heatmap but it looks very bad on Cesium 3d globe....
user avatar
  • 341
1 vote
1 answer
65 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 ...
user avatar
  • 341
2 votes
1 answer
66 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. ...
user avatar
1 vote
0 answers
34 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 ...
user avatar
  • 1,836
0 votes
0 answers
85 views

How to display GeoJSON on Cesium

I've a Django app that lets you run a spatial query and displays the result in the form of a GeoJSON polygon or geometry on a Leaflet map. Here's how I did it on Leaflet: I store the geometry in an ...
user avatar
1 vote
0 answers
37 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 ...
user avatar
1 vote
2 answers
77 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 ...
user avatar
  • 1,836
0 votes
0 answers
30 views

Loading Entities as GML

Is there any way to load GML files like we do with GeoJSON/KML? I need to load a GML as string like this: "<gml:Polygon srsName=\"http://www.opengis.net/gml/srs/epsg.xml#4326\" ...
user avatar
  • 1,836
0 votes
0 answers
46 views

What is the color components range in Cesium Color?

I have a point cloud working on my cesium. Now I need to size the points based on its color. At first approach I'm using only the RED component to make some tests, but I spend hours with no result. ...
user avatar
  • 1,836
0 votes
0 answers
45 views

Extending terriamap measurement tools functionality

I want to extend the existing measurement tools that terriamap has with a functionality that can measure volume on building/3D model that overlayed on the map. I've seen that the tools consist of two ...
user avatar
  • 1
0 votes
0 answers
90 views

Self hosting Terrain for Cesium on Local Network (no internet connectivity) using Windows

I am running a WebGIS application on a closed network by using QGIS-server GeoServer OpenLayers and Cesium. How do I host my own Terrain Provider for cesium from DEM files in .tiff format? I followed ...
user avatar
  • 41
2 votes
3 answers
445 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 ...
user avatar
  • 41
0 votes
0 answers
19 views

Any way to have OpenLayers-like features on Cesium?

I'm using Cesium because I need its 3D feature but I really don't like its way to draw elements on screen. While OpenLayers have a cool div drawing of Features on map, on Cesium we have only ...
user avatar
  • 1,836
0 votes
1 answer
65 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 ...
user avatar
  • 173
2 votes
1 answer
85 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 ...
user avatar
  • 1,836
0 votes
0 answers
39 views

Why is my globe so sharp?

I think I'm creating the Cesium globe in a wrong way. It don't have a smoothy contour like in Cesium Sandcastle. What parameter do this control? Note: I'm using my own terrain provider based on NASA ...
user avatar
  • 1,836
0 votes
0 answers
81 views

How can I draw an arrow pointing to a direction?

I have this piece of code to draw an arrow. Now I need to draw a few of this pointing to a given bearing angle. this.viewer.entities.add({ name : 'Red line on the surface', polyline : {...
user avatar
  • 1,836
3 votes
1 answer
130 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 ...
user avatar
  • 713
0 votes
0 answers
100 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 ...
user avatar
1 vote
0 answers
102 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 ...
user avatar
  • 190
0 votes
0 answers
154 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 ...
user avatar
  • 190
1 vote
1 answer
203 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 ...
user avatar
  • 190
1 vote
1 answer
114 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 ...
user avatar
2 votes
2 answers
466 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 ...
user avatar
  • 31
3 votes
2 answers
316 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 ...
user avatar
  • 173
3 votes
2 answers
435 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 ...
user avatar
  • 173
1 vote
1 answer
93 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. ...
user avatar
  • 6,698
1 vote
1 answer
261 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, ...
user avatar
  • 29
2 votes
0 answers
281 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 ...
user avatar
  • 121
3 votes
0 answers
265 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 ...
user avatar
  • 6,698
-1 votes
1 answer
217 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?
user avatar
4 votes
1 answer
241 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 ...
user avatar
  • 6,698
1 vote
0 answers
175 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 ...
user avatar
  • 6,698
2 votes
0 answers
167 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 ...
user avatar
  • 6,698
1 vote
1 answer
1k 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 ...
user avatar
1 vote
0 answers
95 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", ...
user avatar
  • 11
2 votes
2 answers
98 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 ...
user avatar
  • 1,083
1 vote
1 answer
326 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) ...
user avatar
  • 6,698
1 vote
0 answers
126 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 ...
user avatar
  • 111
3 votes
0 answers
366 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 ...
user avatar
  • 111
0 votes
1 answer
318 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?
user avatar
  • 9
0 votes
0 answers
415 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(!...
user avatar
1 vote
0 answers
71 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
user avatar
  • 111
1 vote
0 answers
39 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 ...
user avatar
  • 31
3 votes
1 answer
336 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 = ...
user avatar
  • 231
2 votes
1 answer
832 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 ...
user avatar
  • 329
1 vote
0 answers
78 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 ...
user avatar
  • 5,573
3 votes
0 answers
163 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 ...
user avatar

1
2 3 4 5