Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG...
-
Upload
jessica-mckenzie -
Category
Documents
-
view
214 -
download
0
Transcript of Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG...
![Page 1: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/1.jpg)
Using PostGIS and MapServer in the Census Interaction Data Service
Presentation to
AGI Technical SIG'Open-Source in GIS'
British Antarctic Survey, Cambridge, 27th April 2006
Oliver [email protected]
www.geog.leeds.ac.uk/people/o.duke-williams/
ESRC Award number H507 255177
![Page 2: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/2.jpg)
Contents
• What is CIDS
• What is PostGIS?
• What is MapServer?
• Why did we select these tools?
• How do we use them?
![Page 3: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/3.jpg)
Census Interaction Data Service (CIDS)
• A Data Support Unit funded through the ESRC/JISC Census Programme 2001-2006
• Provide access to Census interaction data sets
• Data is provided via WICID, the Web-based Interface to Census Interaction Data
![Page 4: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/4.jpg)
Census Interaction Data• What are the Census interaction data?
– Migration data– Journey to work data– Journey to school data
• Interaction data are flow data– Also referred to as ‘origin-destination’ data
• They have historically been under-used
![Page 5: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/5.jpg)
CIDS challenges
• Data are large and sparse• Need to support many geographies• Need to provide simple interface to complex
data sets
0.0000000001%
0.0000000010%
0.0000000100%
0.0000001000%
0.0000010000%
0.0000100000%
0.0001000000%
0.0010000000%
0.0100000000%
0.1000000000%
1.0000000000%
10.0000000000%
100.0000000000%
0 10 20 30 40 50
Cell values
Pro
po
rtio
n o
f all
ecll
s
Proportion of interior cells in 2001 SMS Table MG301 of various values (detail)
Source: Dale, A. and Marsh, C. (eds) (1993) The 1991 Census User's Guide
Relationships between geographies used for 1991 Census outputs
![Page 6: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/6.jpg)
WICID• Facilitate data extraction and downloading
• User-friendly
• Flexible query-building approaches
• Analysis functions
• Outputs in various formats
![Page 7: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/7.jpg)
WICID components
• Apache web server• PostgreSQL DBMS
– PostGIS spatial extensions
• PHP• MapServer
– PHP/MapScript
![Page 8: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/8.jpg)
What is PostGIS?
• An extension to the PostgreSQL database• Allows vector based geometric objects to
be stored and manipulated• Open GIS Consortium (OGC) standards
– Well Known Text (WKT)– Well Known Binary (WKB)– OGC Simple Features for SQL– OGC feature catalogues
![Page 9: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/9.jpg)
What is MapServer?
• Open source package distributed by University of Minnesota
• One of a number of tools that can use PostGIS data
• Can also a variety of other formats
![Page 10: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/10.jpg)
Why did we select PostGIS and Mapserver?
• Open source
• Already using PostgreSQL– Benefit of map and other data being stored in
the same database
• Mapserver includes PHP scripting abilities
• Can implement map based tools with very low client requirements
![Page 11: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/11.jpg)
How do we use these tools?
• Maps created by MapServer
• Data queried directly by SQL
![Page 12: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/12.jpg)
![Page 13: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/13.jpg)
![Page 14: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/14.jpg)
![Page 15: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/15.jpg)
Selection tools
![Page 16: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/16.jpg)
Selection tools
![Page 17: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/17.jpg)
Selection tools
![Page 18: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/18.jpg)
Distance usage
![Page 19: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/19.jpg)
The future
• CIDS to CIDER
• Future uses of PostGIS and MapServer
![Page 20: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/20.jpg)
CIDER
• Centre for Interaction Data Estimation and Research– August 2006 to July 2011– ESRC 2006 Census Programme
• Objectives– Continuity– Improvement– Expansion– Preparation
![Page 21: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/21.jpg)
Use of PostGIS and MapServer
• Use of OS backdrops in maps
• Thematic maps for displaying results
• Downloads of spatial data
• Distance based generation of new geographies
![Page 22: Using PostGIS and MapServer in the Census Interaction Data Service Presentation to AGI Technical SIG 'Open-Source in GIS' British Antarctic Survey, Cambridge,](https://reader030.fdocuments.us/reader030/viewer/2022032605/56649e7c5503460f94b7eaa5/html5/thumbnails/22.jpg)
Using PostGIS and MapServer in the Census Interaction Data Service
Oliver [email protected]
www.geog.leeds.ac.uk/people/o.duke-williams/