AERMOD One User's Manual

12.5 Load sources and receptors from Shapefile or CAD

Command: Import > Load from Shapefile / CAD...
Window: Load from Shapefile / CAD (modal, borderless; footer icons Import and Close)
Licence: Shapefile / CAD import

The window contains a File group (the file box, Browse and a red warning line), a Coordinates group with two options and a hint line, a Layer list, an Import features as list and a help line that changes with the chosen role.

flowchart TD
    A["Import > Load from Shapefile / CAD..."] --> B{"Licence includes Shapefile / CAD import?"}
    B -- No --> C["Feature upsell opens; importer does not start"]
    B -- Yes --> D["Browse: select .shp or .dxf"]
    D --> E["Layers are listed; CRS option is preselected"]
    E --> F["Choose Layer and Import features as"]
    F --> G["Click Import"]
    G --> H["Validation messages; stays open on failure"]
    H --> I{"First vertex more than 2 degrees from domain centre?"}
    I -- Yes --> J["Ask: Import anyway?"]
    J -- No --> F
    J -- Yes --> K["Features are converted and stored"]
    I -- No --> K
    K --> L["Notice: default emission parameters are 0 (points and polygons)"]
    L --> M["Window closes; map and tree refresh"]

Procedure

  1. Open the project and choose Import > Load from Shapefile / CAD.... Without the required licence, the feature upsell opens and the importer does not start.
  2. Select the GIS/CAD file using Browse. The file picker, Select a shapefile or CAD DXF file, offers Shapefile or CAD DXF (.shp and .dxf), Shapefile, CAD DXF and All files. For a shapefile, keep its .shx and .dbf sidecar files in the same folder. If either is absent the red line reads This shapefile is missing .shx and .dbf. Keep the shapefile sidecar files in the same folder as the .shp. (naming whichever is absent) and no layers are listed. A file with no readable layers shows No vector layers were found in this file.
  3. Under Coordinates, choose Use file projection (.prj) if the shapefile includes a usable projection file, or Project UTM zone to interpret the coordinates in the open project's UTM zone and hemisphere. The second option is labelled with the project's zone, for example Project UTM zone 31N (EPSG:32631), or Project UTM (zone not set) (disabled) when the project has no valid zone. When no .prj exists, the first option reads Use file projection (.prj) — none found and is disabled. The hint line explains the current situation. A DXF never counts as having a .prj, so for a DXF the project UTM option is used.
  4. Select the intended Layer. For a shapefile the entries read name (geometry type); for a DXF the entries are the CAD layer names. Then select Import features as: Discrete receptors (initial selection), Point sources or Polygon area sources.
  5. Click the Import icon. While it works, the window shows a wait cursor and both footer icons are disabled. If the first preview vertex differs from the domain centre by more than two degrees of latitude or longitude, the importer asks The imported coordinates are far from the current project location. The coordinate system may be wrong. Import anyway? No keeps the dialog open without storing the features.
  6. Confirm the imported features on the map and the refreshed source/receptor tree. A successful import closes the window; failed validation leaves it open. Point or polygon imports first show a message that default emission parameters are zero and must be edited.

Coordinate reference and geometry handling

Input conditionApplication behaviourRequired user check
Shapefile with .prjUse file projection (.prj) is initially selected. Geometry is converted to geographic coordinates.Confirm the source CRS defined in the .prj is correct.
Shapefile without .prjProject UTM zone is initially selected.Check the project's zone and hemisphere; do not treat arbitrary projected coordinates as UTM.
DXFCoordinates use the project UTM interpretation; the .prj option is not available.Check drawing units and coordinate reference independently.
Polygon source roleConverted polygons are imported as area sources. A closed LineString (at least four coordinates, first equal to last) is promoted only when the converted layer contains no polygon features. Polygons with fewer than three vertices are skipped without a message.Inspect mixed CAD drawings; open lines are not stored as sources.
Point or receptor roleOnly point features are read for the selected role.Check completeness and counts against the original layer.

The importer converts supported shapefile and CAD layers to geographic coordinates (WGS84) and then stores the geometries in the project. Multi-part features are split into separate features. Temporary conversion files are deleted afterwards. The GIS conversion helpers are not EPA dispersion-model executables.

The first-vertex distance check uses the first point in the converted data (or, if there are no points, the first polygon or line vertex). It is skipped when the project domain centre is exactly 0°, 0°.

Attribute defaults and names

Selected roleProject recordInitial attributes
Discrete receptorsDISR###Geographic coordinates, General category, elevation zero.
Point sourcesSTK###Stack height, diameter, velocity and emissions zero. The zero temperature passes through the normal source-temperature rule and is stored as 273.15 K.
Polygon area sourcesPOLY###Polygon vertices, calculated area (square metres), vertex count; release height, initial vertical dispersion and emission zero.

This command always runs with overwrite disabled. Feature names are cleaned to letters and digits with a maximum length of 10. If a name is blank after cleaning, a fallback of the form REC001, STK001 or POLY001 is used. If the name already exists in the project, a numeric suffix (2, 3, ...) is added, keeping the name within 10 characters, so existing records are never overwritten. Review naming and counts after import.

Validation and error messages

Messages use the window title as their caption.

  • Select a shapefile or DXF file.: No input path, or the file does not exist.
  • This shapefile is missing ...: Required .shx or .dbf sidecar absent.
  • The project UTM zone is not set.: Project UTM chosen but the zone is not valid (1 to 60).
  • Choose how coordinates should be interpreted.: Neither CRS option selected.
  • Select a layer.: A layer list exists but no layer is selected.
  • Select what these features should become.: No Import features as role is selected.
  • This layer has no point features for discrete receptors., This layer has no point features for point sources. or This layer has no polygon features for area sources.: The selected role is incompatible with the available geometry.
  • The imported coordinates are far from the current project location. The coordinate system may be wrong. Import anyway?: First-vertex warning only, not a test of the entire feature extent.
  • No features were imported. Names that already exist were left unchanged.: Nothing was stored (for example, every polygon had fewer than three vertices).
  • The GIS/CAD file did not produce any geometry. or a converter error: the conversion failed; the window stays open.

For point and polygon source imports, the completion notice is Imported {n} feature(s) with default emission parameters (0). Edit each source before running AERMOD. Recheck physical parameters and pollutant rates in their respective source forms before modelling (Chapter 5).

This is part of the AERMOD One user's manual. Licences are on Editions and pricing. For a modelling project, contact Envitrans.