You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ad3d919
Browse filesBrowse the repository at this point in the historyBrowse files
As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.5). When previewers in the betatest branch are included in the next release (e.g. v1.6), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes.
1048
+
1049
+
### 7zip Previewer
1050
+
1051
+
* Can be used with *.7z files
1052
+
* Requirement: Dataverse version v5.12+
1053
+
* Requirement: Local file storage or S3 with direct download configured
1054
+
* When using S3 storage: Extended CORS rule settings for the S3 bucket (see also: https://guides.dataverse.org/en/latest/developers/big-data-support.html#s3-direct-upload-and-download)
This previewer includes a hard-coded file size limit of a zipped shp file of 20 MB (larger zips will not be loaded). If you want to change this limit you can change the value in "previewers/v1.5/js/mapshp.js", but then you have to host the customised previewer yourself (e.g. via github pages). Instructions on how to build external tools yourself can be found here: https://guides.dataverse.org/en/latest/api/external-tools.html.
1478
+
Works with zipped shapefiles in any known projection. This previewer includes a hard-coded file size limit of a zipped shp file of 50 MB (larger zips will not be loaded). If you want to change this limit you can change the value in "previewers/betatest/js/mapshp.js", but then you have to host the customised previewer yourself (e.g. via github pages). Instructions on how to build external tools yourself can be found here: https://guides.dataverse.org/en/latest/api/external-tools.html.
1479
1479
1480
1480
```bash
1481
1481
curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \
Please note that the Geotiff Previewer tries to display ALL image/tiff files in a map (because there is no own mimetype for Geotiffs at the moment). Therefore please only use it if you want to use Geotiffs only. As soon as there is an own mimetype for Geotiffs, this will be updated.
1525
-
1526
-
Limits are also defined for previewing raster files. Besides the file size limit (20 MB), a column and row limit (50,000) and a loading timeout (30 seconds) are defined. In case of an unsupported GeoTIFF (e.g. no projection specified), an error message is displayed after 30 seconds stating that the tiff image cannot be loaded. These limits can be adjusted as needed in previewers/v1.5/js/mapraster.js, although this adjusted version must then also be hosted by yourself (e.g. via github pages). Instructions on how to build external tools yourself can be found here: https://guides.dataverse.org/en/latest/api/external-tools.html.
1524
+
This previewer reads GeoTIFF and "standard" TIFF files. It is recommended to save GeoTIFFs as COG (cloud-optimized GeoTIFF), for example using gdal_translate. This automatically adds overviews (pyramid layers) to GeoTIFFs and splits them into tiles (blocks), ensuring they are displayed efficiently. If color maps (color palettes) are defined in the GeoTIFF for grayscale rasters (1 band), they are rendered in color. Any projection should be supported, as long as it is correctly defined and known (for rendering, the data is automatically reprojected to epsg:3857). GeoTIFFs without overviews are only loaded if they are 50 MB or smaller. This file size limit can be adjusted as needed in previewers/betatest/js/mapraster.js, although this adjusted version must then also be hosted by yourself (e.g. via github pages). Instructions on how to build external tools yourself can be found here: https://guides.dataverse.org/en/latest/api/external-tools.html.
1527
1525
1528
1526
```bash
1529
1527
curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \
As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.5). When previewers in the betatest branch are included in the next release (e.g. v1.6), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes.
* Requirement: Local file storage or S3 with direct download configured
2253
+
* When using S3 storage: Extended CORS rule settings for the S3 bucket (see also: https://guides.dataverse.org/en/latest/developers/big-data-support.html#s3-direct-upload-and-download)
0 commit comments