Hello,
I am taking my first steps in the world of fi-ware wire cloud.
I have been following some tutorials, but I am experiencing some issues.
Regarding the examples for showing POI on maps, i managed to get them all
to work, but now that i am trying one of my own, i am experiencing some
problems.
I am using an registered account, that is running a FI-SonicCB instance,
created according to the tutorials.
I am trying to use the Madrid POI example and adapt to show a POI in
Lisbon, which has type: Uni , id : ISEL, attribute: position of type:
coords with its gps coords as value. I am creating that entity with the
following curl request:
(curl localhost:1026/v1/updateContext -s -S --header 'Content-Type:
application/json' --header 'Accept: application/json' -d @- | python
-mjson.tool) <<EOF
{
"contextElements": [
{
"type": "Uni",
"isPattern": "false",
"id": "ISEL",
"attributes": [
{
"name": "position",
"type": "coords",
"value": "38.756505, -9.116686",
"metadatas": [
{
"name": "location",
"type": "string",
"value": "WGS84"
}
]
}
]
}
],
"updateAction": "APPEND"
}
EOF
If i use the query request, Context Broker gives me back the info of the
entity expected.
If i use widgets like NGSI Browser, i can see the entity, its type, and the
value of its attributes, but when i try to get the POI to show, by using
map viewer widget, and NGSI Source , and NGSI entity to POI operators,
still no POI shows.
I have the following settings in mashup config:
*NGSI Source -*
NGSI server URL: http://130.206.117.220:1026/ which is the
ip allocated to my instance, where my context broker is running.
NGSI proxy URL: https://ngsiproxy.lab.fiware.org
Use the fiware creds of user selected - already tried also with credentials
of work space owner.
NGSI entity type: Uni
Monitored NGSI attributes: position
*NGSI entity to POI - *
Coordinates attribute: position
I tried all the suggestions i could find in similar issues posted on stack
overflow forum, but none worked so far.
Can you help me with this issue?
--
Melhores cumprimentos / Best regards
Nuno Henriques
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150811/bc570933/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy