Skip to content

Commit

Permalink
#512: Add GeoPackage format to layer wps downlaod configuration (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored Sep 23, 2021
1 parent a68ae5a commit f0607a3
Showing 1 changed file with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,20 @@
{
"name": "LayerDownload",
"cfg": {
"disablePluginIf": "{!state('selectedLayerPermissions').includes('download_resourcebase')}"
"disablePluginIf": "{!state('selectedLayerPermissions').includes('download_resourcebase')}",
"formats": [
{"name": "application/json", "label": "GeoJSON", "type": "vector", "validServices": ["wps"]},
{"name": "application/arcgrid", "label": "ArcGrid", "type": "raster", "validServices": ["wps"]},
{"name": "image/tiff", "label": "TIFF", "type": "raster", "validServices": ["wps"]},
{"name": "image/png", "label": "PNG", "type": "raster", "validServices": ["wps"]},
{"name": "image/jpeg", "label": "JPEG", "type": "raster", "validServices": ["wps"]},
{"name": "application/wfs-collection-1.0", "label": "wfs-collection-1.0", "type": "vector", "validServices": ["wps"]},
{"name": "application/wfs-collection-1.1", "label": "wfs-collection-1.1", "type": "vector", "validServices": ["wps"]},
{"name": "application/zip", "label": "Shapefile", "type": "vector", "validServices": ["wps"]},
{"name": "text/csv", "label": "CSV", "type": "vector", "validServices": ["wps"]},
{"name": "application/geopackage+sqlite3", "label": "GeoPackage", "type": "vector", "validServices": ["wps"]},
{"name": "application/geopackage+sqlite3", "label": "GeoPackage", "type": "raster", "validServices": ["wps"]}
]
}
},
{
Expand Down Expand Up @@ -1639,7 +1652,20 @@
{
"name": "LayerDownload",
"cfg": {
"disablePluginIf": "{!state('selectedLayerPermissions').includes('download_resourcebase')}"
"disablePluginIf": "{!state('selectedLayerPermissions').includes('download_resourcebase')}",
"formats": [
{"name": "application/json", "label": "GeoJSON", "type": "vector", "validServices": ["wps"]},
{"name": "application/arcgrid", "label": "ArcGrid", "type": "raster", "validServices": ["wps"]},
{"name": "image/tiff", "label": "TIFF", "type": "raster", "validServices": ["wps"]},
{"name": "image/png", "label": "PNG", "type": "raster", "validServices": ["wps"]},
{"name": "image/jpeg", "label": "JPEG", "type": "raster", "validServices": ["wps"]},
{"name": "application/wfs-collection-1.0", "label": "wfs-collection-1.0", "type": "vector", "validServices": ["wps"]},
{"name": "application/wfs-collection-1.1", "label": "wfs-collection-1.1", "type": "vector", "validServices": ["wps"]},
{"name": "application/zip", "label": "Shapefile", "type": "vector", "validServices": ["wps"]},
{"name": "text/csv", "label": "CSV", "type": "vector", "validServices": ["wps"]},
{"name": "application/geopackage+sqlite3", "label": "GeoPackage", "type": "vector", "validServices": ["wps"]},
{"name": "application/geopackage+sqlite3", "label": "GeoPackage", "type": "raster", "validServices": ["wps"]}
]
}
},
{
Expand Down

0 comments on commit f0607a3

Please sign in to comment.