Discussion Board

Results 1 to 12 of 12

Thread: GeoCode

  1. #1
    Registered User Tslv's Avatar
    Join Date
    Apr 2005
    Posts
    55
    Can I use Nokia Maps REST API just as geoCode service?
    I want to send address to it and receive longitude and Latitude back.

    I want to create Windows Phone 7 app and I am using Bing maps control. Bing maps unfortunately doesn't support searching in my country, and Nokia maps does.

  2. #2
    Nokia Developer Moderator jasfox's Avatar
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    225
    The Map Image API is purely focused on returning images in response to an HTTP request - it is the wrong API to try to geocode with.

    For currently live public APIs you have two choices:

    You could use geocoding direct from the Nokia Maps API
    http://api.maps.nokia.com/2.1.1/play...example=search

    Or you could make an unstructured search by putting an address into the Places API for JavaScript
    http://api.maps.nokia.com/places/Hea...piExample.html
    Jason Fox
    Technical Support Engineer, Maps Platform
    Location & Commerce

    http://developer.here.net/

  3. #3
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,667
    This basically means that you can not use simple REST API for this purpose, instead you would need to use Web based development, in which you can insert Java script coding into your application.

  4. #4
    Registered User Tslv's Avatar
    Join Date
    Apr 2005
    Posts
    55
    Hi,
    Thanks for your answer.

    I have created HTML page and uploaded it to my Public folder on Dropbox. This is my test scenario for web hosting. I pass my search query via URL. This works in Firefox and Chrome. The javascript in page takes the arguments from the URL serches for them and as a result I get the picture of the map and I get geocoordinates as an array inside observedManager.locations .
    The big question is - How do I get those out of HTML page and back into C#?

    On the C# side I create WebClient object and I create the URL with the querry inside www.dropbox.com\...\serch.html?MyAddress

  5. #5
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,667
    maybe you could try webbrowser control: http://msdn.microsoft.com/en-us/libr...=vs.92%29.aspx

  6. #6
    Registered User Tslv's Avatar
    Join Date
    Apr 2005
    Posts
    55
    Hi,
    Thanks for the advice. I have problem with that control because it doesn't show me external pictures. In my case it doesn't show me the pictures from Nokia Maps because they are external. They are not from my location on Dropbox.

    Besides I already have perfectly nice Bing Maps Control. I would like to use it. So all I need is to get Geocoordinates of the addresses and I can put them on Bing Maps.

  7. #7
    Registered User ba2012's Avatar
    Join Date
    Jul 2012
    Posts
    1
    any news to the original problem ( street address to GPS Coordinates) ?
    I am looking for the REST Goecoding API too but does not find anything.

    Thanks

  8. #8
    Nokia Developer Moderator jasfox's Avatar
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    225
    The RESTful Maps API is not a suitable API for use as a geocoder as mentioned earlier in the thread.
    A dedicated RESTful Geocoding API from Nokia has not been made available to the public at this time.

    Your options at the moment are to either use an unstructured search with the Places API for JavaScript: http://api.maps.nokia.com/places/Hea...piExample.html
    or use the RESTful places API over an uninhabited area i.e. the trick described here: http://www.developer.nokia.com/Commu...ching-for-City
    Jason Fox
    Technical Support Engineer, Maps Platform
    Location & Commerce

    http://developer.here.net/

  9. #9
    Registered User CVTDEV's Avatar
    Join Date
    Mar 2013
    Posts
    1
    Hello,

    Have there been any new releases of a public REST based geocoding API since the last post on this thread back in July of 2012...when I search the updated "HERE" website (http://developer.here.com) I still don't see anything? However in scouring the web I ran across these URL's:

    https://geo.nlp.nokia.com/search/6.2...egeocode.json?
    https://geo.nlp.nokia.com/search/6.2/geocode.json?

    ...are these supported?....and if so..where would I find the documentation on the API?

    Thanks,
    Jeremy

  10. #10
    Nokia Developer Moderator jasfox's Avatar
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    225
    Nokia does not offer a free publicly available RESTful geocoding service. The URLs you describe are part of the Enterprise offerings - i.e. stuff companies have to pay for. To find out more you about Enterprise APIs should Request a custom package with more features at the bottom of the plans page.
    Jason Fox
    Technical Support Engineer, Maps Platform
    Location & Commerce

    http://developer.here.net/

  11. #11
    Registered User nicowitteman's Avatar
    Join Date
    Aug 2012
    Posts
    12
    Jeremy,
    you could take a look at he openstreetmap alternative: http://open.mapquestapi.com/nominatim/

    Regards,
    Nico

  12. #12
    Nokia Developer Moderator jasfox's Avatar
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    225
    Quote Originally Posted by nicowitteman View Post
    you could take a look at he openstreetmap alternative
    If wish to display a HERE Map or use the places data, but you are considering alternative vendors for some of your map data, you must take care not to breach the Terms and Conditions - specifically the section below prohibits the use of the HERE Maps APIs in connection with similar services from competing vendors:

    6 (i) Sourced Content may not be co-mingled, merged or otherwise combined with Content and Features delivered by or through the Location Platform Services to the degree that the origin of the Sourced Content and the Content and Features of the Location Platform Services cannot be determined. For sake of clarity, Sourced Content may be layered on top of Content and Features delivered through the Location Platform Services, subject to the attribution requirements and restrictions set forth in herein;

    (ii) You may not use Results derived from the Location Platform Services in connection with a third party map.
    Jason Fox
    Technical Support Engineer, Maps Platform
    Location & Commerce

    http://developer.here.net/

Similar Threads

  1. Trying to geocode and add markers from array of addresses
    By MGunner in forum General Development Questions
    Replies: 4
    Last Post: 2011-11-23, 16:02

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