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

FIWARE.Question.Tech.Data.OrionContextBroker.Fiware Context Broker with entities geolocated

    Details

      Description

      Created question in FIWARE Q/A platform on 02-11-2016 at 12:11
      Please, ANSWER this question AT http://stackoverflow.com/questions/40379373/fiware-context-broker-with-entities-geolocated

      Question:
      Fiware Context Broker with entities geolocated

      Description:
      I have a problem in retrieving entities using georeferenced queries.
      Use the v2 syntax.

      This is my query:
      GET /v2/entities?georel=near;maxDistance:1000&geometry=point&coords=13.52,43.61

      and this is my entity:
      {
      "id": "p1",
      "type": "pm",
      "address":

      { "type": "Text", "value": "Via Roma " }

      ,
      "allowedVehicleType":

      { "type": "Text", "value": "car" }

      ,
      "category":

      { "type": "Text", "value": "onstreet" }

      ,
      "location": {
      "type": "geo:json",
      "value":

      { "type": "Point", "coordinates": [ 13.5094, 43.6246 ] }

      },
      "name":

      { "type": "Text", "value": "p1" }

      ,
      "totalSpotNumber":

      { "type": "Number", "value": 32 }

      }

      What is wrong?
      I followed the official documentation but I can not get any results as well.
      I also tried to reverse the coordinates, but the result does not change.
      Any suggestion is welcome.

        Activity

        backlogmanager Backlog Manager created issue -
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-11-02 15:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-11-02 15:05|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-11-02 18:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-11-02 18:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-11-02 21:05|UPDATED status: transition Answered| # answers= 2, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-11-02 21:05|UPDATED status: transition Answered| # answers= 2, accepted answer= False
        mev Manuel Escriche made changes -
        HD-Enabler Unknown [ 10910 ] Orion [ 10875 ]
        backlogmanager Backlog Manager made changes -
        HD-Chapter Unknown [ 10845 ] Data [ 10838 ]
        backlogmanager Backlog Manager made changes -
        Assignee Fermín Galán [ fermin ]
        smg Santiago Martinez García made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Fiware Context Broker with entities geolocated FIWARE.Question.Tech.Data.OrionContextBroker.Fiware Context Broker with entities geolocated
        HD-Node Unknown [ 10852 ]
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3h 1 Backlog Manager 02/Nov/16 6:05 PM
        In Progress In Progress Answered Answered
        3h 1 Backlog Manager 02/Nov/16 9:05 PM
        Answered Answered Closed Closed
        5d 15h 1 Santiago Martinez García 08/Nov/16 12:05 PM

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: