Current implementation is wrong (or unclear) for a Polygon geometry
The current Polygon examples are wrong. The code is fine.
The GeoJSON specification says:
- A Polygon is a list of linear rings.
- A linear ring is list of coordinates points.
So a typical TFCat Polygon should write:
{"coordinates": [
[
[653984400.0, 26.69173],
[653987760.0, 18.646618],
[653987940.0, 26.390978],
[653984400.0, 26.69173]
]
], "type": "Polygon"}
Whereas current examples are:
{"coordinates": [
[653984400.0, 26.69173],
[653987760.0, 18.646618],
[653987940.0, 26.390978],
[653984400.0, 26.69173]
], "type": "Polygon"}
Edited by Cecconi Baptiste