×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    5

    In a search response I see a distance parameter. What type of unit is this?

    Just looked up startbucks in NYC and I get

    items: [ { position: [ 40.74923 , -73.98395 ] distance: 113 title: Starbucks averageRating: 0.0 category: { id: coffee-tea title: Coffee/Tea href: http://demo.places.nlp.nokia.com/pla...xoqIWfxWA5DuMQ type: urn:nlp-types:category } icon: http://download.vcdn.nokia.com/p/d/p...gories/23.icon vicinity: 373 5th Ave ↵
    New York NY 10016 ↵
    USA having: [ ] type: urn:nlp-typeslace href: http://demo.places.nlp.nokia.com/pla...xoqIWfxWA5DuMQ id: 840dr5ru-f53290f0ecf946f8b1a328b5d1bec785 } ,

    I am wondering what is distance paramter? Is it in meters? And where is this type of thing documented?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: In a search response I see a distance parameter. What type of unit is this?

    docs would be at: http://developer.here.com/places#_48...Findex.html%3F anyway, I'm not certain on which item you are asking for, so can not check from docs what they would say about the parameter value type.

  3. #3
    Nokia Developer Expert
    Join Date
    Apr 2012
    Location
    Berlin, Germany
    Posts
    42

    Re: In a search response I see a distance parameter. What type of unit is this?

    Hi,

    Distance is in meters, measured from the search context, it is documented here: http://developer.here.com/docs/place...pe-search.html.

    For more on how the context is calculated, please look here: http://developer.here.com/docs/place...-contexts.html. Please be aware, that in case of a location context supplied by X-Map-Viewport, the distance field will be missing.

    daniel.
    Last edited by danielmoor; 2013-03-13 at 05:39.
    Daniel Moor
    Nokia Places API

Similar Threads

  1. Replies: 0
    Last Post: 2011-04-15, 11:25
  2. Replies: 11
    Last Post: 2009-07-06, 17:02
  3. parameter type dismatch
    By leejx in forum Symbian
    Replies: 6
    Last Post: 2008-12-24, 00:33
  4. Replies: 2
    Last Post: 2007-07-26, 11:03
  5. ASP Response Content Type error, XHTML
    By xz_dollygal in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2003-03-12, 21:44

Posting Permissions

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