The Files section displays the number of files associated with the data set in a grey badge. In the Files section, you can upload additional files, view files, download files or delete files.
There are a few ways to add files:
Some file types (such as shapefiles and geodatabases) consist of multiple component files, so-called aggregate files. hale connect displays these as a single logical file. To view the component files associated with an aggregate file, click on the file name or the “+” badge to show component files individually. To go back to see all files, click on «All files».
To download all files in one archive, click on «Download as archive» to save a copy of the files to your computer. Clicking on the name of a component file will allow you to download the file.
To delete a single (logical or component) file, click the red “x” in the top left corner of a file box. To delete all files, click on «Delete all files». Deleted files cannot be recovered.
Attachment files uploaded in the Files sections of your data set can be referenced in your GML data sets. To reference an attachment file, edit your GML file to include a link to your attachment in an attribute that requires a string value:
The next step is to create a dataset with your edited GML.
To upload the attachment file: * Go to «Data» and select the data set from the list of resources * Select the «Files» section * Click «Upload attachment» to upload the referenced attachment. The file name must be identical to the file name in the GML * Refresh your services
The expression in the GML is transformed into a publicly available link to the uploaded attachment file. The links to the attachment files can be seen in the Feature Explorer Tool, which enables you to view the attributes of complex GML files.
Associating files to feature types
The system automatically associates the contents of each file to one of the theme’s feature types. For XML files, this process is deterministic and safe, for other file types which don’t have qualified namespaces and consistently defined attribute names, we use a heuristic to identify the best match. In some cases, this best match will still be incorrect. You can thus manually associate the contents of a file with a feature type: