Files
pygeoapi/tests/data
Benjamin Webb e1af5e1ca5 Add json-ld templating for feature collection item (#868)
* Render template if specified in config and provide example config

Update linked_data.py

Merge branch 'geopython:master' into jsonld

Rended from json-ld output

Render jinja2 json-ld template from json-ld output instead of json output

Merge branch 'geopython:master' into jsonld

Add documentation

- Add documentation
- Add test to workflow

Update pygeoapi-test-config.yml

Update test_api.py

Update api.py

Update linked_data.py

Move template declaration in configuration

Update docs

Update configuration.rst

Update configuration.rst

* Updates per requested changes

* Fix spelling

* Fix json-ld template pathing

* Remove  root path for the templating

* Move json-ld template from api.py

- Move single item json-ld templating to inside geojson2jsonld
- Reformat json-ld configuration for context and item_template to children of json-ld block
- Update docs and example configurations

* Fix ref

* Use FileSystemLoader to control template search path

search for templates is in order of `template_paths` list

* s/json-ld/linked-data/ig

rename json-ld to more generic name
2023-02-15 21:12:19 -05:00
..
2020-01-02 11:22:27 -05:00

Test Data

This directory provides test data to demonstrate functionality.

Sources

ne_110m_lakes.geojson and tiles/ne_110m_lakes

ne_110m_admin_0_countries.sqlite

ne_110m_populated_places_simple.geojson

obs.csv

station_list.csv

poi_portugal.gpkg

hotosm_bdi_waterways.sql.gz

  • source: OpenStreetMap - Humanitarian OpenStreetMap Team (HOT)
  • URL: hotosm_bdi_waterways
  • Waterways of Burundi
  • Date of dataset: Sep 01, 2018
  • Location: Burundi, Africa

CMC_glb_*.grib2

CMIP5_rcp8.5_annual_abs_latlon1x1_PCP_pctl25_P1Y.nc

coads_sst.nc

analysed_sst.nc

open.canada.ca/sample-records.tinydb

dutch_addresses_*

items.geojson