fiware - Canot see any POI on Wirecloud Map Viewer, using Madrid example -
im taking firsts steps, working mashup wirecloud. finished santander poi example, see poi on map viewer, info on each poi, , chart info.
then proceeded madrid example, in had first create entity on context broker etc, , 1 having problems.
my curl request 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 info reachable, using example ngsi browser widget, can see entity madrid of type city, attributes position, , value of coords, cannot see 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 fiware credentials of user: yes
ngsi entity types: city
monitored ngsi attributes: position
ngsi entity poi:
coordinates attribute: position
before posting question, looked on similar questions in stack overflow, none of answers saw helped far. thank in advanced help.
your instance doesn't support sending notifications https servers. can test using http://ngsiproxy.lab.fiware.org
value ngsi proxy url
preference. browser complain mixed content see post more info, recommend install rush , enable https support in orion context broker instance.
take "rush relayer" section of orion documentation more info on how enable https support. take questions , answers available on stack overflow rush/orion.
note: changed following preferences testing parameters match madridtest entity.
ngsi source:
- ngsi entity types: citytest
- monitored ngsi attributes: latitud, longitud
ngsi entity poi:
- coordinates attribute: latitud, longitud
Comments
Post a Comment