开发者 | ondics |
---|---|
更新时间 | 2013年4月3日 23:51 |
捐献地址: | 去捐款 |
PHP版本: | 3.3 及以上 |
WordPress版本: | 3.5.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
We want to fuel the open data community. Open data often lacks apps and business processes that rely on them. With the plugin we show how to make open data an integral part of a website. Since there are over 12.000 WordPress installations in Austria ( Source: CMSCrawler ), millions of visitors will see open data without recognizing them explicitly. We call that deep open data integration. Please join us to make the world a little bit better using that open data approach. This plugin is submitted to the Apps4Austria Challenge.
In a csv-file you just need to have a latitude and a longitude column. The rest is magic. Map areas can be fully handled in GeoJSON format. For the GeoJSON spec see here: www.geojson.org.
Yes. We will provide support and updates from time to time. We have a bunch of features in our minds. Stay tuned to see our next releases.
There is only one shortcode introduced:
[ckan = ...][/ckan]
This shortcode can be adjusted to your needs using property/value pairs.
url
metaurl
height
width
type
(see type specific formats below)filters
format
type="table"
)
hiddencolumns
columnsorder
columnswidth
type="graph"
)
graphtype
series
group
type="map"
)
latfield
lonfield
geomfield
cluster
autozoom
type="metadata"
)
metafields
Display a map area of the town district "Donaustadt (Bezirk 22)" in Vienna:
[ckan url="http://data.wien.gv.at/daten/geoserver/ows?service=WFS&request=GetFeature&version=1.1.0&typeName=ogdwien:BEZIRKSGRENZEOGD&srsName=EPSG:4326&outputFormat=json" metaurl="http://www.data.gv.at/katalog/api/rest/dataset/ogdwien_bezirksgrenzen" height="400" width="600" type="map" autoZoom="true" format="geojson" geomField="SHAPE" filters="{'type':'term','field':'BEZ','term':'22'}"]Bezirksgrenzen[/ckan]
Display a map of traffic lights with acoustic signals in Vienna:
[ckan url="http://data.wien.gv.at/daten/geoserver/ows?service=WFS&request=GetFeature&version=1.1.0&typeName=ogdwien:AKUSTISCHEAMPELOGD&srsName=EPSG:4326&outputFormat=csv" metaurl="http://www.data.gv.at/katalog/api/rest/dataset/ogdwien_ampeln-mit-akustikkennung-standorte" height="400" width="600" type="map" autoZoom="true" geomField="SHAPE" filters="{'type':'term','field':'BEZIRK','term':'22'}"]Ampeln mit Akustikkennung - Standorte [/ckan]
Display a line chart showing the occupancy of homes for the elderly in Linz up to 2011 (Altenheime in Linz):
[ckan url="http://data.linz.gv.at/katalog/soziales_gesellschaft/senior/staedtische_senioren_pflegeheime/shstadj.csv" metaurl="http://www.data.gv.at/katalog/api/rest/dataset/ogdlinz_belegung-der-staedtischen-senioren-und-pflegeheime" height="300px" width="700px" type="graph" graphType="lines-and-points" series="Zugang weiblich,Abgang weiblich,Zugang männlich,Abgang männlich" group="Jahr"]Belegung der städtischen Senioren- und Pflegeheime[/ckan]
Display this dataset in tabular format:
[ckan url="http://data.linz.gv.at/katalog/soziales_gesellschaft/senior/private_seniorenheime/2010/shprges_2010.csv" metaurl="http://www.data.gv.at/katalog/api/rest/dataset/ogdlinz_belegung-der-staedtischen-senioren-und-pflegeheime" height="210px" width="600px" type="grid" hiddenColumns="Verpflegstage,Personal insgesamt gerechnet als Vollzeitbeschäftigte"]Belegung der städtischen Senioren- und Pflegeheime[/ckan]
Display some meta data about this dataset:
[ckan url="http://data.linz.gv.at/katalog/soziales_gesellschaft/senior/staedtische_senioren_pflegeheime/shstadj.csv" metaurl="http://www.data.gv.at/katalog/api/rest/dataset/ogdlinz_belegung-der-staedtischen-senioren-und-pflegeheime" height="250" width="600" type="metadata" metafields="license_title(Lizenz),maintainer_email(Verantwortlicher),author(Autor),groups(Gruppen)"]Belegung der städtischen Senioren- und Pflegeheime[/ckan]