Skip to content

Visualising GeoJSON across 180 degree #736

@drandyziegler

Description

@drandyziegler

Visualising objects across the 180 degrees longitude is not working well.

Image

The Item for this is

  "id": "2.49.0.0.554.0.tswarning.mh.20251114034653453.0",
  "bbox": [
    175.6901737210196,
    -40.96669921183746,
    180.0853824789804,
    -37.36941278816254
  ],
  "type": "Feature",
  "links": [
    {
      "rel": "collection",
      "type": "application/json",
      "href": ["https://some-stac-catalogue/collections/thunderstorms"](https://some-stac-catalogue/collections/thunderstorms)
    },
    {
      "rel": "parent",
      "type": "application/json",
      "href": ["https://some-stac-catalogue/collections/thunderstorms"](https://some-stac-catalogue/collections/thunderstorms)
    },
    {
      "rel": "root",
      "type": "application/json",
      "href": ["https://some-stac-catalogue/"](https://some-stac-catalogue/)
    },
    {
      "rel": "self",
      "type": "application/geo+json",
      "href": ["https://some-stac-catalogue/collections/thunderstorms/items/2.49.0.0.554.0.tswarning.mh.20251114034653453.0"](https://some-stac-catalogue/collections/thunderstorms/items/2.49.0.0.554.0.tswarning.mh.20251114034653453.0)
    }
  ],
  "assets": {
    "cap-xml": {
      "href": "/some-path/cap.tswarning.mahia.20251114-164653-453.xml",
      "type": "application/xml",
      "title": "CAP Alert XML"
    }
  },
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          180.0853824789804,
          -39.168056
        ],
        [
          180.0747989686472,
          -38.99175813590252
        ],
        [
          180.0431503626378,
          -38.81715811661051
        ],
        [
          179.9907414543288,
          -38.64593743575583
        ],
        [
          179.91807697015693,
          -38.47974504209388
        ],
        [
          179.8248567088272,
          -38.32018145922559
        ],
        [
          179.7139688018689,
          -38.16878337168034
        ],
        [
          179.58548116044358,
          -38.02700882580378
        ],
        [
          179.44063119077666,
          -37.89622318797458
        ],
        [
          179.28081387725905,
          -37.77768599537971
        ],
        [
          179.10756834798494,
          -37.67253882598291
        ],
        [
          178.92256305210694,
          -37.58179430450472
        ],
        [
          178.72757969175848,
          -37.50632635029301
        ],
        [
          178.5244960632885,
          -37.4468617610018
        ],
        [
          178.31526797305594,
          -37.40397321313263
        ],
        [
          178.10191040194547,
          -37.37807374684673
        ],
        [
          177.887778,
          -37.36941278816254
        ],
        [
          177.67364559805455,
          -37.37807374684673
        ],
        [
          177.46028802694408,
          -37.40397321313263
        ],
        [
          177.25105993671153,
          -37.4468617610018
        ],
        [
          177.04797630824154,
          -37.50632635029301
        ],
        [
          176.85299314789307,
          -37.58179430450472
        ],
        [
          176.66798785201507,
          -37.6725388259829
        ],
        [
          176.49474232274096,
          -37.77768599537971
        ],
        [
          176.33492500922335,
          -37.89622318797458
        ],
        [
          176.19007503955643,
          -38.02700882580378
        ],
        [
          176.0615873981311,
          -38.16878337168034
        ],
        [
          175.95069949117283,
          -38.32018145922559
        ],
        [
          175.8574792298431,
          -38.47974504209387
        ],
        [
          175.7848147456712,
          -38.64593743575583
        ],
        [
          175.73240583736222,
          -38.81715811661051
        ],
        [
          175.7007572313528,
          -38.99175813590252
        ],
        [
          175.6901737210196,
          -39.168056
        ],
        [
          175.7007572313528,
          -39.34435386409749
        ],
        [
          175.73240583736222,
          -39.51895388338949
        ],
        [
          175.7848147456712,
          -39.69017456424417
        ],
        [
          175.8574792298431,
          -39.85636695790613
        ],
        [
          175.95069949117283,
          -40.01593054077441
        ],
        [
          176.0615873981311,
          -40.16732862831967
        ],
        [
          176.19007503955643,
          -40.30910317419622
        ],
        [
          176.33492500922335,
          -40.43988881202542
        ],
        [
          176.49474232274096,
          -40.55842600462029
        ],
        [
          176.66798785201507,
          -40.6635731740171
        ],
        [
          176.85299314789307,
          -40.75431769549528
        ],
        [
          177.04797630824154,
          -40.82978564970699
        ],
        [
          177.25105993671153,
          -40.88925023899821
        ],
        [
          177.46028802694408,
          -40.93213878686737
        ],
        [
          177.67364559805455,
          -40.95803825315327
        ],
        [
          177.887778,
          -40.96669921183746
        ],
        [
          178.10191040194547,
          -40.95803825315327
        ],
        [
          178.31526797305594,
          -40.93213878686737
        ],
        [
          178.5244960632885,
          -40.88925023899821
        ],
        [
          178.72757969175848,
          -40.82978564970699
        ],
        [
          178.92256305210694,
          -40.75431769549528
        ],
        [
          179.10756834798494,
          -40.6635731740171
        ],
        [
          179.28081387725905,
          -40.55842600462029
        ],
        [
          179.44063119077666,
          -40.43988881202542
        ],
        [
          179.58548116044358,
          -40.30910317419622
        ],
        [
          179.7139688018689,
          -40.16732862831967
        ],
        [
          179.8248567088272,
          -40.01593054077441
        ],
        [
          179.91807697015693,
          -39.85636695790613
        ],
        [
          179.9907414543288,
          -39.69017456424417
        ],
        [
          180.0431503626378,
          -39.51895388338949
        ],
        [
          180.0747989686472,
          -39.34435386409749
        ],
        [
          180.0853824789804,
          -39.168056
        ]
      ]
    ]
  },
  "collection": "thunderstorms",
  "properties": {
    "event": "Thunderstorm",
    "scope": "Private",
    "status": "System",
    "msgType": "Update",
    "urgency": "Past",
    "areaDesc": "RADAR <RadarFull>",
    "datetime": "2025-11-14T03:46:53Z",
    "area:name": "RADAR <RadarFull>",
    "alerts:type": "Update",
    "description": "Severe Thunderstorm Warning Lifted",
    "alerts:scope": "Private",
    "alerts:status": "System",
    "alerts:urgency": "Past",
    "alerts:event_type": "Thunderstorm"
  },
  "stac_version": "1.1.0",
  "stac_extensions": [
    ["https://stac-extensions.github.io/alerts/v1.0.0/schema.json"](https://stac-extensions.github.io/alerts/v1.0.0/schema.json),
    ["https://stac-extensions.github.io/area/v1.0.0/schema.json"](https://stac-extensions.github.io/area/v1.0.0/schema.json)
  ]
}````

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions