ckan / ckanext-dcat

CKAN ♥ DCAT
https://docs.ckan.org/projects/ckanext-dcat
165 stars 145 forks source link

catalog rdf url wrong for geojson resource #183

Open lucapelizzo opened 4 years ago

lucapelizzo commented 4 years ago

The "format" value of a geojson resource in CKAN is GeoJSON, as RFC 7946 states. But the related value used by controlled EU vocabolary (https://op.europa.eu/it/web/eu-vocabularies/at-dataset/-/resource/dataset/file-type/) is upper case, so while the url http://publications.europa.eu/resource/authority/file-type/GEOJSON is working, the url generated by ckanext-dcat doesn't work: http://publications.europa.eu/resource/authority/file-type/GEOJSON

Maybe a simple upper() would fix it?