none
Census data on bing map RRS feed

  • Question

  • Hi Team, 

    We were looking for US Census data in Bing Map and we came across a press release announcing availability of AGS data in Map Point. Please see the below link:

    https://www.appliedgeographic.com/mappoint/ 

    As Map Point is discontinued and most of the features has been absorbed by Bing Map. Could you please let us know from where we can access this data in Bing Map SDK or if any API’s are available. Let us know the same. 

    We have checked Public Data Sources under Bing Spatial Data Services but only POI and Traffic incident data is available there.

    Thanks!

    Balasaheb


    Balasaheb

    Wednesday, July 20, 2016 4:43 AM

Answers

All replies

  • There are actually hundreds of public data sources available in the Bing Spatial Data Sources. Currently those that are documented are the data sources that are managed by the Bing Maps teams. Many other data sources in that service are made publicly available from others. You can scroll through these in the Bing Maps portal under Data Sources -> Public Data Sources. There are a few Census data sources in there which we have published for use in core is one of the V8 samples using the state level census data: http://www.bing.com/api/maps/sdk/mapcontrol/isdk#sdsChoroplethMap+JS

    Here are the query URL's to the different census data sets that have been uploaded into the service:

    https://spatial.virtualearth.net/REST/v1/data/755aa60032b24cb1bfb54e8a6d59c229/USCensus2010_States/States
    https://spatial.virtualearth.net/REST/v1/data/6c39d83e5812459f914832970618048e/USCensus2010_Counties/Counties
    https://spatial.virtualearth.net/REST/v1/data/04566e63b0d74e45aa5fa19a2f8bb8bc/USCensus2010_CD/CongressionalDistrict111th
    https://spatial.virtualearth.net/REST/v1/data/f42cab32d0ee41738d90856badd638d3/USCensus2010_ZCTA5/ZCTA5


    [Blog] [twitter] [LinkedIn]

    Wednesday, July 20, 2016 4:31 PM
  • Hi Ricky,

    Thanks for the quick answer. This is what we were looking for. Could you also let us know when will Direction manager be incorporated in V8?

    Thanks!


    Balasaheb

    Thursday, July 21, 2016 12:01 PM
  • Directions Manager has been in V8 for a couple months now. The documentation wasn't online until the main release though at the end of June. But there have been a bunch of code samples in the interactive SDK: http://www.bing.com/api/maps/sdk/mapcontrol/isdk#directionsInputPanel+JS

    Docs: https://msdn.microsoft.com/en-US/library/mt748655.aspx


    [Blog] [twitter] [LinkedIn]

    Thursday, July 21, 2016 3:08 PM
  • Hi Ricky,

    Thanks for link. It really helpful.

    Thanks!

    Balasaheb


    Balasaheb

    Monday, July 25, 2016 11:06 AM
  • Hi Ricky,

    We are exploring the ChoroplethMap of bing map V8 to plot Census data. We had gone through below link:

    http://www.bing.com/api/maps/sdk/mapcontrol/isdk#sdsChoroplethMap+JS.

    We are able to plot the data but we are looking to add more filter like age, sex etc. Is it possible using ChoroplethMap or there any other way round for achieving this.

    Thanks!

     

    Balasaheb

    Tuesday, November 29, 2016 1:22 PM
  • Yes. This is fairly easy, simply use the additional properties in the metadata object of each shape if you want to change the colors based on a different field. For instance, if you want to create a Choropleth based on the population with an age of 65 or over, simply replace all metadata.Population with metadata.Pop_Over65 in that code sample.

    If you want to filter the data in the query so that only state boundaries are returned which have a Male population of over 5,000,000 that are 16 or older you can do the following:

    var queryOptions = {
     queryUrl: 'https://spatial.virtualearth.net/REST/v1/data/755aa60032b24cb1bfb54e8a6d59c229/USCensus2010_States/States',
     spatialFilter: {
      spatialFilterType: 'intersects',
      intersects: worldBounds
     },
     filter: 'Pop_Male_Over16 gt 5000000',
     top: 52
    };

    You can also used the Filter class which makes it easier to create more complex filters. You can find more information on filters here:

    https://msdn.microsoft.com/en-us/library/mt750552.aspx

    https://msdn.microsoft.com/en-us/library/gg585129.aspx

    Here are the properties available in the US Census State data source:

    Property Data type
    EntityID (Primary Key) dm.String
    Name Edm.String
    StateCode Edm.String
    Population Edm.Int64
    Area_Land Edm.Int64
    Area_Water Edm.Int64
    Boundary Edm.Geography
    Pop_Over16 Edm.Int64
    Pop_Male_Over16 Edm.Int64
    Pop_Female_Over16 Edm.Int64
    Pop_Over21 Edm.Int64
    Pop_Male_Over21 Edm.Int64
    Pop_Female_Over21 Edm.Int64
    Pop_Over65 Edm.Int64
    Pop_Male_Over65 Edm.Int64
    Pop_Female_Over65 Edm.Int64
    Pop_Under_5_years Edm.Int64
    Pop_5_to_9_years Edm.Int64
    Pop_10_to_14_years Edm.Int64
    Pop_15_to_19_years Edm.Int64
    Pop_20_to_24_years Edm.Int64
    Pop_25_to_29_years Edm.Int64
    Pop_30_to_34_years Edm.Int64
    Pop_35_to_39_years Edm.Int64
    Pop_40_to_44_years Edm.Int64
    Pop_45_to_49_years Edm.Int64
    Pop_50_to_54_years Edm.Int64
    Pop_55_to_59_years Edm.Int64
    Pop_60_to_64_years Edm.Int64
    Pop_65_to_69_years Edm.Int64
    Pop_70_to_74_years Edm.Int64
    Pop_75_to_79_years Edm.Int64
    Pop_80_to_84_years Edm.Int64
    Pop_85_years_and_over Edm.Int64
    statens Edm.String
    Latitude Edm.Double
    Longitude Edm.Double


    [Blog] [twitter] [LinkedIn]

    Tuesday, November 29, 2016 11:50 PM
  • Hi,

    How can we upload the .shp or .kml file on bing map portal and used in our scripts.

    You have any information or sample code for it.

    Thanks!


    Balasaheb

    Tuesday, December 6, 2016 2:05 PM
  • There is detailed information here: https://msdn.microsoft.com/en-us/library/gg650600.aspx Here is a summary:

    • Log into Bing Maps portal: https://www.bingmapsportal.com
    • Select Data Sources -> Upload Data Sources.
    • Fill in the form and select the type of data you are uploading. If uploading a shapefile, it should be a zip file which contains the shx, shp, and prj files.
    • You can likely check the option to skip geocoding since your data is already geocoded. This will make things a bit faster.
    • Press Upload.

    If you would like to upload files programmatically, there is a REST service for this: https://msdn.microsoft.com/en-us/library/gg585132.aspx


    [Blog] [twitter] [LinkedIn]


    Tuesday, December 6, 2016 2:36 PM
  • Hi Ricky,

    Thanks for the links.

    We follow the steps given in link But when we tried to upload the shape file then we are getting below error.

    When we tried to upload another shape file then we get following error.

    Can you please let us know how to resolve this error. We missed anything here.

    You have any sample shape file. If you have it then can please sent us.

    Note: We are using dev bing map key. 

    Thanks 


    Balasaheb

    Wednesday, December 7, 2016 1:28 PM
  • The first issue is self explanatory in that there is a limit to how big a single shape can be when uploaded.

    The second issue is likely because you are using a basic dev key. These keys are limited to uploading 50 shapes at a time


    [Blog] [twitter] [LinkedIn]

    Wednesday, December 7, 2016 3:59 PM
  • Hi Ricky,

    Can you have sample shape or have any link from where we download the shape file. We want to show as proof of concept to our customer.

    Note: We have download the shape files from following path http://www.gadm.org/country but none of working in our case. throwing above mentioned error.

    It would be great if you share some links from where we download the shape file.

    Thanks!


    Balasaheb


    Thursday, December 8, 2016 12:52 PM
  • The shapefiles on the site you mentioned work for me, but I'm using an enterprise account which can upload up to 200,000 shapes. Basic accounts are limited to uploading 50 shapes and all of these files have more than 50 shapes.

    There are tons of shapefiles available online. Nearly every single government and US state has a GIS portal. Here is a link to a shapefile that has ecological regions in the state of Washington. This consists of 4 polygons which is below the 50 shape limit. ftp://www.ecy.wa.gov/gis_a/location/regions.zip Just tried uploading it myself and it works great. Here is the GIS portal where I found this file: http://www.ecy.wa.gov/services/gis/data/data.htm#r


    [Blog] [twitter] [LinkedIn]

    Friday, December 9, 2016 11:08 AM
  • Hi Ricky,

    Thaks for your reply.

    When we tried to get the shape file from ftp://www.ecy.wa.gov/gis_a/location/regions.zip then it gives following error.


    Can you please check and correct us if we are doing anything wrong.

    Thanks!



    Balasaheb

    Monday, December 12, 2016 12:56 PM
  • Hi Ricky,

    We are able to download some shape file and uploaded in bingmap portal and able to plot it on map but we wanted to verify that plotted shape is correct or not. How can we verify it.

    Also we have file with size more than 400MB. Is it possible to upload it on Bing map portal. As we read it on MSDN there is limit of 300MB.

    Note: We are using Enterprise keys.

    Thanks!

     


    Balasaheb


    Thursday, December 15, 2016 10:28 AM
  • Hi,

    We have plot the census data of State on US. Now we want to apply filter of Income. Say suppose we want data where income is greater that $ 50K.

    Is it possible, you have sample code for the same.

    Thanks!


    Balasaheb

    Wednesday, April 11, 2018 11:47 AM
  • Hi,

    There are any Census data available in bing map for UK as it available like US.

    Here is example of census data of US

    https://spatial.virtualearth.net/REST/v1/data/755aa60032b24cb1bfb54e8a6d59c229/USCensus2010_States/States

    If it not available in bing map then from we get census data of UK.

    Thanks

       

     

    Balasaheb

    Wednesday, November 14, 2018 7:33 AM
  • Hi Balasaheb,

    I believe the public source for UK Census would be https://census.ukdataservice.ac.uk/get-data

    I will ask the Maps Data Team but I don't expect that they have UK Census data built in.

    Sincerely,

    IoTGirl

    Wednesday, November 14, 2018 11:42 PM
    Owner