You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/advanced-topics.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,6 @@ values. If the latitude and longitude are received as separate measures, the
58
58
"entity_type": "GPS",
59
59
"resource": "/iot/d",
60
60
"protocol": "PDI-IoTA-JSON",
61
-
"autocastGeoJSON" : "Point,LineString,Polygon"
62
61
..etc
63
62
"attributes": [
64
63
{
@@ -81,7 +80,7 @@ the following formats:
81
80
"name": "location",
82
81
"value": "23, 12.5"
83
82
}
84
-
````
83
+
```
85
84
86
85
- an array of numbers
87
86
@@ -104,12 +103,18 @@ the following formats:
104
103
}
105
104
```
106
105
107
-
Because GeoJSON types (e.g. `Point`, `LineString` etc.) are native types in NGSI-LD, automatic GeoJSON convertion is switched on for NGSI-LD by default.
106
+
Because GeoJSON types (e.g. `Point`, `LineString` etc.) are native types in **NGSI-LD**, automatic GeoJSON convertion is switched on for NGSI-LD by default.
108
107
109
-
With NGSI-v2, for backwards compatibility reasons, automatic GeoJSON conversion for types other than `geo:json` is turned off by default.
108
+
With **NGSI-v2**, for backwards compatibility reasons, automatic GeoJSON conversion for types other than `geo:json` is turned off by default.
110
109
Add the `config.autocastGeoJSON` configuration to enable GeoJSON conversion
111
110
and supply a comma delimited list of additional types to convert.
112
111
112
+
```json
113
+
{
114
+
"autocastGeoJSON" : "Point,LineString,Polygon"
115
+
}
116
+
```
117
+
113
118
### Metadata support
114
119
115
120
Both `attributes` and `static_attributes` may be supplied with metadata when provisioning an IoT Agent, so that the
0 commit comments