lessons learned from experiments with postgis eleanor tutt [email protected] st. louis

15
Lessons Learned from Experiments with PostGIS Eleanor Tutt [email protected] St. Louis

Upload: oliver-stanley

Post on 29-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Lessons Learned from Experiments with PostGIS

Eleanor [email protected]

St. Louis

Page 2: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

What is PostGIS?

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• Free and Open Source• Adds support for geographic objects to

PostgreSQL database (which is also open source)

Page 3: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Why Experiment ??

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• Growing quantity of data• Increasingly complex analysis needs• Tired of seeing this in ESRI help files:

Page 4: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Continued Concerns

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• Other priorities besides shuffling data• Fear of reliance on a lesser-known

platformSkills Identified on LinkedIn Profiles

3,000

61,000

191,000

Page 5: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

The experiment so far…

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

Page 6: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Frustrating - Projections

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• Need SRID to properly import data (and if you forget, you don’t get a warning)

Page 7: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Frustrating - Projections

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• SRID has to be in “spatial_ref_sys” table (and not all codes are there by default)

Where’s my SRID???

Page 8: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Frustrating – Projections

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• No “on the fly” projection – must be constantly aware of SRID and use ST_Transform any time SRIDs don’t match

Page 9: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Exciting – Increased Speed

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• ArcGIS takes up to 45 seconds to get past the splash screen (let alone adding data)…

• …when half the time, my queries are simple and don’t require a “pretty map” (“Which bus routes are within a half mile of a site?”)

Page 10: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Exciting – New Analysis Capabilities

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• Drive time polygons/routings

• Converting polygons to lines/splitting lines into line segments

• So much more…

Page 11: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Exciting – ESRI + PostGIS!

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

Page 12: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

ArcMap Query Layers + PostGIS

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

Page 13: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Side Benefits – Better Understanding of ArcGIS

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• Learning a different language helps you think in different ways

• What is intuitive in one system may be possible, but easy to miss, in the other

Page 14: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Side Benefits – Opportunity for “Data Audit”

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

“Export_Output_2.shp”“test_data.shp”“RHCDA20110418.shp”

Page 15: Lessons Learned from Experiments with PostGIS Eleanor Tutt eleanor@rhcda.com St. Louis

Conclusions???

Eleanor Tutt | Lessons Learned from Experiments with PostGISProvidence NNIP Meeting | September 2012

• Dealing with projections is incredibly frustrating – especially with data from two states

• Learning curve is steep, but climb-able

• We aren’t ready to leave ArcGIS, yet