×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2014
    Posts
    4

    Restricting query distance using Places API Search

    I can see from the results that there's a distance attribute. So I can filter results out after getting them back. But it would be nice if in the query params I could specify a radius, e.g. 10000m. That would cut down the response traffic, which is nice for a phone app. Am I overlooking a way to do this? If not, please consider adding this feature.

  2. #2
    Nokia Developer Expert
    Join Date
    Jan 2014
    Posts
    17

    Re: Restricting query distance using Places API Search

    Which API function are you refering to ?

    Basically it could also be a problem of the backend engine, not having the functionality, if I remember right, some Places REST API call are not having options for limiting distance, thus likely anything that would be using it would also not be able to have it.

  3. #3
    Registered User
    Join Date
    Feb 2014
    Posts
    4

    Re: Restricting query distance using Places API Search

    I'm referring to http://places.cit.api.here.com/place...iscover/search

    The result set size and data transfer can be mitigated somewhat by restricting the number of results returned and using gzip. So it's not terrible, yet seems inefficient.

  4. #4
    Nokia Developer Expert
    Join Date
    Jan 2014
    Posts
    17

    Re: Restricting query distance using Places API Search

    exactly what I suspected, as you can see from the API docs: http://places.cit.api.here.com/place...ce-search.html the function does not take radius or any other argument which could limit the distance.

  5. #5
    Registered User
    Join Date
    Feb 2014
    Posts
    4

    Re: Restricting query distance using Places API Search

    I had read all that. I should have just made it clear that this is a feature request. Aside from potentially adding a bit more retrieval time on Nokia's servers it would be good for them as well not to send as much data out.

  6. #6
    Nokia Developer Expert
    Join Date
    Jan 2014
    Posts
    17

    Re: Restricting query distance using Places API Search

    HERE is a bit separate beast from Nokia, though I suppose its the Nokia developer story as soon as we here from Mobiles are getting moved. Anyway, I did not find any other way on contacting them from the developer point of view, other than filling in the whooollle list of details in their contact us forma at: http://developer.here.com/contact-us

Similar Threads

  1. distance between places in JavaScript
    By aktarjahan2003 in forum Maps API for Windows Phone
    Replies: 2
    Last Post: 2014-01-20, 11:35
  2. In a search response I see a distance parameter. What type of unit is this?
    By fromplacetoplace in forum [Archived] Places API
    Replies: 2
    Last Post: 2013-03-13, 05:58
  3. How to query Routing distance between 2 given locations
    By Achmatov in forum [Archived] Places API
    Replies: 8
    Last Post: 2012-11-14, 20:59
  4. Search Query Specification
    By vsa-dev in forum [Archived] Places API
    Replies: 1
    Last Post: 2012-07-11, 11:40
  5. restricting access
    By ashwin.nath.m in forum Mobile Java General
    Replies: 2
    Last Post: 2009-10-15, 08:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×