Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 02-11-2016 at 12:11
Please, ANSWER this question AT https://stackoverflow.com/questions/40379373/fiware-context-broker-with-entities-geolocated
Question:
Fiware Context Broker with entities geolocated
Description:
I have a problem in retrieving entities using georeferenced queries.
Use the v2 syntax.
This is my query:
GET /v2/entities?georel=near;maxDistance:1000&geometry=point&coords=13.52,43.61
and this is my entity:
{
"id": "p1",
"type": "pm",
"address":
,
"allowedVehicleType":
,
"category":
,
"location": {
"type": "geo:json",
"value":
},
"name":
,
"totalSpotNumber":
}
What is wrong?
I followed the official documentation but I can not get any results as well.
I also tried to reverse the coordinates, but the result does not change.
Any suggestion is welcome.
2017-05-22 15:08|CREATED monitor | # answers= 1, accepted answer= False