Quality Control
Table of Contents
- PlanYukon Regional Planning Database Best Practices Wiki
- Getting Started as an Administrator
- Data File Management
- Data Styling
- Metadata Management
- Data Processing Work Flow
- Quality Control
- Recommended Data Management Tools
Layer Quality Assurance Checklist
A form has been created for recording QA procedures.Make the Checklist the description for a new ticket as follows:
[[Include(QualityChecklist)]]
The following checklist should be applied to preparation of data for the Atlas:
| DATA SUBMISSION | |||
| ID | Requirement | Team Member initials | Date MM/DD/YY |
| 1 | data is in the accepted Atlas projection (if not, see Useful Commands) | ||
| 2 | data is properly optimized (shptree or gdaladdo) | ||
| 3 | .lay metadata is complete (using the Metadata Generator) | ||
| 4 | .lay metadata is free of typo graphical errors | ||
| 5 | data has been uploaded to the Atlas server | ||
| 6 | the .lay file changes have been committed to svn | ||
| 7 | Ticket transferred to Atlas Admin for approval (identify access constraints in comments) |
The following checklist should be applied to publication of data for the Atlas:
| DATA PUBLICATION | |||
| ID | Requirement | Team Member initials | Date MM/DD/YY |
| 8 | execute an svn up on the atlas.planyukon.ca server | ||
| 9 | complete record in the layers database table has been created for this .lay file | ||
| 10 | add the .lay file to a test.map and verify that a map image is created for the data with the shp2img utility | ||
| 11 | add the published layer to a Theme if desired | ||
| 12 | verified the layer has been processed through the layer_list online tool | ||
| 13 | if the layer is part of a published theme, verify that no warnings exist in the WMS GetCapabilities request | ||
| 14 | Confirm layer and Theme are present and functioning properly in the Atlas interface |
Published Layer QA Checklist Forms
Data Optimization Checklist
The following guidelines should be followed to ensure that Atlas data is displayed to the user as fast as possible:
- Is the format of the data either ESRI Shapefiles for vectors or GeoTIFFs for rasters?
- Is the data indexed?
- Are excessive labels causing a slower draw time?
- For vector files, have unused fields/columns been removed?
- Does your layer use an excessive amount of expressions, especially logical expressions?
- Where you are using many classes in a layer, is it possible to separate each class into a separate data file?
- Have you removed any unused symbols and fonts from the symbolset and fontsets?
- If you are referring to an EPSG file for projections, have you moved the common EPSG codes to the top of the file?
Publishing Atlas Data
The following guidelines exist to manage the Atlas data served to the public through the WMS Standard.
WMS Mapfile Location
All WMS .map files should be placed in the /themes/wms/ folder. These describe wms data being used by the Atlas, not published by it.
Publish Local Data to WMS
Local data may be served up through the database-driven data manager and mapserver to the Atlas without being served as a WMS. To do this, the data .lay must be INCLUDEd in wms-public.map. Try a GetCapabilities request and search for the new data.
MapServer Required Metadata
For a list of required metadata please see the Metadata Management pages.
WMS GetCapabilities Warnings
All warnings must be removed from the Atlas' WMS GetCapabilities
- if you get the following warning for a RASTER layer:
<!-- WARNING: Optional LatLonBoundingBox could not be established for this layer. Consider setting LAYER.EXTENT or wms_extent metadata. Also check that your data exists in the DATA statement -->
you will have to add ows_extent metadata for the layer (which is the 'minx miny maxx maxy' bounds, obtained through the gdalinfo utility if it is a raster file, or through the GetCapabilities of the WMS server).
GeoConnections Discovery Portal Registration
The Atlas WMS service must be registered and maintained in the Discovery Portal as a CGDI Web Service (example: http://geodiscover.cgdi.ca/gdp/search?action=entrySummary&entryType=service&entryId=7191&entryLang=en)
During registration, it is important to specify appropriate themes in that portal entry so users can find Atlas data when they search by theme (these themes should be similar to the WMS service's keywordlist metadata)

