Page MenuHomePhabricator

Valid geojson is being rejected by sanitizer
Closed, ResolvedPublic

Description

This produces an error, but it works well at http://geojson.io (this is a line near Gabon)

<mapframe width=600 height=600>
{
  "type": "Feature",
  "id": "Q1000",
  "properties": {},
  "geometry": {
    "type": "GeometryCollection",
    "geometries": [
      {
        "type": "LineString",
        "coordinates": [          
          [
            -20.78146426141457,
            -20.24797277602244
          ],
          [
            20.80974825712424,
            30.094641604394508
          ]
        ]
      }
    ]
  }
}
</mapframe>

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Yurik updated the task description. (Show Details)

Added a test patch (not passing)

Change 311735 had a related patch set uploaded (by Yurik):
Added a GeometryCollection schema test

https://gerrit.wikimedia.org/r/311735

Change 311735 merged by jenkins-bot:
GeometryCollection is a subset of Geometry

https://gerrit.wikimedia.org/r/311735

Change 311974 had a related patch set uploaded (by Yurik):
GeometryCollection is a subset of Geometry

https://gerrit.wikimedia.org/r/311974

Change 311975 had a related patch set uploaded (by Yurik):
GeometryCollection is a subset of Geometry

https://gerrit.wikimedia.org/r/311975

Change 311980 had a related patch set uploaded (by Yurik):
GeometryCollection is a subset of Geometry

https://gerrit.wikimedia.org/r/311980

Change 311975 merged by jenkins-bot:
GeometryCollection is a subset of Geometry

https://gerrit.wikimedia.org/r/311975

Change 311974 merged by jenkins-bot:
GeometryCollection is a subset of Geometry

https://gerrit.wikimedia.org/r/311974

Change 311980 merged by jenkins-bot:
GeometryCollection is a subset of Geometry

https://gerrit.wikimedia.org/r/311980