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
8 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 ...
0
votes
0answers
15 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?
2
votes
1answer
51 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
50 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 ...
0
votes
0answers
9 views

Need explanation for Cesium geometry terms

I need explanation and code example of how to use the following term: Cesium.Plane.ORIGIN_YZ_PLANE I do not understand this link: https://cesium.com/docs/cesiumjs-ref-doc/Plane.html
2
votes
0answers
12 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
12 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
33 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
20 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
vote
0answers
42 views

Get Year from Current Time - CesiumJS

In Styling GeoJSON by Attributes with Cesium I asked about styling a GeoJSON in Cesium. Now that i have resolved that, I am trying to animate my Cesium scene. I have added a clock to my Cesium scene ...
2
votes
0answers
28 views

Finding nearest tiepoint in aerial triangulation export from Bentley Context Capture in Cesium

I am trying to solve the problem of clicking a point on a 3D tileset loaded by Cesium, and finding the nearest tiepoint corresponding to the clicked point Here are the steps that I have taken: 1) ...
1
vote
1answer
98 views

Styling GeoJSON by Attributes with Cesium

Situation: I have 30 3D heat maps (for 30 years) stored in GeoServer, my goal is to create an animation showing the change year by year. I found Cesium and was really impressed. Right now I am trying ...
0
votes
0answers
57 views

Visualizing KMZ/KML files with Cesium

The situation: I have 30 KML files that show a 3D heatmap with a predetermined style, each kml file represents a year. I have to find a way to animate the KML showing the change year by year in a web ...
2
votes
0answers
50 views

WSG84, GPS, GEOID and other altitudes

INTRO A bit of tool introduction, but the problem is not related to this directly. I have an app in CesiumJS. I am using Cesium World Terrain, and get altitude using Sample Terrain Most Detailed ...
0
votes
0answers
15 views

Custom Cesium3DTileset loader

I'm looking into Cesium point cloud visualization and the possibility to provide data using a custom 'loader'/'data source' and not through URIs as specified by the 3D Tiles Format Specification. This ...
0
votes
0answers
37 views

How often are OSM data in Cesium updated with new OSM data?

When users make edits to OpenStreetMap(OSM), or OSM data gets updated by any other means, how long does it generally take for those edits to show up in Cesium Ion or Cesium Sandcastle? Is this on the ...
1
vote
1answer
66 views

Adding an EPSG:2056 WMTS layer to Cesium

I can implement EPSG:4326 WMTS layers to my Cesium App like this: const imageryProvider = new this.Cesium.WebMapTileServiceImageryProvider({ url: "https://openwms.domain.ch/service/wmts", ...
0
votes
1answer
72 views

Generate Cesium 3-D tiles from shapefile with FME

I'm trying to generate 3-D tiles from a shapefile. Just simple shp reader directly to Cesium 3D tiles writer. It does generate files, but after uploading them to Cesium Ion it does not work. It can'...
3
votes
0answers
94 views

How to convert .OBJ 3D Mesh Georeferenced file generated from OpenDroneMap to .kmz format for Cesium?

I have Open Drone Map Output of a 3D Mesh Object file in .obj extension. I want to convert it into .kmz format to put it into Cesium Ion. How can I convert the files in the picture to a .kmz format ...
0
votes
0answers
28 views

Draping model by WMS service in Cesium

I need to show a small territory 3D model on the Globe. I have a pack of orthos and pointcloud covering it. I chose Cesium + Geoserver WMS service to show orthos at a globe. Service imported in Cesium ...
0
votes
0answers
16 views

Create Geotiff from JPEG or PNG [duplicate]

I'm working on creating maps using Cesium. Now my client needs to export the viewport map to an image. I'm already exporting to PNG/JPEG but now I need to create a GeoTiff. Is there any way to ...
1
vote
0answers
92 views

Adding Models dynamically to fit the polygons size Cesium JS

I am trying to add 3D glb models to fit the parcel/geom size of the polygon. What i wish to do is that the model should sit within the boundary of the polygon and fit to the polygon size. I have a ...
0
votes
0answers
32 views

Draw a line in Cesium?

Is it possible to draw a line in Cesium with only the following parameters: Start point Lat/Long Start point altitude Line course Line Slope Line length I am trying to depict an approach path for an ...
4
votes
1answer
37 views

Plotting great circle lines in Cesium (just getting started)?

How does one plot Great circle lines in Cesium (3D, not 2D) using the WGS84 ellipsoid? I found something like this in another thread but I'm having trouble applying it to my application (simply ...
1
vote
1answer
227 views

Cesium projection system

Please Note I am using viewer.scene.pickPosition as I need to draw on the terrain and I am NOT using viewer.camera.pickEllipsoid I am using the following code var earthPosition = viewer.scene....
4
votes
2answers
156 views

Using GeoWebCache as offline layer server?

I'm trying to use a Geoserver external WMS service in a offline environment. First I put my own geoserver online and configure a WMS store pointig to the desired source. Next I publish the desired ...
0
votes
0answers
48 views

Interpolating polyline in Cesium?

I have a line on map ( actualy is a polyline ) and need to move the camera or an entity model along it. The examples I've seen uses only path with czml but I need something more simple like divide ...
1
vote
0answers
37 views

My point cloud orientation is very wrong

I'm trying to load a cloud point using Cesium and Entwine. This is my code until now: First I convert a LAS file to EPT using this tutorial but need to convert projection to EPSG:4978. entwine ...
0
votes
0answers
41 views

Displaying rtmp live stream video in Cesium?

I would like to display an rtmp stream video in Cesium. I created an entity and used the <video> element as its material. When I use video stored locally (in .mp4 format) it worked fine, but ...
1
vote
1answer
138 views

My 3D polygons are being drawn below terrain

I'm importing a JSON file with polygons but I can't put them at the terrain ground level. They insist to be below the terrain. I've created my own terrain server using DEM SRTM and the docker tumgis/...
3
votes
1answer
272 views

Converting Entity to GeoJSON with Cesium

I know there is a way to load entities from a GeoJSON using GeoJsonDataSource but is there any way to do the opposite: get any entity as a GeoJSON representation? My goal is to use Turf.JS with ...
0
votes
0answers
276 views

Calculate the area of a polygon with Cesium

I'm trying to build a tool to simply calculate an area using Cesium. My first try and best bet is this code: function measureArea() { var tooltip = document.getElementById("ToolTip"); var ...
3
votes
1answer
157 views

Drawing camera lines until frustum rectangle using Cesium?

I'm trying to draw a nice polygon like this to create my own sensor since we must to pay to have one from Cesium. My goal is to make realtime viewshed analysis. For now I'm just making some tests. I ...
0
votes
0answers
121 views

GeoJSON Polygons floating over the ground when extruded

I'm loading a GeoJSON from a file. When I use it as plain polygons, it fits on the ground perfectly (well, just over the MWS layer from same source that draw same polygons), but when I extrude the ...
1
vote
0answers
97 views

How to draw a Polyline using a Cartesian array?

I need to draw a polyline using the mouse click. All examples I've found only show the polyline positions using a Cesium.Cartesian3.fromDegreesArray: var glowingLine = viewer.entities.add({ name ...
1
vote
0answers
89 views

Getting real north direction or real heading?

I try to get the north direction in a Cesium globe but it seems to always point to the viewer perspective. Follow the compass instrument on top of the map: This image I'm pointing (correctly?) to ...
1
vote
2answers
120 views

How can I get back my Entity from a Primitive and change its color?

I put an Entity (Rectangle) on the map: var greenRectangle = viewer.entities.add({ name : 'The Area', rectangle : { coordinates : rectangleSelector, material : Cesium.Color....
0
votes
1answer
57 views

how to create a city map

I would like to create a map of a small zone in Cesium. It would be a 3d map, with some building appearing with real size like this => https://cesiumjs.org/NewYork/ I have searched about how to do ...
3
votes
1answer
634 views

Drawing polygon using mouse click in Cesium?

I need to draw a polygon dynamically using my mouse. I can do this very easy in OpenLayers but I'm very new in Cesium and can't find any tutorials to do it. Many examples only show how to create a ...
0
votes
1answer
266 views

Cesium and KML altitude

I have the following KML file which is a cube: </Placemark> <Style id="3Dobject"> <PolyStyle> <color>7fff5500</color> <outline>1</outline&...
0
votes
0answers
55 views

Converting Cesium3DTileset into LAS or LAZ files

I got the json file and five .b3dm model files from this SandCastle example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=3D%20Tiles%20Adjust%20Height.html I want to convert them into .LAS ...
0
votes
0answers
112 views

How to obtain value from input tag in '3D Globe Panel for Grafana' plugin

I am attempting to slightly modify a Grafana plugin that is located here: https://github.com/satellogic/grafana-3d-globe-panel In essence, I need to create some additional fields in the editor.html ...
4
votes
1answer
308 views

WGS84 to MSL and opposite

I am using CesiumJS to create point in a map using World Terrain to get the elevation of my points. The point in Cesium are using WSG84. When I calculate the altitude using sampleTerrain I retrieve ...
1
vote
0answers
275 views

How to convert Lat, Lon, Alt to ECEF and EPSG 4979?

I am programmatically generating data to use in Cesium's 3D Tile System. The data I have is in (Latitude, Longitude, Altitude) format. To display the data in Cesium, I have to first define a region to ...
2
votes
0answers
108 views

What would cause a Cesium 3D-Tiles tileset to not even request it's content?

I am generating an I3DM through Python. I know that the I3DM is probably ok, since the 3d-tiles-tools allow me to extract the binary GLTF file from it. However, when I go to render the tileset in ...
0
votes
1answer
42 views

Understanding gap in Cesiumjs bar chart?

I use Cesiumjs to create a bar chart. I don't understand why there is a gap in the bar? Code Link var viewer = new Cesium.Viewer('cesiumContainer'); viewer.scene.globe....
1
vote
1answer
32 views

Attach the bar's bottom to a location in 3D Cesium

I have the code below on web site cesiumjs. Is there any way that I can fix the bar's bottom at the location (37.786805,-122.45475) on the Earth's surface? The bar here looks like its bottom moves ...
3
votes
1answer
298 views

Using “Show” property in Cesium to turn on and off layers doesn't reflect on viewer

I am visualizing a geoJSON datasource in Cesium. I have tied it to a checkbox to modify the "show" property in order to turn it on and off after it is added to the viewer (not adding/removing the ...
3
votes
0answers
211 views

Drawing 3D flight path in Cesium?

I've been trying to draw 3D flight path in Cesium without any success. I followed the answer from Drawing flying/moving line on Cesium? However, this only renders a segment of flight path floating in ...
2
votes
1answer
377 views

I can't see my WMS layer on Cesium Globe scene

After insert a WMS layer in my Cesium, I can see in my browser that the images are comming from Geoserver but they are not visible in the globe. Here is the code ( commented lines are because I'm ...