2. Speedy Background
• SQL = Structured Query Language
• Beloved/BeHated by Database Admins
• Runs Behind Nearly Everything
SQL For Everything - Bill Morris - Geosprocket LLC
3. Ever Fired Up a Computer?
You’ve Used SQL.
SQL For Everything - Bill Morris - Geosprocket LLC
4. So What’s PostGIS?
• A spatial extender for the PostgreSQL
database system
• Free as in Speech, Free as in Beer
SQL For Everything - Bill Morris - Geosprocket LLC
5. What’s Post-PostGIS?
• A parody on Twitter. Pay no mind.
SQL For Everything - Bill Morris - Geosprocket LLC
6. What’s CartoDB?
• A PostGIS environment built for the web
• “Open-Source Fusion Tables”
• Build your own server:
https://github.com/CartoDB/cartodb20
• Or get a hosted account:
http://cartodb.com/
SQL For Everything - Bill Morris - Geosprocket LLC
10. SQL as we know it
Source: Chicago Crime Commission & Openstreetmap Contributors
SQL For Everything - Bill Morris - Geosprocket LLC
11. SELECT * FROM territory_all WHERE
“NAME” LIKE ‘Latin%’
Source: Chicago Crime Commission & Openstreetmap Contributors
SQL For Everything - Bill Morris - Geosprocket LLC
12. SELECT * FROM territory_all WHERE
name LIKE ‘Latin%’
SQL For Everything - Bill Morris - Geosprocket LLC
13. Geoprocessing as we know it
SQL For Everything - Bill Morris - Geosprocket LLC