GeoPandas Tutorial

This is an implementation of the excellent PostGIS / geopandas tutorial here using NHDPlus WBD polygons for PNW. All the ideas and methods are from this tutorial, simply implementing with a different dataset and in Oregon. %matplotlib inline import os import json import psycopg2 import matplotlib.pyplot as plt # The two statemens below are used mainly to set up a plotting # default style that's better than the default from matplotlib import seaborn as sns plt. [Read More]

Read PostGIS in R

Working with Postgres / PostGIS more now and playing with reading and writing from R and Python. Here’s snippet showing read in of PostGIS in R: