background preloader

Python

Facebook Twitter

GIS mapping with Python. GIS mapping with Python Driving times from San Mateo County Forensic Lab to the rest of the bay area. Numbers are in minutes. Bright splotches are multiples of 10 minutes. Speed limits for each road class are from the TMRS project and might be experimental. There's a suspicious road classification on Willow Road at the east end of the Dumbarton Bridge that might be throwing off all the Fremont times. I presented the San Mateo image at dorkbot. I made plots of driving times from my house, with every multiple of 5 minutes highlighted in yellow, and every minute alternating between light and dark.

Before I connected some gaps in the bridges, I was getting this wrong image. Here's a first version of running shortest-paths on the map. I also plotted the streets in the San Francisco Bay Area using these colors for the first letter of the street (except freeways): Here is a similar google maps view. This is based on my previous work with TMRS. Related work TimeContours. The Shapely Manual. Introduction Deterministic spatial analysis is an important component of computational approaches to problems in agriculture, ecology, epidemiology, sociology, and many other fields. What is the surveyed perimeter/area ratio of these patches of animal habitat? Which properties in this town intersect with the 50-year flood contour from this new flooding model? What are the extents of findspots for ancient ceramic wares with maker’s marks “A” and “B”, and where do the extents overlap?

Shapely is a Python package for set-theoretic analysis and manipulation of planar features using (via Python’s ctypes module) functions from the well known and widely deployed GEOS library. The first premise of Shapely is that Python programmers should be able to perform PostGIS type geometry operations outside of an RDBMS. Spatial Data Model The fundamental types of geometric objects implemented by Shapely are points, curves, and surfaces. Relationships Operations Coordinate Systems Geometric Objects object.area. PyOGCLib - A Library for Python Programming of OpenGIS Applicati. Python Cartographic Library - Trac. OpenOcean - Trac.