SSRS - Feed an address into a Bing Map to zoom to? - ssrs-2008

I have a datasource that has address data. An external application calls for a report and feeds in some tabular data, including an address field.
To simplify things, lets assume that I simply pass one record that contains some address information.
I would like to produce a report that has the Bing map at the top, but via the supplied address field, I would like the map to geocode the supplied address field, zoom to a viewport around that geocoded result, and also drop a pin marker on top of the result.
Is this achievable with SSRS and Bing Maps/Geocoding API?
My actual workflow will be passing in more than one record, and showing a map on a separate page for each record, along with some graphs and tables showing other information about the specific record.

Sure you can do it! (BTW this is not related specific to Bing maps, Bing maps is only a layer with additional info that lays on top of ESRI shapefile Map)
But in order to do that, their are some preparations that you need to do:
First, you need to store the Address data as Geospatial in your DB.
You can find excellent information Here
Second, you need to add the ESRI map and Bing layers to your report, and to define the Dataset with the Geospatial as Points over the Map.
For more information and example Here
.
On a personal note I have to add, you can do amazing stuff with the Map theme. I used it to calculate and present distance between locations, and even added arrows to navigate L/R/U/D in the map.
Good luck !

Related

Supply path data to OpenStreetMaps or Bing Maps

Bing is comprehensive and it isn't Google. Also I was given to understand that Bing maps integrates OpenStreetMaps data. An answer for OpenStreetMaps would also be acceptable; it's the capability that matters: construct a URL that causes a browser to show a path on a map.
I don't want to embed Bing maps as a control in a web application. I want to construct an HTTP request (GET or POST) to launch Bing maps in its own right in another tab or browser supplying a small series of points (probably GPX format) to be shown as a route on the map.
It's the structure of the URL (and payload if applicable) that interest me. If you want to put code in an answer Javascript, Typescript or server side C# are all no problem.
When I research this I find loads of info on using an API to request a route between two points. This would be fabulous if I were trying to create yet another nav app but the requirement here is simply show this series of points as a path on a map.
I can do it for a single point (sample lifted from another question's answer) https://www.bing.com/maps/?v=2&cp=53.0210235~-1.48398532&lvl=16&dir=0&sty=c&sp=point.53.0210235_-1.48398532_My%20Phone
The Microsoft APIs documented here all require a registration and key because they're intended for Enterprise applications that support embedded maps in branded apps with the enterprise paying for use.
My application is FOSS and is intended for a private individual to plonk half a dozen points on a map in the course of trying to figure out where a phone was lost without consenting to being tracked by Google or a phone manufacturer.
The example above launches Bing maps and passes a point. Is there some kind of URL based way to get Bing maps to launch in its own right - not hosted in another app - and show a series of points for display as a path? If so, what search terms should be used when looking for details? The answer from which I lifted the sample has a link but it no longer produces the docs.
If you want to just open the bing maps website with some information drawn on the map, the documentation for that is here: https://learn.microsoft.com/en-us/bingmaps/articles/create-a-custom-map-url
To draw a polyline on the map, take a look at the section titled "collections" which describes how to add points, lines, or polygons to the map. As a quick example, this URL will create a simply polyline: https://bing.com/maps/default.aspx?sp=Polyline.47.68_-122.12_48.68_-123.12_49.68_-122.12_LINE_some%20notes_http://bing.com__%2300ff00__4px_Single_Solid

Tableau data layer to one state only

I'm looking to mask all of the detail in Tableau maps other than the state I'm filtered on. The data layer can seemingly only be applied to all or nothing. I'm unable to filter or limit to the dataset to which I'm working. Seems simple, yet 30min of google search can't find answer. Thank you!
I don’t believe that the map server can alter what it displays as a data layer based on the filters you choose in Tableau. The map server is a separate program that returns image tiles upon request. The map server doesn’t know about your filters on the client side - or even that the client app is called Tableau. It just knows that some client application asked for an image representing a map within a particular coordinate bounding box, with whatever style and data layer options that the client application passed.
That doesn’t mean you can’t accomplish your goal, just that you have to find a way to accomplish it on the Tableau side instead the map server side — unless you want to develop your own map server with that functionality, which would be an effort even with a tool like Mapbox.
You could
Decide what “data layers” the map server is providing that you want to retain and at what level of detail, say Avg(Income) per County
Go get that data, possibly from the census bureau
Uncheck the box for your data layers in the Map Layers pane
Use the data you downloaded above to color the map sections as desired
Add other marks to represent additional info as needed using a dual-axis and possibly data blending
Then voila, your data layers will obey your filter. You just had to move where that info was drawn. Of course, you had to find the necessary data instead of relying on the whoever built the map server to do that, but that isn’t too tough.
To handle the Tableau side of things, especially assuming you want to combine the layer we’ve been discussing with other data on your map, you will need to learn about a few other Tableau concepts. So read up on dual-axis maps, level of detail and possibly data blending.
Try this-Right click on the filter state and click show filter.Again right click on filter select "Multiple values(drop down) and then click the Customize and show apply button.Then choose the filter values and apply filter.enter image description here

Mapbox GL JS Geocoding to only reference Tileset

I'm using Mapbox's Geocoding (search box) and was wondering if there's a way that it would only reference my Tileset data rather than the generic global address search? Looks like Mapbox has a "Supplement geocoding search results from another data source", however the example is referencing geographic coordinates rather than addressing. So I'm still not sure if this is possible?
Basically I want to enter an address in the Geocoding search box and to have a particular polygon selected from my dataset on the map. Any help would be greatly appreciated.
The example you linked to shows how to supplement search results with a local source, not a remote source in the https://github.com/mapbox/mapbox-gl-geocoder.
Currently Mapbox doesn't provide a Geocoding API against your own data however depending on how large your dataset is (and assuming it's a Mapbox Dataset and not just a Mapbox Tileset) you could use the Datasets API to read in every feature into the client with https://github.com/mapbox/mapbox-sdk-js/blob/master/API.md#listfeatures and use the results of that to power the mapbox-gl-geocoder search like https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder-local-geocoder/

Mapbox Geocoding custom address

I would like to add custom addresses to Mapbox Geocoding search bar,
but I could not find any examples in Mapbox's official tutorials for that.
I use my original codes (e.g. #abc1234) to point a corresponding coordinate (longitude, latitude) in my project. The coordinates are calculated from the codes systematically and the number of codes is enormous, so, to be exact I want to install an algorithm (not addresses) to Mapbox Geocoding, enter a code in search bar and get a corresponding address.
Is there a way to do that?

Extract map information from Bing Maps

I would like to write a navigation software for windows phone 7 that is available without being on the internet. Therefore, I would like to download the map information from Bing maps. Not the entire world or country, just a small city - because this software is just for me and I only need navigation within my home town.
What I basically need is something similar to the map export that OpenStreetMap offers. I could not find anything equivalent on bing maps, so I wrote a program that queries bing maps (through the API) for routes. It then saves intersections and thus builds a graph. This technically works and I get a lot of streets, but sometimes bing leaves out a single intersection. In that case, my data will become invalid.
So I was wondering if there is any way of asking the API directly for a map export, returning something like an array of streets that is within a certain boundary rectangle. (Or something similar)
Thanks for your help
No, there is no standard API call in Bing Maps API that will let you do this.
Downloading all the street data within "a small city" would violate the terms of service. See 8.2(r) at http://www.microsoft.com/maps/product/terms.html.
If you want that data, you can try OpenStreetMap or else you would probably have to license the data from a commercial provider of such things which is no doubt very expensive.