×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    11

    Question Find all places from a boundingBox

    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
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,098

    Re: Find all places from a boundingBox

    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
    Join Date
    Apr 2012
    Posts
    11

    Re: Find all places from a boundingBox

    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
    Join Date
    Apr 2012
    Posts
    11

    Re: Find all places from a boundingBox

    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
    Join Date
    May 2008
    Location
    Helsinki, Finland
    Posts
    1,098

    Re: Find all places from a boundingBox

    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
    Join Date
    Mar 2012
    Posts
    1

    Re: Find all places from a boundingBox

    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 [Archived] Maps API for Javascript
    Replies: 3
    Last Post: 2012-05-24, 15:21
  3. Nokia Places API
    By vladest in forum [Archived] 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
  •  
×