OpenLayers meet ArcGIS.com

“Hey guys, we can support ArcGIS online basemaps, right?”
“Oh yeah, definitely, we use OpenLayers, there must be a layer for that”

Azavea is no stranger to contributing to open source projects, so when we learned that OpenLayers was lacking full support for the newer ArcGIS basemaps, I knew I had a job to do. The community had been looking for this functionality for over 2 years, and still didn’t have a solution. You might say that developing tools for crime fighters would be exciting and rewarding, but it is also nice when something you wrote has the potential to be used everyday by a community you value.

We quickly discovered that a few partial solutions existed, but something was ever so slightly off, those layers weren’t performing in all the configurations we needed. We had a head scratching situation, we had tiles, we had a standard format, but it seemed like they wouldn’t let us get the calibration just right. Finally the eureka moment hit when we discovered that the server was not being entirely literal with it’s capabilities, and that they were actually subtly changing as the zoom level changed! Once we knew that, it was a simple matter of overriding some base code, recalibrating and extrapolating the extent, and we were set!

Fast forward to today, and we’ve peer-reviewed the layer internally, added documentation, multiple examples, and unit tests, and we submitted a patch to the community about a month ago. Although it isn’t officially in the trunk yet, we already have word from a new friend in Spain that the layer has helped him with a project!

I’m excited that this layer could help more developers and organizations take advantage of the great cartography offered by Esri while using the powerful OpenLayers platform. So please keep your fingers crossed while we go through the approval process once again, or checkout the patch and try it for yourself, and let us know what you think. It can support out of the box ArcGIS.com basemaps, local ArcGIS servers, and raw file caches produced by ArcGIS.

Thank you to those who helped (Jeff, Aaron, Zwarg, and Robert), and to those who helped online and in the community, Thanks! Also thanks to Esri, who just made their ArcGIS map tiles available for free to everyone!

Both comments and trackbacks are currently closed.

2 Comments

  1. Posted 2 March 2011 at 6:24 am | Permalink

    Nice work on the OpenLayers implementation.

    I’m just wondering if you got clarification from ESRI on the use of these mapping services with APIs other than ESRI’s. The TOS are not very clear at all.

    http://gis.stackexchange.com/questions/6662/can-you-use-arcgis-online-base-maps-without-esri-software

    It would be great to have access to these basemaps in OpenLayers.

  2. Posted 28 March 2011 at 12:26 am | Permalink

    Seth,

    Thanks for your comment. We have shared this work with folks at Esri and have used the ArcGIS tiled map services with OpenLayers for a couple of years with no pushback from anyone. Our submission to OpenLayers was simply to make it easier for others to do so. That said, my interpretation of the FAQ is that these are free to use for users of Esri software. As both our company and many of our clients are licensees of Esri software, I’ve not really thought about it, but I suspect that this would present a potential problem if a site was commercial or government organization and the org was not an Esri customer in some way. That’s obviously not a legal opinion, but it would be my interpretation.

    Regards,

    Robert

4 Trackbacks

  1. [...] This post was mentioned on Twitter by Esri Transportation and Steve Snow, Dave LaShell. Dave LaShell said: A great way for #opensource to meet #ArcGIS RT @azavea: New Azavea Labs article: OpenLayers meet ArcGIS.com http://bit.ly/gx7BEV [...]

  2. By James Fee GIS Blog » Blog Archive » The World… She be a changing… on 25 February 2011 at 12:51 pm

    [...] Do you use ArcGIS Server with OpenLayers?  Thank the Azavea guys for making that happen. [...]

  3. [...] tiling support for ArcGIS Online base maps.  There’s more on the OpenLayers submission in a post by David Middlecamp on our Labs blog. PermalinkPost a comment or Leave a trackback.Post a CommentYour email is never shared. Required [...]

  4. [...]  We have made multiple contributions to the OpenLayers project, and most of them have focused on adding better support for ArcGIS services and tools. In other words, like many software companies, we make strategic decisions about what tools we use [...]