Import Folder
Import all files from a folder
Overview
➡️ Import all files with a specified extension from a folder to the database. Valid file extensions: csv, dbf, geojson, gpx, bz2, gz, osm, shp, tsv. ✅ The resulting tables will have the same name as the input files
Arguments
Mandatory inputs
importExt— Extension to importExtension to import. For example: shp
Type:
StringpathFolder— Path of the folder📂 Path of the folder For example : c:/home/inputdata/
Type:
String
Optional inputs
inputSRID— Projection identifier🌍 Original projection identifier (also called SRID) of your table. It should be an EPSG code, an integer with 4 or 5 digits (ex: 3857 is Pseudo-Mercator projection). This entry is optional because many formats already include the projection and you can also import files without geometry attributes. If the table is geometric and if this parameter is not filled and:- the file has a .prj file associated: the SRID is deduced from the .prj - the file has no .prj file associated: we apply the WGS84 (EPSG:4326) code
Type:
Integer
Output
result— Result output stringThis type of result does not allow the blocks to be linked together.
Type:
String