# AGS Import

GeoDin's **AGS object type** mirrors the AGS group/header structure, so AGS imports come through with ground descriptions and nested measurement data already in place — there's no per-row mapping to do.

For the general import workflow that applies to General Data, Samples, and Measurements (including AGS imports into the G1 object type), see the [Import overview](/importing-data/import.md#batch-import-workflow-general-samples-measurements).

## Database backend differences

* **Access (`.mdb`) databases** — GeoDin creates the AGS database structure automatically at import time. No preparation required.
* **SQL Server databases** — manually create a dummy AGS object first to prepare the database table structure, then import.

## What the AGS importer handles

* **Custom field definitions** — imported with warnings; the import still completes successfully.
* **Nested measurement data** — sub-types like SCPG and SCPT are imported in a single procedure because the data is self-contained in the AGS group format. This advantage is **not** available for G1 object type imports.
* **Supported export formats** — AGS 4.0.4 and AGS 4.1, via `Publish and Export > AGS export`. AGS export lets the user choose which groups to export, then click **Execute**.

## Working with AGS files

Most of the user effort with AGS is upstream — getting the AGS file format correct. Once the file is well-formed, GeoDin handles the import end-to-end.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.geodin.com/importing-data/ags-import.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
