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

learn more… | top users | synonyms

0
votes
0answers
9 views

Unable to generate tiles using gdal2tiles.py for a single band gray image

I am using and playing around with Cesium at the moment, and I am enjoying the functionality so far. I am trying to provide my own imagery to Cesium with the TMS imagery provider: imageryProvider: ...
-1
votes
0answers
23 views

Leaflet & Cesium integration for 2D & 3D view [on hold]

I'm not a developer, but please allow me a question. I try to create an interactive map (non-profit) in Leaflet with old town plans (WMS) and add a layer for historical photos (Geotagged Photo Leaflet-...
0
votes
0answers
8 views

Cesium library: error with constructor OLCesium

I receive the error olcs.OLCesium is not a constructor from line var ol3d = new olcs.OLCesium({map: ol2d}); taken here my index.html looks like: <script type="text/javascript" src="libs/v3.16.0-...
0
votes
0answers
12 views

finding orientation of nitf to display on cesium js globe

I am trying to display my nitfs on a cesium js globe. My first hope was to build kml of tiles and zip into a kmz file. This worked great in google earth, but cesium js does not support this. Their ...
1
vote
0answers
34 views

Going to the zoomed view of a particular 3Dbuilding using an URL in cesium API

I have a cesium application which shows 3d buildings for an area. What I want is if I give some URL it should go to the zoomed view of a particular building. Say for ex: if I give http://localhost:...
1
vote
1answer
14 views

Right-to-left label for cesiumjs

I am trying to use right to left language in CesiumJS label, but the result is reverse ordered. What can I do? viewer.entities.add({ position : Cesium.Cartesian3.fromDegrees(-75.59777, 40....
0
votes
1answer
16 views

ol3-cesium cant see Globe

i download release ol3-cesium on my compute from https://github.com/openlayers/ol3-cesium/releases/ and when I open examples from foldet it dont show 3D glob or vector data. When I open same examples ...
1
vote
1answer
14 views

KML for Labels in Cesium to Display Countries, States, Roads, etc

Is there a free way to display countries, states, roads, etc. in Cesium? I imagine these could be displayed using a comprehensive list of ground overlays in KML. I have looked for free sources of KML ...
1
vote
0answers
18 views

Arcs (Circle Segments) in Cesium

Cesium polylines follow the curvature of the earth, between two points, by default. How do I make arcs, which go above the ground, like in this example? http://armsglobe.chromeexperiments.com/
2
votes
0answers
33 views

Line Layer seems to be floating and shifted after adding terrain effect in Cesium

I had made add a line layer using cesium. In which i had added a terrain effect using the standard cesium terrain provider as below var dataSource1 = new Cesium.GeoJsonDataSource(); var roads = ...
2
votes
0answers
58 views

How to show a 2.5D surface of raster above terrain layer in Cesium?

I'm developing an web application that will show surfaces of rasters and terrain. These rasters are on GeoTiff format. I learned from example cesium can show image overlays earth surface. The ...
1
vote
0answers
51 views

Load 3D models on globe or 2D map

I'm using ol3, ol3-cesium for creating 2D map & 3D globe. These things are getting used at backend 1) tinyows 2) map server 3) postgis Now I want load 3D models on my map and globe. Lots of ...
2
votes
1answer
48 views

Remove terrainProvider from scene (ol3-cesium)

I'm using ol3-cesium for creating 3D globe and cesium terrain provider to show terrain data on globe its working fine. this.scene.terrainProvider = new Cesium.CesiumTerrainProvider({ url : "http://" ...
2
votes
2answers
65 views

OpenLayers 3 / Cesium polygon projection issue

I am using OpenLayers 3 and Cesium (via ol3-cesium). I have created a few rectangles (using a MultiPolygon) stacked on top of each other. Whereas in OpenLayers the rendering (left) is as expected, ...
1
vote
1answer
14 views

Viewing the data without any background imagery in Cesium

Is there a way to completely disable the background imagery in cesium? I would like to see only my data without any background imagery. Is this possible?
1
vote
0answers
26 views

Labels overlaps and more spaces between letters in cesium

I have a geojson loaded in cesium and also i had added labels for the layer with below code positions = entity.polygon.hierarchy['_value'].positions; //console.log(positions); center ...
0
votes
0answers
62 views

Accessing a WMS layer from geoserver and adding it in cesium globe

I had tried adding a WMS layer from geoserver to cesium globes by below code var widget = new Cesium.CesiumWidget('cesiumContainer'); var url='http://localhost:8080/geoserver/wms'; //Geoserver URL ...
2
votes
1answer
53 views

Adding labels in cesium

I tried adding labels to my cesium application using the below code var entities3 = dataSource3.entities.values; var colorHash = {}; for (var i = 0; i < entities3.length; i++) { ...
1
vote
1answer
74 views

Viewing a point geojson layer as markers in cesium

I have a point geojson layer and i would like to add and view it using cesium. I tried with the below code var dataSource1 = new Cesium.GeoJsonDataSource(); var roads = dataSource1.load('Apps/...
-1
votes
1answer
46 views

Adding own logo to the bottom of the cesium application

I would like to add my own logo at the bottom of the cesium application. I would like to know which file in cesium should use to make this possible.
0
votes
0answers
51 views

Adding intelligent search box to cesium for implementing search within layer from server side?

There is a default search box in cesium to search by address or by landmark. Now i want to add a intelligent search box to search within the layer. I would like to know how to add such search box and ...
1
vote
1answer
169 views

3D OSM buildings seems to be floating and shifted after adding terrain effect in Cesium

I had made a 3D view of the osm buildings using cesium. In which i had added a terrain effect using the standard cesium terrain provider as below var viewer = new Cesium.Viewer('cesiumContainer'); ...
1
vote
1answer
113 views

Viewing a geojson as 3D in cesium

I have a geojson with height informations in it. I tried adding the geojson to the scene using var viewer = new Cesium.Viewer('cesiumContainer', { sceneMode : Cesium.SceneMode.SCENE3D, timeline : ...
1
vote
0answers
47 views

Is there any way to use Cesiumjs to import 3D Models using the British National Grid (OSGB36)?

I am trying to import a 3D model (.gltf) into Cesium which is in OSGB36 projection, however I know that Cesiumjs doesn't support British projection natively. I've tried changing the origin of the ...
1
vote
1answer
35 views

How do get North, East, South, or West bounds from Cesium map?

I see that there is an option that allows for one to set the view if you provide the coordinates for these bounds, but nowhere in the documentation do I see anything pertaining to retrieving these ...
0
votes
0answers
43 views

OpenLayers 3 Cesium - NaN coordinates

I had a openlayers 3 map with EPSG:4258 as view's projection and some layers into it. Now I would like to use Cesium and be able to switch 2D/3D map. I follow the steps from his repository https://...
2
votes
1answer
55 views

List of coordinates for earth locations in Cesium?

All of the examples in Cesium show coordinates for the locations in the code. For example, for Wyoming they show the following. Where can we get these coordinates from? If I want to do Arkansas, is ...
0
votes
0answers
52 views

How ceisum can get the correct display layer at different zoom levels from geoserver?

When I published a layer using geoserver's PostGIS module (PostGIS Database), I couldn't find all of my features at a certain level. But when I kept zooming in, they would appear again. How can I fix ...
2
votes
0answers
41 views

How to use TerriaJS in a Rails Application?

I am looking to install TerriaJS as a Cesium/Leaflet replacement for the geospatial piece I have running on my web application. I have looked at Github and the wiki with the TerriaJS application and I ...
2
votes
1answer
205 views

How to show elevation data in cesium

I am publishing postgis data using geoserver with 4 dimensions including elevation. How to show this layer in cesium 3d globe with elevation or displacement value?
1
vote
0answers
95 views

ArcGIS map service and image service in Cesium

Im trying to load an ArcGIS map service in Cesium with WMS protocol but I get this exception: Error: error occurred in "v": Failed to obtain image tile X : 0 Y : 0 Level : 0. When I publish the ...
1
vote
1answer
295 views

Cesium JS Line Length

Is there a method to return the length of a Cesium JS polyline, in real-world units? For example, if I create a polyline: var orangeOutlined = viewer.entities.add({ name : 'Orange line with ...
0
votes
0answers
58 views

ol3 styleFunction not called when in 3D mode with ol3-cesium

I'm using ol 3.11.2 with ol3cesium 1.10. I'm using styleFunctions to style my layers, but in 3D mode, the styles which use an icon for image, like: new ol.style.Style({ image: new ol.style....
3
votes
1answer
142 views

geoserver kml reflector in cesium viewer

Is there any way to use the geoserver kml reflector in cesium viewer? I have millions of features with height value. The geoserver kml reflector works in google earths, but not in cesium.
1
vote
1answer
410 views

WFS height/extrusion in OL3 cesium

I am making a web application with OL3 and have integrated a 3d viewer with cesium. I have two data sets that are being loaded with GeoJSON as vector WFS. Both data sets have height information ...
2
votes
1answer
213 views

GeoJSON: PolyhedralSurface geometry type not supported

I am trying to make a 3D web application which should be able to render 3D buildings (I will be using Cesium, but that is not that important for now). I basically have a database consisting of the 2D ...
1
vote
1answer
183 views

Cesium: Failed to obtain image tile X : 0 Y : 0 Level : 0

I'm trying to make a Cesium-based 3D web-viewer. At the moment I'm stuck with an error. Let me describe the situation: I have a PostGIS database, containing the 3D geometry of a building (which I ...
1
vote
1answer
441 views

Cesium js, Draw line binding a label to a position

I would like to draw a line binding a entity to its label with an offset. CesiumJS allows to offset the label, however its not possible to draw a line (or polyline) from a position to an offset like ...
1
vote
1answer
116 views

How to implement 4D Choropleth Map using cesiumjs?

I want to implement 4D Choropleth Map on cesiumjs. Anyone know how to do it and show me the code?
2
votes
1answer
261 views

Print LABEL text in multiple lines in Cesium JS API

I have a problem printing text in multiple lines using Label in Cesium JavaScript API. text is member of Label class which takes String as input but doesn't really support multiple line labels using '\...
1
vote
0answers
261 views

Setting the initial scene of OL3-Cesium map in Tilt View

I have two maps. One of them is using CesiumJS library, and the other map is using the OpenLayers3-Cesium integration library. What I need to do is set the initial scene of the maps in Tilt View. ...
0
votes
0answers
76 views

Cesium: send sesion ID/cookie in WMS request

I am trying to add a layer from geoserver to my Cesium globe. I do a post request to get a cookie so that I can authenticate the request and access the content in my geoserver. But am having trouble ...
0
votes
1answer
34 views

cesium.camera.flyTo can't be called twice inside a <script> tag

Is cesium.camera.flyTo() function a deferred javascript function? I mean this function is executed only after <script> is parsed. So what if I have to call cesium.camera.flyTo() more than once ...
1
vote
1answer
214 views

Trouble returning wms tile in Cesium, from geoserver, vnd.ogc.se_xml

I am running Cesium in sandbox, and trying to access wms layers from geoserver I am running locally on a virtual machine but having trouble returning the wms data. The request hits the tile image, ...
1
vote
2answers
846 views

How to control the zoom amount in Cesium.Camera.flyTo ?

The following code flies the camera to a particular destination. But how do I control the zoom on the particular destination? viewer.camera.flyTo({ destination : Cesium.Cartesian3....
-1
votes
1answer
154 views

Steps to integrate Cesium.js with Mapguide Opensource [closed]

I render map in php mapviewer with mapguide opensource and postgresql/postgis and edit with mapguide maestro. What would be steps to integrate cesium.js?
0
votes
0answers
270 views

WCS elevation with Cesium + Geoserver

I'm trying to develop an offline demonstrator showing hi-resolution bathymetry data using Cesium 1.11 and Geoserver. I've merged a number of 1/3 arc second areas around Puerto-Rico from NOAA ...
3
votes
2answers
1k views

Is there a way to get offline tile data for Cesium?

I would like to work with Cesium (www.cesiumjs.org) without any internet connection. The documentation provide a guide for working offline and prvides a way to import tiles (see https://github.com/...
3
votes
1answer
317 views

Live data on a web based GIS

I'm looking to implement a 3D/2D tactical display in a browser. This should be capable of plotting maybe 100 tracks and their histories with 0.5 second updates. I've researched the available ...
0
votes
1answer
56 views

Unable to serve .terrain files in cesium sandcastle

I am learning 3d terrain generation using CesiumJS. I generated .terrain files usind Cesium terrain builder and kept them in 'cesium/apps' directory for testing purposes and to avoid CORS issues. ...