[ https://jira.fiware.org/browse/HELP-9236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez reassigned HELP-9236:
------------------------------------
Assignee: Miguel Jiménez
> [fiware-stackoverflow] Map viewer retrieve POI from context Broker Instance
> ---------------------------------------------------------------------------
>
> Key: HELP-9236
> URL: https://jira.fiware.org/browse/HELP-9236
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Assignee: Miguel Jiménez
> Labels: fiware, fiware-orion, fiware-wirecloud
>
> Created question in FIWARE Q/A platform on 04-03-2015 at 18:03
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/28860832/map-viewer-retrieve-poi-from-context-broker-instance
> +Question:+
> Map viewer retrieve POI from context Broker Instance
> +Description:+
> I can not get any data from a context BrokerInstance to display it in a Map viewer mashup. The context Broker is deployed in Fi-Ware cloud and the mashups are installed in the mashups section as recommended.
> Here my entity (with the related curl request than you can roll out to check it that it responses properly):
> curl 130.206.85.114:1026/ngsi10/contextEntities/Madrid -X GET -s -S --header 'Content-Type: application/json' --header 'Accept: application/json' \
> > --header "X-Auth-Token: $AUTH_TOKEN" | python -mjson.tool
> {
> "contextElement": {
> "attributes": [
> {
> "metadatas": [
> {
> "name": "location",
> "type": "string",
> "value": "WGS84"
> }
> ],
> "name": "position",
> "type": "coords",
> "value": "40.418889, -3.691944"
> }
> ],
> "id": "Madrid",
> "isPattern": "false",
> "type": "City"
> },
> "statusCode": {
> "code": "200",
> "reasonPhrase": "OK"
> }
> }
> Here my mashup configuration:
> NGSI Source:
> NGSI server URL: http://130.206.85.114:1026
> NGSI proxy URL: http://ngsiproxy.lab.fi-ware.org
> Use the FIWARE credentials of the user: yes
> NGSI entity types: City Monitored NGSI Attributes: position
> NGSI entity to POI
> Coordinates attribute: position
> Map viewer:
> Initial Location: Madrid
> This questions related How to show an entity from in the Wirecloud MapViewer widget did not help me as long I have not any HTTPS server and I am using the recommended proxy.
> Finally, point out that I tried "changing Use the FIWARE credentials of the user" to "No" and changing the "NGSI proxy URL" to other recommended configurations like http://ngsiproxy.lab.fiware.org (no score) with the same (negative) result..
> Thanks for your help
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy