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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3h 1 Backlog Manager 26/May/17 3:04 AM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 26/May/17 6:04 AM
        Answered Answered Closed Closed
        3h 51m 1 Fernando Lopez 26/May/17 9:56 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        HD-Enabler Wirecloud [ 10857 ]
        Description
        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
        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
        HD-Chapter Apps [ 10836 ]
        fla Fernando Lopez made changes -
        Assignee Miguel Jiménez [ mjimenezganan ]
        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
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        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
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        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
        backlogmanager Backlog Manager created issue -

          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: