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:

  • Click «Select files(s)» and navigate to your data set
  • Click «Enter URL(s) » and enter the URL of a WFS or the URL link to where your files are located
  • Click «Drop file(s) here» to drag and drop your 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.

Upload Attachments

Attachment files uploaded in the Files sections of your data set can be referenced in your GML data sets. File types may include PDFs, GeoTIFFs or textures for 3D files. To reference an attachment file, you must edit your GML file to include placeholder values for your attachment. The place holder value must be entered in an attribute that requires a string value, and must follow this pattern:attachment:///<uploadedAttachmentFile>

Example: <base:link>attachment:///MyFile.pdf<base:link>

External URLs can also be referenced in your GML datasets. The external URLs must be entered in an attribute that requires a string value, and must follow this pattern:attachment-<urlToExternalFile>


The next step is to create a dataset with your edited GML. File analysis identifies references to attachments and external URLs in your source data files. If you reference external URLs in your GML, you do not need to upload attachment files. If you reference attachments on the haleconnect platform, upload your attachment files in the Files section of your dataset.

To upload attachment files:

  • 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. If you reference more than one attachment, you will see a list of file names in the Attachments section.
  • Refresh your services

The expression in the GML is transformed into a publicly available link to the uploaded attachment file. The links to attachment files and external URLs can be viewed in the Feature Explorer Tool, which enables you to explore 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:

  1. Click on the Pen icon in the file tile you want to re-associate
  2. From the list, choose the feature type to associate