Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-9236

[fiware-stackoverflow] Map viewer retrieve POI from context Broker Instance

    Details

      Description

      Created question in FIWARE Q/A platform on 04-03-2015 at 18:03
      Please, ANSWER this question AT 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

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-26 00:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-26 00:05|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-26 03:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-26 03:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-26 06:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-26 06:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

          People

          • Assignee:
            mjimenezganan Miguel Jiménez
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: