building open source projects in government esri ecosystems · building open source projects in...

37
Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10, 2014 Road designed by Juan Pablo Bravo from the thenounproject.com

Upload: others

Post on 06-Oct-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Building Open Source Projects in Government Esri EcosystemsLyzi DiamondFOSS4G 2014 | Portland, OR | September 10, 2014

Road designed by Juan Pablo Bravo from the thenounproject.com

Page 2: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

This talk is about building open source web applications

with government GIS data.

Trail View Hiker designed by Luis Prado from the thenounproject.com

Page 3: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

This is a two-way street.

Page 4: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Every day at Code for America, we work with local governments to build applications that:

• use open data from a variety of sources;

• are typically constituent-facing web applications;

• are manageable by the city;

• attack government problems with small, technological solutions;

• encourage the civic technology community to stay active; and

• are designed to stay updated and sustained.

Page 5: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Esri is clearly the dominant vendor in enterprise GIS. Civic

technologists just need to learn how to play nice with it.

Address designed by Richard Cordero from the thenounproject.com

Page 6: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

So let’s talk about how we can build an open-source web application

inside of an Esri technology stack.

Page 7: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

STEP ONE: Understand the ecosystem infrastructure.

Page 8: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

I am neither a backend developer nor a sysadmin. I just like GIS and maps and open source. Take everything I say with a grain of salt.

DISCLAIMER:

Page 9: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

ArcGIS for Server or

ArcGIS Online

Page 10: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Web applications

==

web access to data.

!

!

(Plus: open.)

Page 11: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,
Page 12: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

The main idea: Use what you have.

DO LESS.

Page 13: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

STEP TWO: Identify the data you need for your project.

Page 14: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

NOTE: Is the data you want protected? NOTE: Does the data you want have information that can’t be shared in bulk? NOTE: Who owns the data? NOTE: How is the data stored?

Page 15: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

STEP THREE: Enable access to the data.

Page 16: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Publish hosted, publicly-accessible layers with Esri tools to enable API access.

http://bit.ly/esri-publish

Page 17: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Open data portals, too.

Page 18: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

STEP FOUR: Extract, transform, load

(celebrate)

Page 19: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Extract.

Page 20: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Transform.

Page 21: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Load.

Page 22: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Repeat.

Page 23: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

EXAMPLE #1: Citygram and Spyglass

http://seattlegram.herokuapp.com

Page 24: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Citygram: location-based, opt-in text message and email notifications about city services.

Page 25: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Spyglass: ETL layer that pulls data from APIs, conforms data for use in Citygram (to GeoJSON), caches data.

Page 26: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

EXAMPLE #2: OpenTrails Data Converter

http://open-trails.herokuapp.com

Page 27: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

http://opentraildata.org

OpenTrails: A data standard for enabling parks to undertake quality digital user experience design.

Page 28: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

OpenTrails Converter: A tool for converting trail data (shapefiles) to OpenTrails format.

Page 29: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

EXAMPLE #3: Lexington Geocoder

http://lexington-geocoder.herokuapp.com

Page 30: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Lexington Geocoder: Uses open parcel data and ElasticSearch to do fuzzy matching on addresses.

Page 31: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

You can see many more projects and examples on Code for America’s GitHub: http://github.com/codeforamerica

Page 32: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Other considerations: !

• Hosting applications • Changing infrastructure and data storage

• Relationship management

Page 33: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

SHAMELESS PLUGS: Code for America Brigades and

Maptime chapters can help! !

http://codeforamerica.org/brigade http://maptime.io

Page 34: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

This talk was about building

open source web applications

with government GIS data.

Trail View Hiker designed by Luis Prado from the thenounproject.com

Page 35: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

It is not that difficult, and certainly not impossible.

Trail View Hiker designed by Luis Prado from the thenounproject.com

Page 36: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Opening government data is a big deal.

!

You are a champion. !

Keep doing the hard work.

!

It’s worth it.

Trail View Hiker designed by Luis Prado from the thenounproject.com

Page 37: Building Open Source Projects in Government Esri Ecosystems · Building Open Source Projects in Government Esri Ecosystems Lyzi Diamond FOSS4G 2014 | Portland, OR | September 10,

Thanks!Lyzi Diamond | @lyzidiamond | [email protected] Slides: http://bit.ly/lyzi-foss4g !!Come to the Maptime party tonight!

Road designed by Juan Pablo Bravo from the thenounproject.com