Skip to content

Commit

Permalink
feat: add geopackage and sqlite download formats
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Jun 5, 2023
1 parent 50667e5 commit 5e0acb9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"firestore",
"gdal",
"generatezip",
"GeoPackage",
"GNIS",
"GRAMA",
"gspread",
Expand Down
2 changes: 2 additions & 0 deletions functions/common/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,7 @@ export const downloadFormats = {
excel: 'excel',
filegdb: 'filegdb',
geojson: 'geojson',
geoPackage: 'geoPackage',
shapefile: 'shapefile',
sqlite: 'sqlite',
};
8 changes: 8 additions & 0 deletions src/components/search-wizard/Download.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,18 @@ export default function Download({
label: 'GeoJSON',
value: downloadFormats.geojson,
},
{
label: 'GeoPackage',
value: downloadFormats.geoPackage,
},
{
label: 'Shapefile',
value: downloadFormats.shapefile,
},
{
label: 'SQLite (Mobile Geodatabase)',
value: downloadFormats.sqlite,
},
];

return (
Expand Down

0 comments on commit 5e0acb9

Please sign in to comment.