Skip to content

Commit

Permalink
Merge pull request #333 from opendata-swiss/feat/add-more-formats-to-…
Browse files Browse the repository at this point in the history
…mapping

feat: Add new format descriptions from Geocat to mapping
  • Loading branch information
bellisk authored Jul 30, 2024
2 parents 49e700f + d61d4db commit cc4bb96
Showing 1 changed file with 67 additions and 18 deletions.
85 changes: 67 additions & 18 deletions ckanext/switzerland/helpers/format_mapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,79 @@ API:
- 'rest'
- 'rest api'
CSV:
- 'comma ...'
- 'comma separated text (.csv)'
- 'csv'
- 'kommaseparierte textdatei (*.csv)'
- 'text (.csv)'
- 'comma ...'
- 'text (.csv), comma separated'
- 'text (.csv), semicolon separated'
- 'text, comma separated (csv)'
- 'text, semicolon separated (csv)'
DXF:
- 'dxf'
- 'dxf (.dxf)'
- 'dxf'
ESRI ASCII Grid:
- 'esri ascii grid (.grd/.asc)'
- 'esri arcinfo ascii grid'
- '.asc)'
- 'grid_ascii'
- 'esri arcinfo ascii grid (asc)'
- 'esri arcinfo ascii grid'
- 'esri ascii grid (.grd/.asc)'
- 'esri ascii grid'
- 'esri_ascii_grid'
- 'grid_ascii'
GDB:
- 'esri enterprise geodatabase'
- 'esri file geodatabase (.gdb)'
- 'esri file geodatabase filegdb (gdb)'
- 'esri file geodatabase'
- 'esri file-geodatabase'
- 'esri geodatabase (.gdb)'
- 'filegdb'
- 'filegeodatabase'
- 'gdb'
- 'FileGDB'
GeoJSON:
- 'geojson (geojson)'
- 'geojson'
GeoTIFF:
- 'geo-tiff'
- 'geotiff (geotiff)'
- 'geotiff'
GPKG:
- 'gpkg'
- 'geopackage (.gpkg)'
- 'geopackage (gpkg)'
- 'geopackage (ogc)'
- 'gpkg'
- 'ogc geopackage (.gpkg)'
- 'ogc geopackage (gpkg)'
HTML:
- 'html'
INTERLIS:
- '.itf)'
- '.xtf)'
- 'interlis 1 (dm01avsh48)'
- 'interlis 1 (itf)'
- 'interlis 1'
- 'interlis 2 (xtf)'
- 'interlis 2'
- 'interlis 2'
- 'interlis'
- 'interlis2'
JSON:
- 'javascript object notation (json)'
- 'json'
JSON-LD:
- 'ld+json'
- 'jsonld'
- 'json_ld'
- 'jsonld'
- 'ld+json'
KML:
- 'google keyhole markup language (kml)'
- 'kml'
- 'vnd.google-earth.kml+xml'
KMZ:
- 'google kmz (kmz)'
- 'kmz'
LAZ:
- 'laz'
- 'laz (.laz)'
MULTIFORMAT:
- 'multiformat'
Expand All @@ -58,6 +90,7 @@ PC-AXIS:
- 'pc-axis file'
PDF:
- 'pdf'
- 'portable document format (pdf)'
PNG:
- 'png'
RDF N-Triples:
Expand All @@ -72,53 +105,69 @@ RDF XML:
- 'rdf'
- 'rdf+xml'
- 'rdf_xml'
- 'ressource description framework (rdf)'
SHP:
- 'esri shapefile'
- 'esri shapefile (.shp)'
- 'esri shapefile (shp)'
- 'esri geodatabase (....'
- 'esri arcinfo ascii ...'
- 'esri personal geodatabase (.mdb)'
- 'esri personal geodatabase (mdb)'
- 'shape'
- 'shapefile'
- 'shp'
SPARQL:
- 'rq'
- 'sparqlq'
- 'sparql-query'
- 'sparql-...'
- 'sparql-query'
- 'sparqlq'
TXT:
- 'plain'
- 'text (.txt)'
- 'text (txt)'
- 'text'
- 'txt'
- 'text (.txt)'
- 'plain'
TIFF:
- 'tagged image file format (.tif)'
- 'tagged image file format (tiff) compressed lzw'
- 'tagged image file format (tiff)'
- 'tif'
- 'tiff'
TSV:
- 'text/tab-separated-values'
- 'tab-separated-values'
- 'text/tab-separated-values'
WCS:
- 'wcs'
- 'wcs_srvc'
WFS:
- 'ogc web feature service (wfs)'
- 'ogc wfs (web feature service)'
- 'wfs dienst'
- 'wfs'
- 'wfs_srvc'
WMS:
- 'ogc web map service (wms)'
- 'ogc wms (web map service)'
- 'ogc:wms'
- 'wms dienst'
- 'wms'
- 'wms_srvc'
WORLDFILE:
- 'geotiff/worldfile (.tif/.tfw)'
- 'jpeg/worldfile (.jpg/.jgw)'
- '.jgw)'
- '.tfw)'
- 'geotiff/worldfile (.tif/.tfw)'
- 'jpeg/worldfile (.jpg/.jgw)'
- 'world'
WMTS:
- 'wmts'
- 'wmts_srvc'
XLS:
- 'microsoft excel (xls)'
- 'vnd.ms-excel'
- 'vnd.openxmlformats-officedocument.spreadsheetml.sheet'
- 'xls'
- 'xlsx'
- 'vnd.openxmlformats-officedocument.spreadsheetml.sheet'
- 'vnd.ms-excel'
XML:
- 'xml'
YAML:
Expand Down

0 comments on commit cc4bb96

Please sign in to comment.