f=geojson, Part 3

So it seems this thing may be snowballing. The idea of GeoJSON support was originally floated (not by me) on Esri’s ideas.arcgis.com site a few years back. The entry can be found here.

A few days after Esri announced support for GeoJSON in AGOL, they updated the above entry as follows:

Note from Esri (Dec 16, 2014): We are considering this feature to be included in the next minor release after ArcGIS 10.3.

So, it appears ArcGIS Server users have something to look forward to after the 10.3 rollout. It would seem to me that, after implementing all of this back-end support, the next logical step would be to add consumption support in the web and (preferably) desktop clients. (Note: That is purely speculation on my part.)

BTW, the language in the note above is still a little ambiguous so now may be a good time to log in and upvote this idea if you haven’t already done so.

It’s great to see my favorite data format making inroads into the vast Esri user community. Perhaps all the tools I use will finally be interoperable in a modern, web-friendly way.

GeoJSON From ArcGIS Server

A while back, I posted about my desire to see GeoJSON supported as an output format from ArcGIS Server. I found myself needing that capability so I recently completed, and posted to GitHub, a first cut at a server object extension (SOE) for ArcGIS Server 10.1 that enables output of GeoJSON via an HTTP GET.

Using the SOE is fairly straightforward. If you download the code and build it (ensuring you have installed the ArcObjects SDK for .Net), you can simply move the project outputs to your target machine and use the ArcGIS Server manager to install the SOE. Once you log into the manager application, click “Site” at the top of the page and then “Extensions” on the left. Click “Add Extension” and browse to the .soe file. You should end up seeing something like this:

Continue reading “GeoJSON From ArcGIS Server”

Cutting Tiles for ArcGIS Server Using TileMill

There’s been a lot of talk about TileMill and CartoCSS lately, with good cause. TileMill makes it very easy generate beautiful map tiles using the Mapnik engine and CartoCSS provides a familiar method to author the cartographic representation of spatial data. As Brian Timoney points out, CartoCSS has the added bonus of making best practices shareable via copy-and-paste.

Naturally, the best way to take advantage of TileMill is to export your tiles to MBTiles and use MapBox hosting. If that’s not an option, you can pretty easily self-host with TileStream. That said, there are some organizations that, due to larger GIS workflows, IT policies, and a host of other legitimate reasons, need or choose to use ArcGIS Server to do map hosting. For those organizations, TileMill is still an option to create attractive basemaps, within certain constraints.

So I set out to see if I could bridge the gap between the two. Two blog posts pointed the way. A while back, Dan Dye blogged about how he had forked mb-util and added support for exporting WeoGeo tilepacks from MBTiles. Also, a co-worker of mine, Eric Mahaffey, had blogged some time ago about how to use Arc2Earth to manage tile caches across air-gapped networks. Using these posts for guidance, I was pretty sure I had all the pieces I needed. Continue reading “Cutting Tiles for ArcGIS Server Using TileMill”