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

learn more… | top users | synonyms

1
vote
0answers
12 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
19 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
45 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
35 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
41 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
53 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
12 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
23 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
44 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
37 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
39 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 = ...
-1
votes
1answer
39 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
33 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
102 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
69 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
36 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
21 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
36 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 ...
2
votes
1answer
47 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
39 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
37 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
162 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
89 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
247 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
50 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 ...
3
votes
1answer
126 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
330 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
193 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
173 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
404 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
107 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
240 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
231 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
73 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
33 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
194 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
720 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 : ...
-1
votes
1answer
142 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
248 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 ...
3
votes
1answer
282 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
54 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. ...
3
votes
2answers
91 views

Cesium terrain tiles too high by roughly 30m

I'm using the NED 1/3 arc second data set to generate tiles to zoom level 15 for Cape Canaveral in Florida, and finding that the terrain looks accurate in appearance, but the elevation is too high by ...
0
votes
1answer
374 views

Issue with Cesium Terrain Provider

Even after adding blank terrain files at the specific directories : 0/1/ and 0/0/, I still get the error message and a blank globe. This is not an issue with CORS. I am using http-server (node) to ...
0
votes
0answers
71 views

Why drawing features in 2D and 3D are defferent?

I'm using ol3-cesium, I want to draw a feature(like polygon) in globe. For this, I create a 2D map and draw the feature in it. The new feature adding in glob but adding incorrect. My code in jsFiddle ...
1
vote
2answers
284 views

Unable to serve Cesium Terrain files

I am trying to generate 3d Terrain. I am serving the terrain files at localhost:8081 Here is the Cesium Code var viewer = new Cesium.Viewer('cesiumContainer', { baseLayerPicker : false, ...
1
vote
1answer
129 views

Cesium Terrain Builder : Could not open GDAL Dataset

I am trying to run Cesium terrain Builder on Ubuntu 14.04. On running ctb-tile dem.tif I get the error: Error: could not open GDAL datasetERROR 4: `dim.tif' does not exist in the file system, and ...
0
votes
1answer
283 views

Does ol3-cesium accept DEM files?

I'm using OpenLayers 3.6.0. I want to use ol3-cesium. Ol3-cesium use cesium for glob visualization. I have a question: In ol3-cesium, Can I see Ups and downs of land? In other words Does it accept ...
1
vote
1answer
267 views

How to reduce wild swing in Cesium camera.flyTo?

Cesium's camera flyTo produces a pretty wild swing. Try it out by going here: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Cesium%20Widget.html&label=Showcases and paste in this ...
0
votes
1answer
1k views

Interactions in OpenLayers 3 - Cesium?

I went through the oL3- Cesium examples provided on their website. There was an example here which comprised of selecting the features in 2D view and the same will be reflected in the 3D one as well. ...