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
The location attribute gets stored as GeoJSON. When a client queries the attribute, QL returns GeoJSON. We discussed the possibility of having clients specify the format of the returned location value which could be either GeoJSON or NGSI SLF. This would work as follows:
Client specifies format through header or query param.
If specified format = GeoJSON, QL simply returns the content as is.
If specified format = SLF and stored location GeoJSON can be converted to SLF, QL converts the value on the fly before returning it.
If specified format = SLF and stored location GeoJSON cannot be converted to SLF, QL returns the GeoJSON content as is.
Note we need (4) since SLF only offers a subset of the geographical features supported by GeoJSON.
The text was updated successfully, but these errors were encountered:
The location attribute gets stored as GeoJSON. When a client queries the attribute, QL returns GeoJSON. We discussed the possibility of having clients specify the format of the returned location value which could be either GeoJSON or NGSI SLF. This would work as follows:
Note we need (4) since SLF only offers a subset of the geographical features supported by GeoJSON.
The text was updated successfully, but these errors were encountered: