Dataset
QGIS project and geodata layer datasets for AI training
A QGIS dataset is a set of working QGIS projects and the geodata they point to: .qgz project files with their layer tree groups, layer styles, expressions, attribute forms, print layouts and processing models, delivered with the vector and raster layers they reference, commonly GeoPackage, shapefile or PostGIS tables. SourceX sources it to a buyer's spec from established businesses that run QGIS, such as environmental and engineering consultancies, agricultural businesses and land managers. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Working QGIS projects (.qgz) with layer trees, styles, expressions, forms, layouts and processing models, plus the vector and raster layers they reference
- Typical systems
- QGIS desktop projects with the Processing toolbox and Model Designer; layers in GeoPackage, shapefile, GeoTIFF and PostGIS; print layouts and atlas series
- Typical history
- Specified by the buyer; a project and its layers hold the current state only, so history is dated project copies or audit tables the business built
- Modality
- Vector layers with attribute tables; rasters; project XML and QML styles; expressions and processing models as code
- Delivery formats
- Agreed per order; .qgz projects on relative paths beside a GeoPackage per project, rasters as GeoTIFF, QML styles, .model3 files and a layer inventory
- Preparation
- Owner names and parcel identifiers removed or replaced; stored passwords, keys and user names stripped from project XML and paths; sensitive locations generalized or withheld as agreed
- Licensing
- Rights reviewed; open data and purchased layers carry their own terms, so each layer's origin is a point to check; permitted use set in the license
- Availability
- Sourced to your spec by sector, region and layer type; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| project_id | string | Re-keyed identifier of one Project, the .qgz file as saved. |
| project_header | object | From the Project's root element and properties: the QGIS version that saved it, the project CRS and the path mode. |
| layer_tree | array | Each Layer tree group and the layers under it in drawing order, with visibility. |
| layer | object | One Vector layer or Raster layer entry: layer ID, name and data provider, with geometry type and feature count for a vector layer. |
| datasource | object | The layer's datasource string as saved, with credentials removed, whether it resolved, and the SQL of any Virtual layer. |
| layer_data | object | The delivered GeoPackage file and table, or raster file, that holds the layer's features or cells. |
| style | object | The Layer style (QML), or the style inside a Layer definition (QLR): renderer type, classes or rules with filters, symbols and scale ranges, and label settings. |
| expressions | array | Every Expression on the layer with its context: rule filter, label, virtual field, default value, constraint or data-defined override. |
| attribute_form | object | The Attribute form: field aliases, edit widgets such as Value Map and Value Relation with their lists, and the form layout. |
| joins_and_relations | array | Vector joins on the layer and project relations that tie child tables to parent layers by key fields. |
| print_layouts | array | Each Print layout: its map, legend and label items, map scale, and any atlas with its coverage layer. |
| processing_models | array | Each Processing model: inputs, algorithm steps by identifier with parameters and dependencies, and outputs. |
| layer_origin | enum | From the supplier's layer inventory: created by the organization, derived from named open data, or purchased. |
Field names from the table above; values are masked placeholders.
Example record
{
"project_id": "qp_3f9a12",
"project_header": {
"saved_with": "[QGIS version]",
"project_crs": "[EPSG code]",
"path_mode": "relative"
},
"layer_tree": [
{
"group": "Survey 2023",
"children": [
"Veg plots",
"Transects"
]
}
],
"layer": {
"layer_id": "veg_plots_5c1e",
"name": "Veg plots",
"provider": "ogr",
"geometry": "Polygon",
"feature_count": 412
},
"datasource": {
"as_saved": "./data/survey.gpkg|layername=veg_plots",
"resolved": true
},
"layer_data": {
"file": "data/survey.gpkg",
"table": "veg_plots"
},
"style": {
"renderer": "rule_based",
"rules": [
{
"label": "Dense scrub",
"filter": "\"veg_class\" = 'SCR' AND \"cover_pct\" >= 60"
}
],
"label_expression": "\"plot_code\" || ' ' || round(\"cover_pct\") || '%'"
},
"expressions": [
{
"context": "virtual_field",
"name": "area_ha",
"expression": "$area / 10000"
}
],
"attribute_form": {
"layout": "drag_and_drop",
"widgets": {
"veg_class": {
"type": "Value Map",
"map": {
"Scrub": "SCR",
"Grassland": "GRS"
}
}
}
},
"joins_and_relations": [
{
"kind": "relation",
"child_layer": "visits",
"child_field": "plot_fk",
"parent_field": "fid"
}
],
"print_layouts": [
{
"name": "Plot sheets A4",
"atlas": {
"coverage_layer": "Veg plots",
"page_name": "\"plot_code\""
}
}
],
"processing_models": [
{
"name": "Buffer and clip plots",
"inputs": [
"plots",
"study_area",
"buffer_m"
],
"steps": [
{
"algorithm": "native:buffer"
},
{
"algorithm": "native:clip",
"depends_on": [
"native:buffer"
]
}
],
"outputs": [
"plots_buffered_clipped"
]
}
],
"layer_origin": "created_by_organization"
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Learn cartographic rules
Rule-based and categorized renderers pair filter expressions with symbols, showing how analysts turn attributes into map classes.
Write and repair QGIS expressions
Expressions arrive with their context and the fields they read, so a model can learn the language against real schemas.
Generate geoprocessing workflows
Processing models pair named inputs, chained algorithm steps and outputs, a graph a model can learn to plan.
Design data-entry forms
Attribute forms show which widget, value list, default and constraint a practitioner chose for each field.
Evaluate GIS agents
Held-out projects test whether an agent can rebuild a style, a layout or a model from a brief and the layers.
Use-case guides: Coding agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Layers resolve
Each project opens from the delivered folder with no unavailable layers.
Relative paths
Datasources point inside the delivery, not to a drive or a server.
Styles beyond defaults
Layers carry categorized, graduated or rule-based renderers, not the single symbol a new layer gets.
Models that validate
Processing models open in the Model Designer with every algorithm found.
Coordinate systems defined
Every layer has a CRS and plots where the project expects it.
Layer origin recorded
A layer inventory names each layer's source and license.
Redaction
QGIS dataset
A project file holds the setup and the method, not the features
A .qgz is a zip archive around a .qgs file, which is plain XML. For each layer it stores a datasource string, a provider name and a coordinate reference system, then what the analyst decided about it: renderer and symbols, labels, field aliases, edit widgets, constraints, default values, joins and virtual fields. Around the layers sit the layer tree with its groups, relations between layers, print layouts and, where saved into the project, processing models. What is specific to QGIS is this record of how a person set up a map and an analysis over data that lives elsewhere.
A rule-based renderer is a tree of rules, each with a filter in the QGIS expression language, a symbol and often a scale range, so each rule states which features belong to which map class. The same language drives labels, data-defined overrides, defaults, form constraints and virtual fields, and each expression names the fields it reads. A print layout with an atlas produces one page per feature of its coverage layer. A processing model built in the Model Designer is a graph: inputs, algorithm steps called by identifiers such as native:buffer, the parameters each step was given, and outputs.
Virtual fields and joins are defined in the project or a saved style, not in the data file, so the same GeoPackage opened on its own can show fewer columns. The project does not record which model run or toolbox step produced a layer. Saving overwrites the earlier state, and neither a GeoPackage nor a shapefile tracks edits, so history exists only as dated copies or as audit tables built in PostGIS.
Layers are paths and connections, and some connections carry passwords
Every datasource is a pointer. A file layer is a path, with a suffix naming the table inside a GeoPackage, saved as relative or absolute according to a project setting. An absolute path names a drive, a user folder and often a client, and fails on any other machine. A PostGIS layer is a connection string naming a host or service, database, schema and table. Open a project without its data and QGIS lists the missing layers in its Handle Unavailable Layers dialog. Keep them and they stay in the Layers panel, but without any data until the path is fixed. A layer definition file (.qlr) has the same limit, since it holds a layer's pointer and style and no features. Temporary scratch layers are worse: their features live in memory and are discarded when QGIS closes unless someone saved them to a file.
Connection strings need cleaning before delivery. Where a user stored a database user name and password with the connection itself and not in an authentication configuration, QGIS warns that they are kept as plain text, and they can be written into the layer's datasource in the project XML. Web map and tile service URLs can carry API keys. The file's root element can record the name of the user who last saved it, and absolute paths repeat it. A project can also hold Python macros, which run on opening only where the user's settings allow embedded code.
To test a sample, unzip a .qgz, read the datasource of each layer, and search the XML for password, user and key. Open the project from the delivered folder, confirm that no layer is unavailable and each has a coordinate reference system, and compare feature counts with the layer inventory. For vector data the clean hand-off is the Package Layers tool, which writes vector layers into one GeoPackage and can save their styles into it. Rasters are copied beside it and the project is saved on relative paths.
What to check before licensing
- Ask for a layer inventory per project: each layer's provider, datasource, feature count and CRS, and whether the organization created it, derived it from open data or bought it.
- Read the license of every source layer, including open data with attribution or share-alike terms, and exclude purchased data unless its terms allow release.
- Search each project's XML for passwords, user names, keys in service URLs and the saving user's name, and confirm they were removed before delivery.
- Require projects saved on relative paths and delivered with their data, and open each one to confirm that no layer is unavailable.
- Agree how private land locations, landowner names, parcel identifiers and protected species records are removed, generalized or withheld, and ask counsel whether a law or permit restricts sharing them.
- Have the buyer and the data owner each check the license terms of QGIS and its plugins, and the terms of the web services and basemaps the projects call, on exported data and API use.
- Ask whether temporary scratch layers, virtual layers and joined tables were saved to files before delivery, and whether any project carries macros.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Is a .qgz file enough on its own?
No. A .qgz is a zip holding the project XML and sometimes a small auxiliary database. It records where each layer lives, not the features. Without the GeoPackage, shapefiles or database tables it points to, the project opens with unavailable layers and only styling, forms, layouts and models can be read. Ask for projects and data together.
Do I need QGIS to read the data?
Not for most of it. The project file and QML styles are XML, and a GeoPackage is a SQLite database under an open standard that many libraries read. Drawing a layer as the analyst saw it, evaluating an expression or running a processing model does need QGIS.
Does a QGIS dataset include edit history?
Usually not. Saving a project overwrites it, and GeoPackage and shapefile layers keep only their current rows, with no record of who changed what. History exists where the business kept dated copies, or built audit tables and triggers in a PostGIS database. Say in your request whether you need earlier states.
Can open data layers inside a project be licensed to us?
That depends on each layer's own license, which you should read. QGIS projects routinely mix the organization's own layers with open data under attribution or share-alike terms and with purchased datasets. Rights review checks that the supplying business owns or may share the records. Look in the layer inventory for derived layers that copy geometry or attributes from a source with conditions.
How are private land and protected species locations handled?
State the treatment you need in your request, because a location is not removed the way a name or an email address is. Parcel boundaries with owner names identify people, and precise records of protected species can cause harm if released. Options include dropping layers, generalizing points to a grid or removing attributes. Check with counsel whether a law or survey permit restricts sharing.
Is SourceX affiliated with the QGIS project?
QGIS is named to identify the system the records come from. That does not imply a partnership with or endorsement by the QGIS project. The records belong to the business that runs QGIS, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Civil engineering and site plans
Survey, existing and proposed surfaces, grading, drainage and utility design, and the plan sheets submitted for approval
- ArcGIS geodatabases and feature layers
An organization's own mapped assets, parcels, routes and inspections as feature classes and tables, with domains, subtypes, relationships and attachments
- Environmental site assessment and sampling records
Site assessment and monitoring reports with the field logs, custody forms and lab results behind them
- Satellite and aerial imagery with labels and change history
Archive satellite scenes and aerial orthoimagery with acquisition metadata, vector labels and repeat coverage
- PostgreSQL application databases
A pg_dump of chosen schemas: table rows, declared constraints, views, functions, triggers and the application's own audit or history tables
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.