Pycon 2012 Taiwan

Click here to load reader

  • date post

    06-May-2015
  • Category

    Technology

  • view

    1.938
  • download

    4

Embed Size (px)

Transcript of Pycon 2012 Taiwan

  • 1.PythonGIS The Year Python Takes Over GIS Dongpo Deng marr, Tsung Wei HuPyCon 2012Saturday, June 9, 2012

2. Content Introduction - GIS and why GIS uses python Python-blinding core geospatial libraries the use of python in Desktop GISs Web application framework for geospatialSaturday, June 9, 2012 3. What is GIS? GIS is stand for GeographicInformation System integrates hardware, software, and data for capturing, managing, analyzing, and displaying geospatial data. allows people to use methods for understanding, interpreting, and visualizing relationships and patterns of geospatial dataSaturday, June 9, 2012 4. Why Geospatial domain uses Python Easy to learn Code is readable Large community Easy interaction with C and Java libraries Many existing modules and packages core geospatial libraries map rendering database web serverPicture from http://pypi.python.org/pypi/collective.geo.bundleSaturday, June 9, 2012 5. Why Geospatial domain uses Python Easy to learn Code is readable Large community Easy interaction with C and Java libraries Many existing modules and packages core geospatial libraries map rendering database web serverPicture from http://pypi.python.org/pypi/collective.geo.bundleSaturday, June 9, 2012 6. Geospatial development tasks Visualizing geospatial dataSaturday, June 9, 2012 7. Geospatial development tasks Analyzing geospatial data e.g. How many people should escape as Kuosheng nuclear power plant () explodes? Create a geospatial mashupSaturday, June 9, 2012 8. The geospatial development tasksinvolve Math- analytic geometry e.g.Euclidean geometry Computer graphics (rendering) e.g. rending, visualizing Database General Search Tree (GiST) open geospatial standards, e.g. GML, WKTSaturday, June 9, 2012 9. Python libraries for geospatial development Reading/ Writing geospatial data GDAL/OGR Dealing with Projections pyproj Analyzing and manipulating geospatial data Shapely Visualizing geospatial data MapnikSaturday, June 9, 2012 10. GDAL (Geospatial Data Abstraction Library) read through it one scanline at a timefrom osgeo import gdal,gdalconstfrom leimport structdataset = gdal.Open("DEM.dat") use the struct standard Python libraryband = dataset.GetRasterBand(1) module to read the individual values outfmt = "