Discussion Board

Results 1 to 6 of 6

Hybrid View

  1. #1
    Registered User sdfanq's Avatar
    Join Date
    Apr 2012
    Posts
    11
    How could I find all places from a particular boundingBox ?

    You provide:

    findPlaces - it requires a searchTerm, but I want all places no matter the searchTerm
    findPlacesByCategory - it requires a category
    findRecommendations - I just want all places from a location, not only recommendations

    I know I could just use findPlacesByCategory for all available categories, but that would be a waste of bandwidth and API requests.

  2. #2
    Super Contributor Maveric's Avatar
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100
    Hi there, sdfanq!

    I am chekind this right now from the team who is dealing with this API.
    Actually I think that an enterprise feature , but you can do it by hand by taking the results back that you get from your search center and then filter them using BoundingBox.intersects().

    Best Regards,
    Marko
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

  3. #3
    Registered User sdfanq's Avatar
    Join Date
    Apr 2012
    Posts
    11
    Thank you. That's what I thought too (this being an enterprise feature). I will do as you say and filter the results.

  4. #4
    Registered User sdfanq's Avatar
    Join Date
    Apr 2012
    Posts
    11
    One more thing please, your answer infers that I must still use findPlacesByCategory for each category and then filter by boundingBox, right ?
    Because the best thing for me would be to get all places from a searchCenter and filter by boundingBox, like using findPlaces, but like I said, findPlaces requires a search term.

    Best regards,
    Stefan

  5. #5
    Super Contributor Maveric's Avatar
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,100
    Hi there, Stefan

    Sorry for the delay and any inconvenience. I am in communication with the API team and I will provide you an answer, please expect it in 24H.

    Best Regards,
    Marko
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330
    [email]marko.lumivuori@nokia.com[/email][/I][/FONT]

  6. #6
    Registered User time4ostry's Avatar
    Join Date
    Mar 2012
    Posts
    1
    nokia.places search supports either search-term or category-based search. If using a search-term is not an option then findPlacesByCategory is a definite choice. findPlacesByCategory function does not offer any wildcards/shorthands for "all categories" but it is possible to specify a comma-separated list of categories, something like:

    category:"eat-drink,natural-geographical,<any-other-interesting-categories>"

    All available categories are listed in findPlacesByCategory documentation
    This way there would be only one request covering all the categories.

Similar Threads

  1. Nokia Places API for Qt
    By vladest in forum Qt
    Replies: 4
    Last Post: 2012-09-08, 01:34
  2. map.zoomTo(boundingBox) is broken in Chrome 19
    By wmensah in forum Maps API for Javascript
    Replies: 3
    Last Post: 2012-05-24, 15:21
  3. Nokia Places API
    By vladest in forum Maps API for Javascript
    Replies: 22
    Last Post: 2012-02-15, 19:21
  4. QGraphicsGeoMap::fitInViewport with a QGeoMapRouteObject::boundingBox error
    By TejWC in forum [Archived] Qt Mobility Project
    Replies: 5
    Last Post: 2011-01-09, 23:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved