none
custom Road in Bing Map ? RRS feed

  • Question

  • i'am developping an application 

    i would like use bing map but informations and road in my country (algeria) are not available

    i would like to know how can i import road data from others providers or create my owns ?

    i tried to overlay my map with openstreetMap , i did with MercatorMode  , but how can i  use both arial bing map + openstreetMap with trancparency 

    thankx

     

    • Moved by Ricky_Brundritt Friday, March 9, 2012 1:36 PM (From:Bing Maps: Map Control and Web services Development)
    Wednesday, December 22, 2010 3:18 PM

Answers

  • Ah ok, when you were talking about transparency I assumed you were only concerned with displaying the road data from OpenStreetMap, which you can do by creating a custom tile source as explained above.

    If you want to use OpenStreetMap data to perform routing (or geocoding) then you'll have to download the raw data from OpenStreetMap into a suitable database and implement your own algorithms to query that data. There isn't any way to append additional data into Bing's own routing service, so you'll have to create your own completely free-standing routing service.

    If you want to go ahead with this, you might find it helpful to research the A* routefinding algorithm - http://en.wikipedia.org/wiki/A*_search_algorithm.


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Sunday, December 26, 2010 9:07 AM
    Moderator
  • Did you try ESRI ArcGIS online services World routing  - http://www.esri.com/software/arcgis/arcgisonline/world-routing.html

    ArcGIS online services 10 and Bing maps both use mercator projection. So projection shouldn't be an issue when displaying the ArcGIS routing results on the Bing maps.

    Hope this helps.


    Aditya Tadakaluru MCPD, MCITP, MCTS(Bing Maps)
    Tuesday, January 4, 2011 9:09 PM
  • Assuming you don't have an ESRI license the cheapest approach would be to use Open Street Maps. Besides the tiles you can also get access to the raw vector data that is used to generate the tiles. There are tools you can use to perform routing type functionality against this data. This will do what you want but is not an easy task.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Wednesday, January 5, 2011 12:38 AM

All replies

  • To best answer your question, you will need to provide us with some more information such as:

    1) are you using the Javascript or Silverlight API

    2) if using the Javascript API are you using version 6.3 or 7

    3) do you have data? if so, in what format? or will you be relying on open source data

    Wednesday, December 22, 2010 3:26 PM
  • hi

    i'm using Silverlight API and since road data are not available in my country (there is few information about streets) i don't have data and i am looking for how can i make my own update since : 

    1. OpenStreetMap are well available in my region 

    2. or if i can't use OpenStreetMap , how can i add (update ) road data .

    i found when i was googling that there are files like KML where we can make our own data ?  can i easily load kml data to bing map ? 

    my main problem is that i can't calculate distance beetween two point in my Map or find a road between two place since street and road are not well available , and i would like to provide more data to my map so that i can in the final application provide route between two point

    thanx

    Wednesday, December 22, 2010 5:32 PM
  • Hi zGoldroger,

    You might find the following article by Chris helpful:

    http://pietschsoft.com/post/2009/11/12/Display_OpenStreetMap_Imagery_using_Bing_Maps_Silverlight_Control_Version_1_RTW.aspx


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Wednesday, December 22, 2010 10:31 PM
    Moderator
  • thank you tanoshimi , but i already did this step 

    i don't wanna remplace the bing layer , but to show either bing map and OpenStreetMap with transparence 

    since i said before OpenStreetMap are just pictures i can't use those information to calculate route between two point , or Can I ? 

    thank you

    Thursday, December 23, 2010 9:57 AM
  • Ah ok, when you were talking about transparency I assumed you were only concerned with displaying the road data from OpenStreetMap, which you can do by creating a custom tile source as explained above.

    If you want to use OpenStreetMap data to perform routing (or geocoding) then you'll have to download the raw data from OpenStreetMap into a suitable database and implement your own algorithms to query that data. There isn't any way to append additional data into Bing's own routing service, so you'll have to create your own completely free-standing routing service.

    If you want to go ahead with this, you might find it helpful to research the A* routefinding algorithm - http://en.wikipedia.org/wiki/A*_search_algorithm.


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Sunday, December 26, 2010 9:07 AM
    Moderator
  • Did you try ESRI ArcGIS online services World routing  - http://www.esri.com/software/arcgis/arcgisonline/world-routing.html

    ArcGIS online services 10 and Bing maps both use mercator projection. So projection shouldn't be an issue when displaying the ArcGIS routing results on the Bing maps.

    Hope this helps.


    Aditya Tadakaluru MCPD, MCITP, MCTS(Bing Maps)
    Tuesday, January 4, 2011 9:09 PM
  • Assuming you don't have an ESRI license the cheapest approach would be to use Open Street Maps. Besides the tiles you can also get access to the raw vector data that is used to generate the tiles. There are tools you can use to perform routing type functionality against this data. This will do what you want but is not an easy task.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Wednesday, January 5, 2011 12:38 AM