Skip to content

GeoJSON renders incorrectly with default Rhumb arc type #8042

Open
@ezze

Description

@ezze

I'm using Cesium 1.60.0 and trying to load GeoJSON describing borders of Russia. I extracted this GeoJSON from shape files found on NaturalEarth (1:50m resolution, cultural). Unfortunately, Cesium does something wrong while rendering the GeoJSON. Seems like it draws polygon lines between points that should not be connected with each other.

I report this issue because this GeoJSON is displayed as expected with another software such as QGIS.

Sandcastle example

var viewer = new Cesium.Viewer('cesiumContainer');
viewer.dataSources.add(Cesium.GeoJsonDataSource.load('https://gist.githubusercontent.com/ezze/98a77f60cab8d24613f440599bece3a5/raw/9ac4498a1f0d3f3c80792a73a52672f1c847f43d/russia.json'));

1

Cesium doesn't display GeoJSON properly

2

QGIS displays GeoJSON as expected

3

geojson.io displays GeoJSON as expected

4

mapshaper.org displays GeoJSON as expected

Browser: Chromium Version 75.0.3770.142 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)

Operating System: Kubuntu 18.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions