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:Apps
-
HD-Enabler:Wirecloud
Description
Created question in FIWARE Q/A platform on 05-08-2015 at 13:08
Please, ANSWER this question AT https://stackoverflow.com/questions/31831356/canot-see-any-poi-on-wirecloud-map-viewer-using-madrid-example
Question:
Canot see any POI on Wirecloud Map Viewer, using Madrid example
Description:
im taking my firsts steps, working with mashup wirecloud.
I successfully finished the Santander POI example, could see all the POI on the map viewer, the info on each POI, and the chart info.
Then i proceeded for the Madrid example, in which i had to first create the entity on context broker etc, And this is the one where i am having problems.
My curl request to create entity:
(curl localhost:1026/v1/updateContext s -S --header 'Content-Type: application/json' --header 'Accept: application/json' -d @ | python -mjson.tool) <<EOF
{
"contextElements": [
{
"type": "City",
"isPattern": "false",
"id": "Madrid",
"attributes": [
{
"name": "position",
"type": "coords",
"value": "40.418889, -3.691944",
"metadatas": [
]
}
]
}
],
"updateAction": "APPEND"
}
EOF
I can see that the info is reachable, by using for example the NGSI Browser widget, i can see the entity Madrid of type City, with attributes position, and value of the coords, but cannot see the POI on map viewer.
My Mashup config:
NGSI Source:
NGSI server URL: http://130.206.117.220:1026
NGSI proxy URL: https://ngsiproxy.lab.fiware.org
Use the FIWARE credentials of the user: yes
NGSI entity types: City
Monitored NGSI Attributes: position
NGSI entity to POI:
Coordinates attribute: position
Before posting this question, i looked over all the similar questions in stack overflow, but none of the answers i saw helped so far.
Thank you in advanced for your help.
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
HD-Enabler | Wirecloud [ 10857 ] | |
Description |
Created question in FIWARE Q/A platform on 05-08-2015 at 13:08 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/31831356/canot-see-any-poi-on-wirecloud-map-viewer-using-madrid-example +Question:+ Canot see any POI on Wirecloud Map Viewer, using Madrid example +Description:+ im taking my firsts steps, working with mashup wirecloud. I successfully finished the Santander POI example, could see all the POI on the map viewer, the info on each POI, and the chart info. Then i proceeded for the Madrid example, in which i had to first create the entity on context broker etc, And this is the one where i am having problems. My curl request to create entity: (curl localhost:1026/v1/updateContext -s -S --header 'Content-Type: application/json' --header 'Accept: application/json' -d @- | python -mjson.tool) <<EOF { "contextElements": [ { "type": "City", "isPattern": "false", "id": "Madrid", "attributes": [ { "name": "position", "type": "coords", "value": "40.418889, -3.691944", "metadatas": [ { "name": "location", "type": "string", "value": "WGS84" } ] } ] } ], "updateAction": "APPEND" } EOF I can see that the info is reachable, by using for example the NGSI Browser widget, i can see the entity Madrid of type City, with attributes position, and value of the coords, but cannot see the POI on map viewer. My Mashup config: NGSI Source: NGSI server URL: http://130.206.117.220:1026 NGSI proxy URL: https://ngsiproxy.lab.fiware.org Use the FIWARE credentials of the user: yes NGSI entity types: City Monitored NGSI Attributes: position NGSI entity to POI: Coordinates attribute: position Before posting this question, i looked over all the similar questions in stack overflow, but none of the answers i saw helped so far. Thank you in advanced for your help. |
Created question in FIWARE Q/A platform on 05-08-2015 at 13:08
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/31831356/canot-see-any-poi-on-wirecloud-map-viewer-using-madrid-example +Question:+ Canot see any POI on Wirecloud Map Viewer, using Madrid example +Description:+ im taking my firsts steps, working with mashup wirecloud. I successfully finished the Santander POI example, could see all the POI on the map viewer, the info on each POI, and the chart info. Then i proceeded for the Madrid example, in which i had to first create the entity on context broker etc, And this is the one where i am having problems. My curl request to create entity: (curl localhost:1026/v1/updateContext -s -S --header 'Content-Type: application/json' --header 'Accept: application/json' -d @- | python -mjson.tool) <<EOF { "contextElements": [ { "type": "City", "isPattern": "false", "id": "Madrid", "attributes": [ { "name": "position", "type": "coords", "value": "40.418889, -3.691944", "metadatas": [ { "name": "location", "type": "string", "value": "WGS84" } ] } ] } ], "updateAction": "APPEND" } EOF I can see that the info is reachable, by using for example the NGSI Browser widget, i can see the entity Madrid of type City, with attributes position, and value of the coords, but cannot see the POI on map viewer. My Mashup config: NGSI Source: NGSI server URL: http://130.206.117.220:1026 NGSI proxy URL: https://ngsiproxy.lab.fiware.org Use the FIWARE credentials of the user: yes NGSI entity types: City Monitored NGSI Attributes: position NGSI entity to POI: Coordinates attribute: position Before posting this question, i looked over all the similar questions in stack overflow, but none of the answers i saw helped so far. Thank you in advanced for your help. |
HD-Chapter | Apps [ 10836 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Assignee | Backlog Manager [ backlogmanager ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
3h | 1 | Backlog Manager | 30/May/17 3:04 PM | |||||
|
2h 59m | 1 | Backlog Manager | 30/May/17 6:04 PM | |||||
|
15h 47m | 1 | Fernando Lopez | 31/May/17 9:51 AM |
2017-05-30 12:05|CREATED monitor | # answers= 1, accepted answer= False