Dear,
I’ve forwarded your request to the second level support. They will help you.
Best,
Daniele
On 11 Aug 2015, at 16:29, Nuno Henriques <nuno.henriques76 at gmail.com> wrote:
> 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
> _______________________________________________
> Fiware-lab-help mailing list
> Fiware-lab-help at lists.fi-ware.org
> https://lists.fi-ware.org/listinfo/fiware-lab-help
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150811/ff61a0fb/attachment.pgp>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy