Vector data formats include GeoPackage, GML, GeoJSON, GPX, KML,
Comma Separated Values, ESRI formats (Shapefile, Geodatabase...),
MapInfo and MicroStation file formats, AutoCAD DWG/DXF,
GRASS and many more...
Read the complete list of supported vector formats.
Raster data formats include GeoTIFF, JPEG, ASCII Gridded XYZ,
MBTiles, R or Idrisi rasters, GDAL Virtual, SRTM, Sentinel Data,
ERDAS IMAGINE, ArcInfo Binary Grid, ArcInfo ASCII Grid, and
many more...
Read the complete list of supported raster formats.
データベース形式:PostgreSQL/PostGIS, SQLite/SpatiaLite, Oracle, MS SQL Server, SAP HANA, MySQL等
Use Open with Data Source Manager... to directly open and configure the
data source in the Data Source Manager using the URI of your data source.
This simplifies the process of adding a layer from the Browser
by allowing you to set specific opening options for the data source.
It is currently available for vector (including the dedicated GeoPackage entry), raster,
and SpatiaLite data sources.
Press Open to load the selected file into Data
Source Manager dialog.
Depending on the selected layer type, additional Options
(encoding, geometry type, table filtering, file locking, data formatting ...)
are available for configuring.
These options are described in detail in the specific GDAL
vector
or raster driver documentation.
At the top of the options, a text with hyperlink will directly lead to the documentation
of the appopriate driver for the selected file format.
Cloud storage such as AWSS3, GoogleCloudStorage, MicrosoftAzureBlob, MicrosoftAzureDataLakeStorage, AlibabaOSSCloud, and
OpenStackSwiftStorage supports direct control over VSI Credential Options
when adding OGR vector or GDAL raster layers.
You need to fill in the Bucket or container and the
Object key first. After that, you can add the necessary Credential Options.
When adding OGR vector or GDAL raster layers from the cloud based protocols,
you can also set additional Credential options for that specific driver and bucket.
When credential options are found in a layer's URI, they will also be automatically set.
This allows different layers to use different credentials.
QGIS tries to detect the field types automatically (unless
Detect field types is not checked) by examining
the content of an optional sidecar CSVT file (see GeoCSV specification)
and by scanning the whole file to make sure that all values can actually
be converted without errors, the fall-back field type is text.
The first time you use a PostGIS data source, you must create a connection
to a database that contains the data.
Press the appropriate button as exposed above, opening the PostgreSQL tab
of the Data Source Manager dialog.
To access the connection manager, click on the New button
to display the Create a New PostGIS Connection dialog.
Session role: used to set the current user identifier of the current session.
This is useful to automatically give the ownership of a new object (table, view, function)
to the session_role group and thus share ownership and associated rights with all members
of the session_role group.
Read more about session role.
Use estimated table metadata: When initializing layers,
various queries may be needed to establish the characteristics of the geometries
stored in the database table.
When this option is checked, these queries examine only a sample of the rows
and use the table statistics, rather than the entire table.
This can drastically speed up operations on large datasets,
but may result in incorrect characterization of layers
(e.g. the feature count of filtered layers will not be accurately determined)
and may even cause strange behaviour if columns that are supposed to be unique
actually are not.
サービスファイルとQGIS Serverを使用する場合、サーバー側でもそのサービスを設定する必要があります。QGIS Server のドキュメントに従ってください。
*nixオペレーティングシステム(GNU/Linux、macOS等)では、 .pg_service.conf ファイルはユーザーのホームディレクトリに保存することができ、PostgreSQLクライアントはこれを自動的に見つけます。例えば、ログインユーザーが web ならば、(他の環境変数を何も指定しなくとも)そのままでうまくいくためには、 .pg_service.conf は /home/web/ ディレクトリに保存されている必要があります。
You can specify the location of the service file by creating a
PGSERVICEFILE environment variable (e.g. run the
exportPGSERVICEFILE=/home/web/.pg_service.conf
command under your *nix OS to temporarily set the PGSERVICEFILE variable).
The spatial features in Oracle Spatial aid users in managing geographic and
location data in a native type within an Oracle database.
The connection dialog proposes:
Schema: Allows to specify a single schema to limit a connection to.
When set, only tables from the matching schema will be included in the browser panel
and data source select for the connection.
This can be used to limit the database work required to populate tables
for a connection pointing to a large database store.
ドライバー :SAP HANA ODBCドライバーが /etc/odbcinst.ini 内に登録されている名前、またはSAP HANA ODBCドライバーへのフルパスのいずれかを入力します。SAP HANA Clientのインストーラは、デフォルトでODBCドライバーを /usr/sap/hdbclient/libodbcHDB.so にインストールします。
Use estimated table metadata: If checked, estimated
table metadata will be used if available. For large tables, this avoids slow
table loads and potentially expensive computations, but may result in
incorrect layer properties such as layer extent. The fast extent estimation
is available starting with QRC1/2024 and SP8 in HANA Cloud and HANA On-Premise
respectively.
You can load vector tiles directly from a Style URL.
The data source is automatically parsed from the style, and URLs with multiple sources are supported.
That makes Source URL optional.
the Source URL: of the type http://example.com/{z}/{x}/{y}.pbf for generic
services and http://example.com/arcgis/rest/services/Layer/VectorTileServer
for ArcGIS based services.
The service must provide tiles in .pbf format.
QGIS supports connections to cloud services like Alibaba Cloud OSS, Amazon S3, Google Cloud Storage,
Microsoft Azure Blob Storage, Microsoft Azure Data Lake Storage, and OpenStack Swift Object Storage.
You can load vector and raster data from these services into QGIS.
Set up a new Cloud connection in the Browser panel by right-clicking
on the Cloud entry and selecting New Connection. You will see a drop-down list of
available cloud services.
Select the service you want to connect to and fill in the required fields: