-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
ModelThis issue concerns the mapget feature model.This issue concerns the mapget feature model.
Description
Currently, when Geometry name is not set, it is still exposed in JSON as an empty string - this should not be the case:
{
"areaId": "TheBestArea",
"geometry":
{
"geometries":
[
{
"coordinates":
[
[
41.0,
10.0,
0.0
],
[
43.0,
11.0,
0.0
]
],
"name": "",
"type": "LineString"
},
{
"coordinates":
[
[
41.5,
10.5,
0.0
]
],
"name": "",
"type": "MultiPoint"
},
{
"coordinates":
[
[
41.5,
10.5,
0.0
],
[
41.600000001490116,
10.700000002980232,
0.0
]
],
"name": "",
"type": "MultiPoint"
},
{
"coordinates":
[
[
41.5,
10.5,
0.0
],
[
41.600000001490116,
10.700000002980232,
0.0
]
],
"name": "",
"type": "LineString"
},
{
"coordinates":
[
[
[
[
41.5,
10.5,
0.0
],
[
41.5,
10.299999997019768,
0.0
],
[
41.600000001490116,
10.700000002980232,
0.0
],
[
41.5,
10.5,
0.0
]
]
]
],
"name": "",
"type": "MultiPolygon"
},
{
"coordinates":
[
[
[
41.5,
10.5,
0.0
],
[
41.600000001490116,
10.700000002980232,
0.0
],
[
41.5,
10.299999997019768,
0.0
],
[
41.80000001192093,
10.900000005960464,
0.0
],
[
41.5,
10.5,
0.0
]
]
],
"name": "",
"type": "Polygon"
},
{
"coordinates":
[
[
[
0.0,
1.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
1.0,
0.0,
0.0
],
[
1.0,
1.0,
0.0
],
[
0.0,
1.0,
0.0
]
]
],
"name": "",
"type": "Polygon"
},
{
"coordinates":
[
[
[
1.0,
0.0,
0.0
],
[
2.0,
0.0,
0.0
],
[
2.0,
1.0,
0.0
],
[
1.0,
1.0,
0.0
],
[
1.0,
0.0,
0.0
]
]
],
"name": "",
"type": "Polygon"
},
{
"coordinates":
[
[
[
2.0,
1.0,
0.0
],
[
3.0,
1.0,
1.0
],
[
3.0,
0.0,
2.0
],
[
2.0,
0.0,
3.0
],
[
2.0,
1.0,
0.0
]
]
],
"name": "",
"type": "Polygon"
},
{
"coordinates":
[
[
[
[
3.0,
0.0,
0.0
],
[
4.0,
0.0,
0.0
],
[
4.0,
1.0,
0.0
],
[
3.0,
0.0,
0.0
]
]
],
[
[
[
4.0,
1.0,
0.0
],
[
3.0,
0.0,
0.0
],
[
3.0,
1.0,
0.0
],
[
4.0,
1.0,
0.0
]
]
]
],
"name": "",
"type": "MultiPolygon"
}
],
"type": "GeometryCollection"
},
"id": "Way.TheBestArea.42",
"layerId": "WayLayer",
"mapId": "Tropico",
"properties":
{
"layer":
{
"cheese":
{
"mozzarella":
{
"smell": "neutral",
"validity":
[
{
"direction": "POSITIVE"
}
]
}
}
},
"main_ingredient": "Pepper"
},
"type": "Feature",
"typeId": "Way",
"wayId": 42
}Metadata
Metadata
Assignees
Labels
ModelThis issue concerns the mapget feature model.This issue concerns the mapget feature model.