Presented by Angelos Tzotsos / @tzotsos
Data.gov is the home of the US government's open data.
You can find Federal, state and local data, tools, and resources to conduct research, build apps, design data visualizations, and more.
The Data.gov team works at the U.S. General Services Administration, and the whole project is open source.
CKAN: An abbreviation for Comprehensive Knowledge Archive Network
Open Source web platform for publishing and sharing data with impressive deployment history:
ckanext-spatial adds geospatial capabilities to CKAN.
|
pycsw is a OGC CSW server implementation written in Python.
pycsw is an Open Source project released under the MIT license.
pycsw is certified OGC Compliant, and is an OGC Reference Implementation
pycsw is currently under OSGeo Incubation
Data.gov provides access to its catalog via the CSW standard for both first-order and all metadata for harvested data, services and applications:
See more at the pycsw Live Deployments Map
>>> from owslib.csw import CatalogueServiceWeb
>>> from owslib.fes import PropertyIsLike
>>> from owslib.fes import BBox
>>> csw = CatalogueServiceWeb('http://catalog.data.gov/csw-all')
>>> csw.identification.title
>>> csw.getrecords2()
>>> csw.results
{'matches': 432392, 'nextrecord': 11, 'returned': 10}
>>> q = PropertyIsLike('csw:AnyText', 'oregon thermal springs')
>>> csw.getrecords2(constraints=[q]) # freetext
>>> csw.results
{'matches': 8, 'nextrecord': 0, 'returned': 8}
>>> for key, value in csw.records.iteritems():
... print value.title
...
>>> bbox=BBox([-136.8, 35.3, -101.4, 51.6])
>>> csw.getrecords2(constraints=[q, bbox]) # freetext OR spatial
>>> csw.results
{'matches': 14, 'nextrecord': 11, 'returned': 10}
Doug was a driving force in the geospatial community. His expertise, vision and knowledge in metadata, cataloguing and geospatial interoperability provided sound direction and results to this project.