What it does
Converts an AGS4 file into a GIS-ready GeoPackage or SQLite database.
Inputs
- Input file:
.ags(AGS4).
Output
- GeoPackage
.gpkgor SpatialLite.sqlite
How to use
- Open Processing Toolbox → AGS Tools → AGS2DB.
- Pick your AGS file and an output path.
- Set the Coordinate reference system.
- Run.
Notes
- Start with small AGS files to verify settings.
- If coordinates exist, a point layer is created; otherwise you’ll get non-spatial tables for joins.
What it does
Validates an AGS4 file against the selected dictionary using the BGS AGSAPI, returning a plain-text report (errors, warnings, info).
Inputs
- Input file:
.ags(AGS4) - AGS version: one of
4.0.3,4.0.4,4.1,4.1.1(or None to use the API default) - Checkers: one or more of
ags,bgs
Output
- Text report (
.txt) summarising validation results.
How to use
- Open Processing Toolbox → AGS Tools → AGS Validator.
- Select AGS file, dictionary, and checkers.
- Choose an output
.txtpath and run. - Open the saved report to review issues.
Notes / requirements
- Internet required: the tool posts your file to the BGS AGSAPI and saves the response.
Contributions are welcome. To keep the project manageable, please follow the workflow below.
Before starting work, please check the existing Issues to see whether the feature or bug has already been raised.
For new features, larger changes, or anything that may affect how the plugin works, please open an Issue first. This helps avoid duplicated work and gives us a chance to discuss the approach before code is written.
For small fixes, such as typos or minor documentation updates, you can open a pull request directly.
- Fork the repository.
- Create a new branch for your change.
- Keep each branch focused on one feature, bug fix, or documentation change.
- Make your changes.
- Test the plugin in QGIS before submitting.
- Update the documentation if your change affects how the plugin is used.
- Open a pull request back to the main repository.
Please avoid combining unrelated changes in a single pull request. For example, a new feature, a bug fix, and formatting changes should normally be submitted as separate pull requests.
Use a short, descriptive branch name, for example:
fix-layer-loading-erroradd-export-optionupdate-readme
When opening a pull request, please include:
- a short description of what has changed;
- the Issue number it relates to, if applicable;
- the QGIS version used for testing;
- any notes about known limitations or follow-up work.
Please follow the style and structure already used in the plugin. Keep changes as small and focused as possible, and avoid committing local cache files, generated files, or development environment settings.
This plugin is licensed GPL-2.0-or-later.
It uses the British Geological Survey AGSAPI.
Contains public sector information licensed under the Open Government Licence v3.0.
See the OGL: https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/