How to add a layer with a spatial reference different from WGS84(eg GCS2000 WKID=4490)

195 views
Skip to first unread message

yxf...@yahoo.com

unread,
Sep 5, 2018, 7:33:14 AM9/5/18
to cesium-dev
        I had add a imageryLayer whose spatial reference was wkid=4490. I got an error which indicated that wkid=4490 was not supported.
How should I fix this problem.
       Besides, where can I configure the tileMatrixSet like this:
  1.  "lods": [{
  2.            "level": "EPSG:900913:8",
  3.            "scale": 2183915.0935581755,
  4.            "resolution": 611.4962261962892
  5.          }, {
  6.            "level": "EPSG:900913:9",
  7.            "scale": 1091957.5467790877,
  8.            "resolution": 305.7481130981446
  9.          }, {
  10.            "level": "EPSG:900913:10",
  11.            "scale": 545978.7733895439,
  12.            "resolution": 152.8740565490723
  13.          }, {
  14.            "level": "EPSG:900913:11",
  15.            "scale": 272989.38669477194,
  16.            "resolution": 76.43702827453615
  17.          }, {
  18.            "level": "EPSG:900913:12",
  19.            "scale": 136494.69334738597,
  20.            "resolution": 38.21851413726807
  21.          }, {
  22.            "level": "EPSG:900913:13",
  23.            "scale": 68247.34667369298,
  24.            "resolution": 19.109257068634037
  25.          }, {
  26.             "level": "EPSG:900913:14",
  27.            "scale": 34123.67333684649,
  28.            "resolution": 9.554628534317018
  29.          }


Omar Shehata

unread,
Sep 7, 2018, 10:42:07 AM9/7/18
to cesium-dev
Is this the projection you're talking about? 


We have an issue open to add more projection support (https://github.com/AnalyticalGraphicsInc/cesium/issues/3877). For now the easiest thing would be to re-project it into WGS84. As for the tileMatrixSet question, if you're uploading data to ion (cesium.com/ion) you just upload the highest resolution and ion automatically generates the tiles at different levels of detail. 
Reply all
Reply to author
Forward
0 new messages