bcgov / cpf

Concurrent Processing Framework
https://bcgov.github.io/cpf/
Apache License 2.0
1 stars 5 forks source link

Batch Geocoder - overview page #51

Open BK01 opened 7 years ago

BK01 commented 7 years ago

The 'Result Data Content Types' currently listed in the overview page of the Batch Geocoder (in DLV - 5.0.4) need to be updated to match accepted values of current code base.

Examples: application/x-geo+json vs. geojson text/html vs. html

pauldaustin commented 7 years ago

The mime types should all work and those are the values that any API user should be using as opposed to the file extensions. This page has always listed the mime types. Verify that the API accepts the mime types (it should also accept the file extensions I think).

The forms to submit multiple requests display the file extensions as that is what is used to validate that the file names are correct.

I've tagged this as an enhancement request for the next release as there is no budget left for enhancements at the moment.

BK01 commented 7 years ago

Thank you Paul.

Current error message when using result data content types as listed on overview page listed below (from errorResultData file).

"resultDataContentType= not in ({csv=Comma-Separated Values (csv), geojson=GeoJSON (geojson), gml=Geography Markup Language (gml), html=XHMTL (html), xhtml=XHMTL (xhtml), json=JSON (json), kmz=KMZ - Google Earth (kmz), kml=KML - Google Earth (kml), shpz=ESRI Shapefile inside a ZIP archive (shpz), tsv=Tab-Separated Values (tsv), xml=XML (xml)})"