cesium icon indicating copy to clipboard operation
cesium copied to clipboard

different projections

Open deRightDirection opened this issue 9 years ago • 23 comments

i assume the cesium globe needs 4326 as projection for displaying data.

i tried one ArcGIS service which has a different projection and is not drawn on the cesium globe. I did the same exercise with a service in 4326 and perfectly drawn around the globe.

my conclusion is that the projections matters and of course it does. does the Cesium.ArcGisMapServerImageryProvider has a property where i can set the output spatial reference? I assume the Cesium object uses exportmap-function for retrieving the picture to be drawn on the globe.

In the Esri ArcGIS Rest interface there is a property for exportmap (imageSR) where you can set the requested spatial reference. I think if i can use this property inside the Cesium-object the issue I have right now will be resolved.

deRightDirection avatar Apr 25 '16 07:04 deRightDirection

Hello @MannusEtten I'm not exactly sure what problem you are seeing. We recently fixed a bug for ArcGisMapServerImageryProvider where using a web mercator projection was resulting in a crash. This will be fixed in the next release. Is that the problem you are having? Thanks!

hpinkos avatar Apr 26 '16 21:04 hpinkos

no that is not the problem, the problem is pretty easy:

  • use a mapservice without a web mercator or wgs84 projection and there is nothing to see on the cesium-globe

deRightDirection avatar Apr 28 '16 14:04 deRightDirection

@MannusEtten Cesium currently only supports web mercator and WGS84. Do you have a way to re-project your imagery? Projecting it to WGS84 would be ideal.

hpinkos avatar May 05 '16 15:05 hpinkos

CC #2084 and #3824

pjcozzi avatar Jan 02 '17 19:01 pjcozzi

EPSG:3395 was requested in #2084

pjcozzi avatar Jun 14 '17 18:06 pjcozzi

OSGB36 was requested in #3824

pjcozzi avatar Jun 14 '17 20:06 pjcozzi

There seems to be a lot of interest in different projections/ellipsoids lately.

OmarShehata avatar Sep 12 '18 12:09 OmarShehata

Cesium currently only supports web mercator and WGS84

Can you clarify what is meant here by WGS84?

WGS84 is an ellipsoid, not a projection.

Does it mean any projection that uses the WGS84 ellipsoid? or does it mean a specific projection that uses that ellipsoid, such as epsg:4326?

Just for pendants:

WGS 84 (that spelling) is the name of an ellipsoid (EPSG::7030), the name of a geodetic coordinate reference system (EPSG::4326), and the alias of a datum (EPSG::6326), official name World Geodetic System 1984.

WGS84 (no space) is the alias of the ellipsoid (EPSG::7030).

nmtoken avatar Jan 21 '19 12:01 nmtoken

@nmtoken I think that means specifically EPSG:4326 but @hpinkos can correct me if I'm wrong.

OmarShehata avatar Jan 21 '19 13:01 OmarShehata

So just double-checking (using the EPSG WKT definition):

GEODCRS["WGS 84",
  DATUM["World Geodetic System 1984",
    ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1.0]]],
  CS[ellipsoidal,2],
    AXIS["latitude",north,ORDER[1]],
    AXIS["longitude",east,ORDER[2]],
    ANGLEUNIT["degree",0.01745329252],
  ID["EPSG",4326]]

Cesium expects coordinates in Lat/Lon order?

nmtoken avatar Jan 21 '19 14:01 nmtoken

Cesium supports map image data in Web Mercator or Plate Carree/Equirectangular projections. This issue captures community interest in having native support for other projections.

Coordinate data must be provided in x/y/z (lon/lat/height) order.

GatorScott avatar Jan 21 '19 15:01 GatorScott

Coordinate data must be provided in x/y/z (lon/lat/height) order.

Thanks@GatorScott so explicitly that's not EPSG:4326

nmtoken avatar Jan 21 '19 16:01 nmtoken

This issue captures community interest in having native support for other projections.

As I have a web service that doesn't support CRS:84 (it's not a WMS), it would be nice if Cesium could indeed support EPSG:4326.

nmtoken avatar Jan 21 '19 17:01 nmtoken

WKID 4490 requested here https://github.com/AnalyticalGraphicsInc/cesium/issues/8522.

OmarShehata avatar Feb 06 '20 15:02 OmarShehata

Another request for EPSG 4490: https://github.com/CesiumGS/cesium/issues/10782

ggetz avatar Sep 13 '22 17:09 ggetz

A request for Lambert Conformal Conic Projection in #11096.

ggetz avatar Feb 27 '23 15:02 ggetz

seven years have not solved!

abigstupidbear avatar Apr 01 '23 16:04 abigstupidbear

I'd like to know how this issue is currently progressing and if the EPSG 4490 can be supported, which would be a great help for my current project, thanks!

MangMax avatar Jun 22 '23 14:06 MangMax

There hasn't been any activity on this item recently. But thank you for your input!

ggetz avatar Jun 28 '23 14:06 ggetz

ESPG:3857 requested in https://github.com/CesiumGS/cesium/issues/11428.

ggetz avatar Jul 31 '23 12:07 ggetz

EPSG:2932 QND95 / Qatar National Grid

ayacoub1 avatar Oct 04 '23 12:10 ayacoub1

I'm also having issue to render data that has EPSG 3879 in cesium environment; can someone help? My data is gLtf Tiles format .

alaasquan avatar Jun 02 '24 11:06 alaasquan