ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1....

35
ITS488 – Geographic Informa5on System Teerayut Horanont, PhD Sirindhorn Interna5onal Ins5tute of Technology (SIIT) Thammasat University E: [email protected] 111 Open source GIS 2014 10 29 10/29/14 ITS488 1

Transcript of ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1....

Page 1: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

ITS488  –  Geographic  Informa5on  System

Teerayut  Horanont,  PhD  Sirindhorn  Interna5onal  Ins5tute  of  Technology  (SIIT)  Thammasat  University        E:  [email protected]  

11-­‐1  Open  source  GIS  2014  10  29

10/29/14 ITS488 1

Page 2: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Today  outline  

1.  The  Open  Source  Geospa5al  Founda5on  2.  Open  Source  License  3.  Free  and  Open  Source  SoRware  for  

Geospa5al  (FOSS4G  )  4.  Openstreetmap  

10/29/14 ITS488 2

Page 3: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Source  Data  Standards  

Open  

Educa5on  Educa5on  

Page 4: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Open  Source  Geospa5al  Founda5on  

10/29/14 ITS488 4

The  Open  Source  Geospa5al  Founda5on  (OSGeo),  is  a  non-­‐profit  non-­‐governmental  organiza5on  whose  mission  is  to  support  and  promote  the  collabora5ve  development  of  open  geospa5al  technologies  and  data.  

Page 5: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

•  an  organiza5on  of  developers  and  users  

•  dedicated  to  furthering  the  goal  of  open  source  

•  developing  and  suppor5ng  major  libraries,  client    

•  applica5ons,  and  server  technologies  

10/29/14 ITS488 5

OSGeo    

Page 6: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

OSGeo‘s Mission

“Support  and  promote  the  highest  quality  

Open  Source    Geospa5al  SoRware”  

Page 7: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

OSGeo's Goals

•  Provide  resources  for  FOSS4G  projects:  –  Infrastructure  –  Legal  frame  –  Financial  support  

•  Promote  free  and  open  spa/al  data  •  Create  and  maintain  a  quality  brand  •  Create  and  promote  free  curriculua  •  Promote  and  contribute  to  standards  

Page 8: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

OSGeo Activities •  On  a  global  scale:  

–  Provide  mature  soRware  solu5ons  –  Support  FOSS4G,  an  interna5onal  open  source  conference  for  geospa5al  applica5on  (2013:  UK,  2014:  USA)  

•  Support  local  ac5vi5es  and  capaci5es  –  Local  open  source  conference  for  geospa5al  applica5on  (i.e.  FOSS4G-­‐SEA)  

–  Local  chapters  (India,  ...)  •  Facilitate  inter-­‐project  communica5on    •  Build  a  solid  market  for  businesses  and  users    •  Interface  with  industry  and  business    •  Support  the  educa/on  of  domain  experts  not  «brand-­‐

specialists»    •  ...  

Page 9: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

FOSS4G Projects

deegree    

UMN    Mapserver  Mapbender  

OpenLayers    

MapBuilder   Map  Guide  OS  

web  mapping  

GRASS  GIS  

Quantum    GIS   OSSIM  

gvSIG  

desktop  GIS  

GeoNetwork    

metadata  Project  

in  incubation  

GEOS  

FDO   GDAL/OGR  

GeoTools  

libraries  

MetaCRS   PostGIS  

GeoServer  

Page 10: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

10/29/14 ITS488 10

Several  projects  can  communicate  with  each  other  and  other  geographical  tools.  

Page 11: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

To  the  Heart  of  the  Mader  1.  Licensees  are  free  to  use  open  source  soRware  for  any  purpose  

whatsoever.  

2.  Licensees  are  free  to  make  copies  of  open  source  soRware  and  to  distribute  them  without  payment  of  royal5es  to  a  licensor.  

3.  Licensees  are  free  to  create  deriva5ve  works  of  open  source  soRware  and  to  distribute  them  without  payment  of  royal5es  to  a  licensor.  

4.  Licensees  are  free  to  access  and  use  the  source  code  of  open  source  soRware.  

5.  Licensees  are  free  to  combine  open  source  and  other  soRware.  

10/29/14 ITS488 11

Page 12: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

10/29/14 ITS488 12

Intellectual  Property  

Page 13: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

The  Clever  Bit  What  if  you  were  to…  •  Explicitly  license  your  source  code  to  anyone  who  wants  it,  in  such  a  way  that  they  have  the  right  to  “do  whatever  they  want”  with  it  

•  Turns  the  no5on  of  copyright  on  it’s  head!    “copyleR”  

Thus:  •  Open  source  soRware  is  not  “given  away”  –rather,  it  is  controlled  via  a  license  agreement  under  copyright  law  

10/29/14 ITS488 13

Page 14: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Two  types  of  licenses  Academic  or  “A=ribu/on”  Licenses  •  goal:  a  commons  of  code  for  all  to  use  for  any  purpose  •   you  can  “do  anything”  with  the  code,  up  to  and  including  incorpora5ng  it  

into  closed/proprietary  programs  –  code  can  “escape”  the  commons  

•  but,  you  must  give  credit  the  original  authors  •  example  licenses:  BSD,  MIT,  Apache  

 Reciprocal  Licenses  •  goal:  a  commons  of  code  for  all  to  share  and  share-­‐alike  •  deriva5ves  must  be  under  the  same  license  

–  code  and  deriva5ves  cannot  “escape”  the  commons  •   considered  “viral”,  as  can  “infect”  other  code  you  introduce  •  example  licenses:  GPL  

10/29/14 ITS488 14

Page 15: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

License  Shopping  OSI  –  The  Open  Source  Ini/a/ve  •  non-­‐profit  organiza5on  •  owns  the  Open  Source  Defini5on  (10  basic  tenets)  •  cer5fies  licenses  as  “open  source”  •  currently  ~50  licenses  listed  

The  open  source  community  does  not  need  any  more  licenses!  •  Use  an  OSI  one  –  do  not  write  your  own!  •  You  shouldn’t  have  to  struggle  through  learning  the  legal  nuances  •  You  won’t  have  to  hire  a  lawyer  •  Allow  the  community  to  sedle  on  a  base  set  of  common  license  •  (moral:  it’s  all  about  reuse  and  coopera5ve  development…)    

10/29/14 ITS488 15

hdp://opensource.org/  

Page 16: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Tools  and  Libraries  A  few  libraries  that  are  the  founda5on  of  many  Open  Source  and  commercial  Geospa5al  SoRware  Packages  GDAL  (Raster)  and  OGR  (Vector)  •  Geospa5al  Data  Abstrac5on  Library  /  OpenGIS  Simple  Features  Reference  

Implementa5on  •  Tools  for  reading,  wri5ng  and  processing  of  raster  and  vector  data  sets  -­‐>  formats  •  Important  base  for  many  Desktop  GIS  systems  e.g.  ArcGIS  •  OGR  extends  MapServer  formatsOracle  Spa5al,  ESRI  Geodatabase  (MDB),  TIGER,  

MapInfo…  PROJ4  is  a  library  for  cartographic  projec/on  rou/nes  •  stand  alone  projec5on  u5lity  “proj”  •  libraries  for  more  than  2500  projec5ons  (e.g.  EPSG  list)  GeoTools  is  an  open  source  Java  GIS  toolkit  •  GeoTools  is  a  library  for  cartographic  projec5on  rou5nes  •  Similar  usage  as  OGR  and  GDAL  for  Java  based  projects  •  Udig  and  GeoServer  are  based  on  GeoTools  10/29/14 ITS488 16

Page 17: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

OpenStreetMap  

Andy  Robinson  

Community  Meets  Cartography  

Page 18: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Why?  

•  Exis5ng  Data  not  Free  &  Open  – Ar5ficially  S5fles  Innova5on  

•  Data  as  a  Sta5c  Snapshot  – Near  Real-­‐Time  data  use  not  possible  

•  Real-­‐Time  data  –  Interac5ve  data  edi5ng  by  users  the  next  step    

Page 19: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Quote  1  

“If  you  don’t  make  [lower-­‐resolu5on  mapping  data]  publicly  available,  there  will  be  people  with  their  cars  and  GPS  devices,  driving  around  with  their  laptops  ..  They  will  be  cataloguing  every  lane,  and  enjoying  it,  driving  4×4s  behind  your  farm  at  the  dead  of  night.  There  will,  if  necessary,  be  a  grass-­‐roots  remapping.”  

Tim  Berners-­‐Lee  

Page 20: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Quote  2  

“You  could  have  a  community  capability  where  you  took  the  GPS  data  of  people  driving  around  and  started  to  see,  oh,  there’s  a  new  road  that  we  don’t  have,  a  new  route  ..  And  so  that  data  eventually  should  just  come  from  the  community  with  the  right  soRware  infrastructure.”  

Bill  Gates  

Page 21: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

How?  

•  Provide  an  Open  Plaworm  – OSM  Users  may  freely  input  and  extract  data  

•  Raw  sources  for  OSM  Basemap  – GPS  track  logs.  Movement  Breadcrumbs  – Exis5ng  Free  Data  Sources  (eg  TIGER/LINE)  – Historical  Maps  –  Out  of  Copyright  mapping  

•  Users  Create  Basemap  from  Raw  Sources  – Via  Online  and  Offline  Edi5ng  SoRware  

Page 22: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Building  Blocks  

•  Minimal  Data  Set  for  Maximum  Flexibility  – Nodes  – Segments  – Ways/Areas  – Tags  –  Metadata  as  key/value  pairs  

•  Full  User  History  and  Rollback  ability  

Page 23: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Fancy  a  Go?  

+  

Page 24: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and
Page 25: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

West  Midlands  

Page 26: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and
Page 27: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and
Page 28: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Rendering  Data  

Page 29: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Rendering  –  stage  1  

Page 30: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Rendering  –  stage  2  

Page 31: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

OSGEO Live DVD

• originally  compiled  by  Cameron  Shorter,  and  one  of  the  coordinators  of  the  OSGeo-­‐Live  Project.  

• a  bootable  DVD,  based  on  the  Xubuntu  linux  distribu5on,  pre-­‐installed  and  pre-­‐configured  with  close  to  50  of  the  best  GeoSpa5al  Open  Source  applica5ons  along  with  sample  datasets.  

• OSGeo-­‐Live  can  also  be  run  from  a  USB  flash  drive,  installed  into  a  Virtual  Machine,  or  installed  onto  your  hard  drive.  

Page 32: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and
Page 33: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

OSGeo Live DVD

         OpenStreetMap    

UMN    MapServer  

MapFish  

web  mapping  

GRASS  GIS  

Quantum  GIS  OSSIM  

Desktop  GIS  

Application  Server  

GEOS  

GDAL/OGR  

GeoTools  

Libraries  

MetaCRS   PostGIS  

GeoMajas  

Quantum  GIS    MapServer  

deegree    

OpenLayers    GeoServer  

MapGuide  OS  

deegree  GIS  

Mapnik  

Viking  

KOSMO  

gvSIG  

SpatialLite  

uDig  Geopublisher  

Mapbender  

GeoNetwork    

GeoKettle  

GMT  ZOO  Project  

FDO  

Metadata  

Page 34: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

10/29/14 ITS488 34 hdp://www.foss4g-­‐asia.org/2014/  

FOSS4G-­‐Asia  2014,  Bangkok,  Thailand,  2-­‐5  December  2014.      

Page 35: ITS488-11.1 Open source GISTo&the&Heartof&the&Maer& 1. Licensees&are&free&to&use&open&source&soRware&for&any&purpose& whatsoever. 2. Licensees&are&free&to&make&copies&of&open&source&soRware&and

Open  for  ques5ons  

10/29/14 ITS488 35