PostgreSQL & PostGIS Cheatsheet
This is a collection of information on PostgreSQL and PostGIS for what I tend to use most often.
This is a demonstartion of how to align arbitrary GeoJSON data to the us-atlas topojson data.
It's important to note that the TopoJSON from
us-atlas has it's map projection,
(d3.geoAlbersUsa), built into it. In other words,
it is considered "projected" geographic data.
This is an important distinction from GeoJSON data which is most typically stored in the unprojected Coordinate Reference System WGS84, also commonly referred to as "lat, lon" (though coordinates are most often stored in the order longitude, latitude).
|Python Command and Character list From Learn Python the Hardway by Zed Shaw (expanded from Lesson 22)|
|### Character / Command What it's called What it does example example2 ###|
|pydoc <something> #pydoc gives you the manual page for something you want to know about in python pydoc sys|
|help() #help function use when running python to find help on an object|
|print() #print function prints to the console whatever is next print(“Hello World!”) print(1 + 2)|
|" " # double quotes starts and ends a string print(“Hello World!”)|
|' ' # single quotes starts and ends a string print('Hello World!')|