National Park System

If you look at all the National Parks across the US, there are about 60: The National Park Service manages many more “park units” other than just the officially-designated “National Parks.” These include things like National Lakeshores, National Monuments, National Parkways, National Preserves, etc. In total there are about 400 units across the US: The National Park Service has an open data portal where you can get an API of all the locations of these parks, so I took that data feed and put it into ArcGIS Web AppBuilder to create an application that allows you to filter the map by park types.

NPR, Where are the Landing Pages for Podcast Episodes?

I was just trying to share a single episode of NPR’s Podcast “How I Built This” with a friend. When I searched for the episode, no authoritative episode landing page showed up. Odd … so I go to the podcast general show page. For each recent episode you have options to: Listen (on same page) Add to Listen Queue (on same page) Download (Direct link to MP3 via Podtrac website) View a transcript

Using the R-ArcGIS Bridge in Jupyter

I was sitting in a presentation a few weeks ago on the R-ArcGIS bridge and I had a question: “Can I use the R-ArcGIS bridge in my Jupyter Notebook?" When I asked one of the presenters if this would be possible, he said, “Yes”.┬áSo, after the presentation, I set out to get the R-ArcGIS bridge running in Jupyter. Installing the ArcGIS-R Bridge The first thing I did was install the R-ArcGIS bridge.

Inline Footnotes WordPress Widget - Version 2 Released

Version 2.1.0 of one of the WordPress plugins that I manage, Inline Footnotes, has been released. This new version: Fixes mobile issues by showing the footnote content in the center of the screen when on mobile. Allows background_color attribute in the footnote tag. Adds option to show footnote on hover Has minified JS/CSS files To facilitate the first item above, I had to change how the show/hide behavior of the footnotes works a little bit.

2017 Lambert St. Louis Airport Passenger Data

The St. Louis Airport recently released the 2017 information on passenger data. I really appreciate that they are releasing this information, but would love if the data was in a better format for working with this. To help others use this data, I’ve created GitHub repository where you can download this data. I’ve also created a few graphs based on this live data. The data is here: And I created a few graphs here: gavinr.

Top 5 Parking Locations at Lambert St. Louis Airport (Updated 2018)

A few years ago I posted an analysis of the best airport parking providers near Lambert St. Louis Airport. Even though I usually post technology and mapping related posts, this is actually one of the most popular posts on this blog. (Lol!) In the intervening years since that was posted, some of the information has gone stale - most notably the parking prices changed which, it turns out, changes the order of the list!

Comedians in Cars Getting Coffee - Seasons 1-9 Original Order

Here is the original order from the releases of Comedians in Cars Getting Coffee, as they were released before being moved to Netflix.

Custom Web AppBuilder Widgets in TypeScript

If you’re a JavaScript developer, you may have heard of TypeScript, a typed superset of JavaScript that compiles to plain JavaScript. If you’re also creating custom Web AppBuilder widgets, using TypeScript in a widget is a great way to get started with TypeScript. Here are a few notes and tips that I’ve discovered while using TypeScript within a Web AppBuilder custom widget development workflow. Background My usual Web AppBuilder development workflow is to have my widget code in its own code repository, and use a task runner like Grunt or Gulp to automatically compile and copy my code to the correct places (The stemapp directory and optionally the server directory of the app that I’m currently working on).

ArcGIS JavaScript API 4 - Hover Feature Event

The way hover events work in the JavaScript API 4 vs 3 is a bit different. In the 3.x API, you could use the “mouse-move”, “mouse-over”, and “mouse-out” events on the Feature Layer object itself. See example here: But in the 4.x API, you want to use the “pointer-move” event of the MapView (or SceneView). But that will give you events on any time the pointer moves in the map. So you then have to run a “hit-test” on the result to see what feature it is hovering over (if any).

Shotcharts Revisited - From NBA Stats to Feature Service in Less Than 20 Lines of Code

A guest post by Gregory Brunner About two years ago, I wrote about creating shotcharts in ArcGIS using Python and arcpy. In the post, I demonstrated how to scrape the data from and create a shots feature class from the data. I then shared the resulting shotchart as several web maps in ArcGIS Online. What I was unable to do at the time was automate the creation of the feature service and web maps that I shared in that post.