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.

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

View larger map 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 stats.nba.com 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.

Analyzing Landsat Image Metadata with the Spatial DataFrame

A guest post by Gregory Brunner A few weeks ago, Esri released an update to the ArcGIS API for Python. The newest release includes: An intuitive and powerful raster API Powerful GIS administration Spatial DataFrames!!! Hopefully, you can tell that the new functionality in the API that I am most excited about is the [spatial dataframe](http://developers.arcgis.com/help doc)! The spatial dataframe extends the pandas dataframe by adding geometry, spatial reference, and other spatial components to the dataframe.

Published Web App

Last week Missouri got a lot of rain, which caused flooding in the Meramec river valley near St. Louis. I received a link to an ArcGIS Image Service that Surdex had created and provided that showed the flooding as of Tuesday 5/2. They flew this imagery as a service to the government and first responders, hoping to help those affected quicker and more efficiently. Here’s a sample: I was really interested in this imagery, but it lacked some context - I couldn’t tell how the flooding depicted in the imagery compared to normal conditions.

St. Louis Lambert Airport Passenger Data

Our city’s airport posts data on how many passengers travel through the airport each month and year. It’s posted as a PDF but the data is hard to use in that format. I grabbed the data and put it into a better format: Why not convert to a graph too? I’ve posted this data on GitHub. It tells an interesting story of how the early 2000s was tough years for Lambert, but recent years the demand has ticked up.

Open Data in University City

I live in University City, MO, which has no crime. Don’t believe me? This map says so: Open Government The benefits of open government data - crime data being just one aspect of that - is well documented. It allows you and I to take the data the process it, innovate on it, be informed based on it, and keep our government officials accountable. It is easier now more than ever to have a basic open data program at any government level.

Extending Widgets in ArcGIS Web AppBuilder

I’ve had many requests and ideas for Web AppBuilder widgets over the past few years, and many times they are ideas that are building on an existing widget. For example, a query widget that is custom to a particular workflow, an edit widget that enforces certain geometry movement restrictions, or maybe adding a few more options to the built-in print widget. Most developers will copy the original out-of-the-box (OOTB) widget, rename it, and then start development from there.

St. Louis Bike Trails with Open Data from Great Rivers Greenway

2016 was a year of biking for my wife and me. We biked many trails in St. Louis, and even did part of the Katy Trail. So when I saw St. Louis City alderman Scott Ogilvie tweeting about Great Rivers Greenway, the trails organization in the St. Louis area, I started wondering what the future of St. Louis trails will be. Just send an email to [email protected] and let us know what you are looking for.

How to Create Pitch Charts with Python

A guest post by Gregory Brunner I have been interested in looking at MLB pitch data and play-by-play for a while now, however, I have not found any good blob posts or tutorials for doing this. So during the MLB Playoffs, while I was checking the score of Cubs vs. Dodgers, Game 5 on Yahoo! it struck me that there is probably a way to get the live game data from Yahoo!

OKSCAUG, Thunder Up!

By Gregory Brunner I was supposed to be at OKSCAUG in Moore, Oklahoma on Tuesday presenting on Mapping Russell Westbrook’s Shots with Python and ArcGIS; however, on Friday I fell through my garage ceiling and injured my left wrist, elbow, shoulder, and hip. Here’s the hole I left in the ceiling: It was a 10 or 12 foot fall. Amazingly Miraculously, the x-rays taken at the ER show no broken or separated bones!

3