We’ve all been there, you’re in some glorious online mapping application and see some data that you wish you could have. Or perhaps you want to bring those web services into your own mashup. You’ve looked around their website, but you don’t see them publically distributing their web service1. Still, you must have those services. Not so long ago, you could try to make an educated guess based on web server names and knowing the correct path structure, and if you got lucky, might be able connect to a WMS service or ArcIMS service. Well now-a-days, thanks to browsers like Google Chrome or Mozilla Firefox and browser add-ons such as Firebug, you can get to that web service information and connect to them in your local GIS in a matter of minutes or code them into your mash-up applications and have your own glorious online mapping application. #winning
I’ll run through an example of how to obtain map services using either Google Chrome or Mozilla Firefox with the Firebug add-on. If you don’t have one of those already installed, please go ahead and do that at this time.
Open Google Chrome, in the top right corner you will see the wrench icon, left click on the wrench, and a dropdown will open. Mouse over the ‘Tools’ option then click on ‘Developer Tools’. Or for those who like short cuts, just use Ctrl+ Shift + i.
Open Firefox, then click the ‘Tool’ menu in the title bar, select ‘Web Developer’, then ‘Firebug’ and ‘Open Firebug’. The Firefox shortcut to open Firebug, once installed, is ‘F12’.
Not So Simple
That’s cool and all, but perhaps you don’t just want to use the service locally, you want to build a mashup; i.e. tell a good geospatial story using quality data (that you don’t own). Since you have ‘found’ someone’s service you could simply code it into your application, cross your fingers and hope it stays static for few years. But what if their data schema changes or worse they kill the service? If you really are going to spend the time to to build an application, it is best to contact the service originator and work out an arrangement. Perhaps they will be willing to notify you before they make changes. Or perhaps if they have the resources, you can convince them to put a second version of the service up that they won’t touch2. After all who wouldn’t want their web service to be used in another quality application. Its good advertising for them as well!
There you have it, a simple and quick way to the ‘backdoor’ of someone’s web services to use them for your own purposes. Remember though, be a good data custodian and use other’s data responsibily and provide credit if neccessary. As you saw in the example above, the Office for Coastal Management does have an ArcGIS Server providing numerous services. What you didn’t see is that we have a separate ArcGIS Server dedicated to push those same services out for public use, those can be found here:
If you have any other tips, hacks or comment, please share them with the rest of us.
1Sad but true, good data and services are not always easily accessible and distributed to the public.
2Make it public knowledge that this public service is for use by the masses.