de en es fr nl pl pt sv zh

geospatial

Extracting Fire Station Locations from OpenStreetMap

The Pleasure of Finding Things Out: A blog by James Triveri

OpenStreetMap (OSM) is a collaborative project that creates a free, editable map of the world. It’s built and maintained by a global community of contributors who collect and upload geographic data including roads, buildings, parks and more, using GPS devices other public sources. OSM allows...

No API? No Problem - Mapping Coordinates to ZIP Codes for Free

The Pleasure of Finding Things Out: A blog by James Triveri

ZIP Codes are widely used in analytics because they serve as a convenient proxy for geographic location, even though they are not true areal units. In the United States, ZIP Codes are created and managed by the United States Postal Service for the purpose of delivering mail. They represent...

Creating Animations with Folium

The Pleasure of Finding Things Out: A blog by James Triveri

TimestampedGeoJson is a Folium plugin that facilitates the visualization of geospatial data that evolves over time using the GeoJSON format with timestamps. This is useful for tracking vehicle trajectories, satellites, pedestrian traffic, changes in weather patterns or any other geospatial...

Geohashing for Fun and Profit

The Pleasure of Finding Things Out: A blog by James Triveri

I recently became interested in geohashing and wanted to develop an understanding of the algorithm with the aim of implementing it myself. I was surprised to find it to be quite simple and intuitive. In this article, I’ll demonstrate how to generate geohashes for a given latitude and longitude and...

Quantifying Spatial Autocorrelation with Moran’s I

The Pleasure of Finding Things Out: A blog by James Triveri

Spatial autocorrelation is a statistical concept that measures how similar values of a variable are based on their proximity to each other on a map. Positive spatial autocorrelation means that geographically nearby values of a variable tend to be similar on a map: high values tend to be located...