Import File

Overview

➡️ Import file into the database. Valid file extensions: csv, dbf, geojson, json, geojson.gz, gpx, osm.bz2, osm.gz, osm, shp, tsv

Import file

Arguments

Mandatory inputs

pathFilePath of the input File

📂 Path of the file you want to import, including its extension. For example: c:/home/buildings.geojson

Type: String

Optional inputs

ifTableExistsTable exists operation

What to do if a table with the same name already exists ?

Type: String

Default: Overwrite

Allowed values: Skip import, Overwrite, Raise error

inputSRIDProjection 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

tableNameName of created table

Name of the table you want to create from the file. 🛠

Type: String

Output

outputTableName of the created table

Name of the created table

Type: String