An overview of spatial data and web mapping concepts, and of libraries and applications in Python for working with spatial data and generating maps for the web. A talk given at PyCon 2012 in Santa Clara, CA.
data with multiple (n > 1) dimensions (usually 2D or 3D (maybe 4D)) • … coordinates that represent a point or points in a space (in a plane, on a globe) Concepts
• Split on overflow • Algorithm for splits generally defines R- tree variants • Leaf nodes contain list of objects Concepts Good index for all types of geometries
res: ... state = states[id] ... if state['geom'].contains(pt): ... found = state ... break >>> found {'attributes': {'abbrev': None, 'id': 18, 'name': u'Maryland'}, 'geom': <shapely…>}
probably need to get this to work :-) • Spatial databases (PostGIS, Spatialite) • JavaScript browser UIs (OpenLayers, Leaflet, Modest Maps, Wax, Polymaps) • Map design applications (TileMill)