Transcript
Page 1: Sydney GeoRabble Presentation - GovHack 2012 - Happiness Matters

Task 1: Simplify LGA Boundaries

ogr2ogr -sql "select g.gid, lga_code11, lga_name11, ste_code11, area_sqkm, ST_Simplify(g.geom, 0.005) as geom from lga_2011_aust_2 g order by ST_Area(g.geom) desc" -f kml out.kml PG:"host=localhost user=postgres dbname=postgis20 password=X"

Page 2: Sydney GeoRabble Presentation - GovHack 2012 - Happiness Matters

Task 2: Compare touching LGAsSELECT s1.lga_name11, s2.lga_name11

FROM lga_2011_aust s1, lga_2011_aust_2 s2WHERE ST_Overlaps(s1.geom, s2.geom);


Top Related