Skip to main content

Main navigation

  • Manual
  • Tutorials
  • Trainings
  • Conference
  • EN
    • DE
Table of contents

Programm

  • Handbook
    • Basics
      • Introduction
      • Basic workflow
    • Data model
      • Introduction
      • Data types
      • Depots
      • Layer
      • Views
    • Magazine
      • Introduction
      • Import data
      • Export data
      • Delete data
      • Edit data in the magazine
      • Supported file formats
    • Switchboard
      • Introduction
      • Principels
      • Disclaimer
      • Functions
      • Create new Switchboard
      • Shortcuts
      • Call Switchboard via API
    • Layer
      • Introduction
      • Create Layer
      • Update Layer automatically
      • Display options in the layer tree
      • Style Selection Window
      • Create contours for 3D city models
      • Layertypes
        • 2D Features
        • 3D Tiles
        • Address Search
        • Area search
        • Billboard (Cesium)
        • Billboard Tiles (Cesium)
        • External 3D Tiles
        • External Terrain
        • Files for Download
        • Map Service Relay
        • MapProxy (Raster data)
        • Oblique aerial images
        • PMTiles
        • Spherical panoramas
        • Terrain Proxy
        • Terrain
        • Tour
        • Universal JSON
        • WFS
    • Views
      • Introduction
      • View setup
      • Call a view
      • Publish a view
      • Freeze View
    • Workflow
      • What are Workflows?
      • Create a Workflow
      • Define input and output
      • Publishing Workflows
    • Viewer
      • PlexMap Viewer
      • Toolbox
      • PlexMap Planer
      • Shortcuts
    • User management
      • Create users and user groups
      • Rights management
      • Access for external users
      • Single Sign-on
    • FAQ
      • PlexMap 3D FAQ
      • Solar Energy Register FAQ
      • Green Roof cadastre FAQ

Funktionen

  • Functions
    • 2D
      • address
      • bbox
      • feature
      • grid
    • 3D
      • bbox3d
      • billboard
      • cityobject
      • ifcobject
      • oriented-image
      • mesh
      • oblique
      • pointcloud
      • spheres
    • Attributes
      • properties
      • row
    • Other
      • heatcalc
      • profile
      • solar
      • tour
    • Services
      • livedataset
      • ogcapicollection
      • osm
      • tileset
      • wfs
      • wms
      • wmts
    • Simple data types
      • color
      • datetime
      • math
      • string
      • style
    • System
      • depot
      • layer
      • switchboard
      • user
      • view
    • Tools
      • smapshot
      • assert
      • file
      • gen
      • mail
      • mapproxy
      • report
      • spatialfunctionobject
      • terrainproxy
    • glstyleservice
      • Import GL Style

Datentypen

  • Data types
    • Anything
      • Base-Model
        • Layer-Store-Config
        • Glstyleservice
    • Bbox
    • Bbox3d
    • Billboard
    • Bool
    • Color
    • Datetime
    • File
    • Grid
    • Label
    • Spatial-Function-Object
    • Number
    • Float
    • Int
    • Pointcloud
    • Feature
    • Schema-Feature
      • Address
      • Infiltration-Feature
      • Oriented-Image
      • Oblique-Trapeze
      • Panorama-Sphere
      • Region
      • Solar-Border
      • Solar-Building
      • Solar-Roof
    • CityObject
    • IfcObject
    • Mesh
      • Schema-Mesh
        • Heatcalc-Building
    • Row
    • Depot
    • Layer
    • Switchboard
    • View
    • String
      • Portal
      • Type
    • Style
Table of contents

Funktionen (LVL2)

  • Adjust Brightness
    file.image.brightness
  • Adjust Contrast
    file.image.contrast
  • Adjust Saturation
    file.image.saturation
  • Adjust Sharpness
    file.image.sharpness
  • Assign by Filename
    file.find.name
  • Calculate Hash
    file.hash
  • Download
    file.download
  • Exclude by filename
    file.exclude.name
  • Extract URLs from Data Feed
    file.urls_from_dataset
  • File Extension
    file.extension
  • File Size
    file.size
  • Filename
    file.name
  • Filenames from Archive
    file.list_zip
  • Filter by File Extension
    file.filter.extension
  • Filter by filename
    file.filter.name
  • Load File
    file.import
  • Load from Directory
    file.import_directory
  • Publish as Download
    file.publish
  • Rename File
    file.rename
  • S3-Buckets auflisten
    file.s3.buckets
  • S3-Dateien auflisten
    file.s3.list
  • S3-Download
    file.s3.download
  • S3-Ordner auflisten
    file.s3.list_folders
  • S3-Upload
    file.s3.upload
  • Save File
    file.export
  • Unzip
    file.unzip
  • Upload to Geoplex
    file.upload.gpx
  • Upload via HTTP
    file.upload.http
  • Upload via SFTP
    file.upload.ftp
  • Zip
    file.zip

Breadcrumb

  1. Manual
  2. Functions
  3. Namespaces
  4. file
  5. Publish as Download
Table of contents

Publish as Download

  • file.publish
Input:
  • files – File
  • days – Int
  • layer – Layer
Output:
  • output – String

Publishes all given files as download link. The generated links are returned. They are only valid for a certain number of days (parameterdays).

The function works by creating or reusing a layer of type download. If the parameter layer is not given, a new layer is created on each call (which in turn creates a different download link), otherwise the given layer is used (and the download links are preserved).

© GEOPLEX

Footer navigation

  • Imprint
  • Privacy Policy
  • Geoplex
Typ
Wählen Sie einen beliebigen Filter und klicken Sie auf Anwenden, um Ergebnisse zu sehen