I have a particular memory of a Tuesday morning, years ago, when a contractor’s excavator bit into a gas main that was not where our drawing said it was. Nobody was hurt, thank goodness, but a street was evacuated, a school was closed for the day and I spent most of the following week in rooms with lawyers, regulators and a very quiet project director. The drawing had been correct when it was produced. It had been correct in the sense that the pipe had been drawn exactly where somebody thought it ran, from a record plan whose origin nobody could trace, at a position that had been transcribed twice and rounded once. The main was 1.6 meters to the east. In the drawing, the line had a beautiful, confident weight. There was nothing on it to say: this position is a guess.
That incident did more to shape my approach to utility data than any standard or training course. Utility records are not merely drawings. They are statements about what lies under the ground, relied upon by people who dig, design, repair and plan, and they carry a duty of honesty that ordinary map data does not. When I became a CAD manager responsible for how utility data was captured, drawn, exchanged and handed over across a large engineering consultancy, I made one rule above all others: every utility feature must say how well we know where it is.
This guide is about doing utilities mapping properly with AutoCAD Map 3D and Civil 3D: how to model utility data (geometry and knowledge about the geometry), how legacy drawings become structured records, how Civil 3D designs and documents pipe networks and conflicts, how to check cover, slopes and clearances, how to hand over to a utility GIS, and how to keep all of it trustworthy over decades. I’ll give you the arithmetic and code for the checks I used, and a migration plan for the common case, which is a shelf of CAD drawings that must become a database. It is part of our Autodesk series. For the programs, see AutoCAD Map 3D Beginner’s Guide and Civil 3D for GIS Users: Beginner’s Guide, and for the sector, GIS in Utilities, Transportation, and Logistics.
A note on facts: tool names and options vary by version, and utility regulations, one-call systems and standards differ by country. I describe concepts and common practice. Check your documentation and local rules, and never treat any record as certain.

The Special Nature of Utility Data
Utility data differs from most GIS data in several ways that drive every design decision.
- It is mostly invisible. You can’t walk out and check a buried pipe. Uncertainty is inherent.
- It is safety-critical. Errors injure people and cause outages and pollution.
- It is long-lived. Pipes last for 50 to 150 years. Records outlive their authors.
- It is accumulated from many sources and eras: hand-drawn plans, as-builts, surveys, field sketches, CAD drawings, GNSS captures.
- It has quality that varies enormously from one feature to the next, even on the same plan.
- It is networked. A pipe’s meaning depends on what it connects to, and in which direction.
- It is sensitive. Detailed utility maps of critical infrastructure can be misused.
- It has many stakeholders: owners, designers, contractors, regulators and the public.
Part One: A Data Model That Admits Uncertainty
The geometry
Utility geometry has more dimensions than a plain line:
- Plan position, the line or point.
- Depth: a number that means different things depending on what is measured: the invert (bottom inside the pipe), the crown (top inside), the top of the outer wall, or the centerline. Always say which.
- Elevation reference: depth below the ground, or elevation above a datum, and which datum.
- Size: inner and outer diameter, or width and height.
- Direction: the flow direction, for gravity and pressure networks.
The attributes
A minimum set of attributes for a pipe:
| Field | Example | Notes |
|---|---|---|
| Asset ID | WM-004512 | Unique, stable |
| Type | Water main | From a controlled list |
| Owner | City water utility | |
| Material | Ductile iron | Controlled list |
| Nominal diameter (mm) | 200 | Say whether nominal or actual |
| Year installed | 1987 | Or an interval, if uncertain |
| Status | In service | In service, abandoned, proposed, removed |
| Upstream and downstream invert | 210.55, 210.05 | With datum |
| Depth reference | Invert | What the depth values mean |
| Pressure or flow class | PN10, gravity | |
| Source of position | As-built survey | From a controlled list |
| Positional accuracy | 0.05 m | Or a quality level |
| Source document and date | Plan 1987-114, survey 2019-06 | For traceability |
| Verified | Yes or no | Has this been confirmed on site? |
Notice how many of these are not about the pipe, but about our knowledge of the pipe.
Quality levels for utility information
A widely used way of expressing the reliability of utility data is the quality level scheme from the engineering standard on subsurface utility data (the ASCE standard for collecting and depicting existing subsurface utility data), from the least to the most reliable:
| Quality level | What it means | Typical basis |
|---|---|---|
| QL-D | Information derived from existing records or oral recollection | Old plans, memory |
| QL-C | Surface features surveyed, with utility information from records correlated to them | Manholes and valves surveyed, pipe positions inferred from records |
| QL-B | The utility’s horizontal position designated by geophysical methods (such as electromagnetic locating or ground-penetrating radar) | Locating |
| QL-A | The utility exposed, and its position and depth measured, usually by careful excavation (vacuum excavation, for example) | “Pothole” survey |
Using such a scheme (or your own equivalent, documented) on every utility feature is one of the best investments a utility data team can make. A designer who sees “QL-D” next to a main knows to investigate before designing near it. A contractor who sees “QL-A” knows that the position was measured. My gas main was QL-D, drawn as if it were QL-A. See Understanding Spatial Data Types and Attributes and Metadata in GIS: Why It Matters and How to Create It.
How to show uncertainty on drawings
- Line style by quality: solid for measured, dashed for inferred, with a legend. Make the style carry the quality.
- A label with the quality level and the source.
- A note on every sheet: “Utility positions are indicative. Verify by trial holes before excavation.”
- A buffer zone around uncertain features, shown on the design drawings.
Part Two: Map 3D for the Legacy Problem
Most utilities have decades of CAD drawings, sometimes thousands, and a plan to get them into a GIS. Map 3D is the usual tool for the bridge. For the principles, see AutoCAD Map 3D Beginner’s Guide, and for the detail, the guides referenced here.
Step 1: Inventory
List every drawing: area, date, author, coordinate system, units, content. Classify each by reliability (surveyed, digitized from paper, design only). Don’t convert everything equally, since the best drawings give the best return.
Step 2: Georeference
Many old drawings are in local grids or drawn on sheet frames. Place them in the real world using control points, with a stated residual. See Working with DWG and DXF Files in GIS (QGIS, ArcGIS, GDAL) and Missing or Wrong Coordinate System in AutoCAD Drawings. Record the accuracy of the placement. It limits the accuracy of every feature in the drawing.
Step 3: Clean up
Remove duplicates and fragments, snap connections, fix gaps, orient lines in the direction of flow. See Drawing Cleanup in AutoCAD Map 3D Explained. This is the work that makes networks traceable.
Step 4: Attribute
Attach the attributes of the model above, using object data and object classes (so that every pipe has the same structure), or by building the structure in the target GIS. See Object Data, Object Classes and Attributes in AutoCAD Map 3D. Data sources for attributes: text labels on drawings (parse them), block attributes (extract them), spreadsheets and records, and field verification.
Step 5: Build topology and test the network
Build the network topology, and run traces: from the source, from a valve, from an outfall. Anything that fails to connect or flow correctly is a data error to investigate. See Spatial Analysis in AutoCAD Map 3D: Topology, Queries and Overlays.
Step 6: Quality control
Check a sample of the converted data against the original drawings and, where possible, against field evidence. Record the error rate by drawing. Reject and redo any area whose quality is poor.
Step 7: Load and reconcile
Load into the utility GIS (a geodatabase or a spatial database), reconcile with existing records, and retire the paper and the drawing as the source of truth. Keep them as archive, clearly labeled. See Enterprise GIS & Spatial Databases: PostGIS, Geodatabases, and Server Architecture.
The decision that decides everything
Where does the authoritative data live after the conversion? If the answer is “in the drawings, and also in the GIS,” you have created two truths, and they will diverge within a month. Pick one, normally the GIS, and make drawings extracts, not masters. See Autodesk Docs and Construction Cloud for Geospatial and CAD Data.
Part Three: Civil 3D for Utility Design and Documentation
Pipe networks
Civil 3D models gravity networks (sanitary and storm sewers) and pressure networks (water, gas, and other pressurized systems) with parts lists (catalogues of pipes and structures with sizes, materials and rules) and design rules (minimum cover, minimum slope, maximum drop across a structure, minimum clearance). Pipes and structures carry design properties: diameters, invert levels, slopes, lengths, cover, and so on. See Civil 3D for GIS Users: Beginner’s Guide.
For a utility designer, the benefits are:
- Dynamic design: change a pipe, and the profile, the labels and the quantities update.
- Profile views: the pipe against the ground profile, with crossings of other utilities shown.
- Rules checking: violations of cover, slope and drop are flagged.
- Quantities and tables: pipe lengths by diameter, structure schedules.
- Interference checking: between pipe networks and other objects, to find conflicts.
Cover and slope: the arithmetic of a gravity pipe
Two numbers that every designer checks:
- Cover is the depth of soil above the top of the pipe: ground level minus (invert level plus pipe wall plus inner diameter), or, more simply, ground elevation minus the elevation of the outer crown.
- Slope is the fall of the invert over the length of the pipe, in percent.
def cover_depth(ground_z, invert_z, outer_diameter):
"""Cover over the top of the pipe (m). invert_z is the invert elevation, outer_diameter in m."""
return ground_z - (invert_z + outer_diameter)
def pipe_slope_pct(inv_up, inv_down, length):
return (inv_up - inv_down) / length * 100
# A 300 mm pipe (315 mm outside), invert 210.55 m at the upstream end, ground 212.40 m
print(round(cover_depth(212.40, 210.55, 0.315), 3)) # 1.535 m of cover
print(pipe_slope_pct(210.55, 210.05, 100.0)) # 0.5 percent(Remember that the “invert” and the “outer bottom” differ by the pipe wall thickness, which is small but can matter for tight designs.) Minimum cover protects against traffic loads and frost, and standards vary by material, location and local rules. Minimum slope ensures self-cleansing flow. See Stormwater and Drainage Design with Civil 3D and GIS Data for the hydraulics.
Clearances and conflicts
Utilities cross and run alongside each other, and every standard requires minimum separations: horizontal and vertical, between different services. A frequent task is to check the clearance between a proposed pipe and every existing utility in the corridor.
The geometric core is the distance between two 3D line segments. Civil 3D’s interference check handles it for objects in the drawing, and for data that is outside the drawing (GIS records, other consultants’ models), a short calculation is useful:
import numpy as np
def segment_distance_3d(p1, p2, q1, q2):
"""Minimum distance between two 3D line segments p1-p2 and q1-q2."""
p1, p2, q1, q2 = [np.array(v, float) for v in (p1, p2, q1, q2)]
d1, d2, r = p2 - p1, q2 - q1, p1 - q1
a, e, f = d1 @ d1, d2 @ d2, d2 @ r
if a < 1e-12 and e < 1e-12:
return float(np.linalg.norm(r))
if a < 1e-12:
s, t = 0.0, np.clip(f / e, 0, 1)
else:
c = d1 @ r
if e < 1e-12:
t, s = 0.0, np.clip(-c / a, 0, 1)
else:
b = d1 @ d2
denom = a * e - b * b
s = np.clip((b * f - c * e) / denom, 0, 1) if denom > 1e-12 else 0.0
t = (b * s + f) / e
if t < 0:
t, s = 0.0, np.clip(-c / a, 0, 1)
elif t > 1:
t, s = 1.0, np.clip((b - c) / a, 0, 1)
return float(np.linalg.norm((p1 + d1 * s) - (q1 + d2 * t)))
# Two pipe centerlines crossing at right angles in plan, 0.30 m apart vertically
print(segment_distance_3d((0, 0, 100.0), (20, 0, 100.0), (10, -10, 100.3), (10, 10, 100.3))) # 0.3Remember that this is a distance between centerlines. The clearance that the standard measures is usually between outer surfaces, so subtract the pipe radii. And remember the uncertainty of the existing utility’s position, which at QL-D can be larger than the clearance you are checking. A clearance of 0.3 meters against a record position uncertain by 1.5 meters is not a clearance, it’s a hope. Report conflicts with the quality level of the data, and recommend verification by trial holes where it matters.
Profiles and crossings
In a profile view of a pipe network, other utilities crossing the line appear as cross-section symbols at their crossing positions and levels. This is the most valuable picture in utility design, and it’s only as good as the crossing data. Obtain it from the utilities’ own GIS, with quality levels, and update it from the survey.
Part Four: Utility Surveys and Field Capture
Capturing positions
- Surface features (manholes, valves, hydrants, chambers, poles, cabinets) are surveyed with GNSS or total station. They are the anchors of the network. Capture them with accuracy and a clear source code.
- Buried lines are located by geophysical methods (electromagnetic locators, ground-penetrating radar) and by excavation, recorded with the quality level.
- During construction, capture pipes before backfilling, with the invert, crown or top reference clearly stated. As-built capture is cheap while the trench is open, and impossibly expensive afterwards.
- Mobile mapping and scanning can capture surface features and some above-ground assets. See Point Clouds with ReCap, Civil 3D and GIS.
Standard capture sheet
Give field crews a single standard sheet or form: asset type, ID, position method, accuracy, depth reference, size, material, year, owner, photographs. Missing fields at capture time become missing data forever.
Coordinate systems and vertical datums
Pipes live in 3D, and elevations matter. Make sure that every survey uses the project’s vertical datum, and that the datum is stated in the data. See Coordinate Systems in AutoCAD Map 3D and Civil 3D Explained.
Part Five: Handover to the Utility GIS
The deliverables
When a design or construction project finishes, the utility should receive, in a form its GIS can load:
- Pipes as lines, with all attributes, in the utility’s coordinate system.
- Structures (manholes, valves, hydrants, chambers) as points, with attributes.
- Connectivity that traces correctly, and flow directions.
- 3D geometry (inverts, depths), where the GIS supports it.
- Status: as-built, with date, and a statement of the accuracy and quality level.
- Documents: as-built drawings, photographs, inspection records, test certificates, linked by ID.
- A data dictionary and a README.
Validation before loading
The GIS team should validate each delivery before loading it. Checks:
- Geometry validity and topology. See How to Fix Invalid Geometry Errors and Fixing Topology Errors and Overlaps.
- Connectivity: can a trace run from the source to every feature? Are there islands?
- Direction: do gravity pipes fall in the direction they run?
- Attribute completeness and domains: every required field present, values from the allowed lists.
- Plausibility: diameters, slopes, cover and years within reasonable ranges.
- Cross-checks: with the design and the survey.
- Positional checks: a sample compared with an independent survey.
A validation report returned to the supplier turns a delivery from a hope into an agreement. See Automating Workflows with ModelBuilder and QGIS Processing for automating the checks.
Linking assets to work
Link each asset to its work orders, inspections and incidents by ID, so that the history of the asset is traceable. A pipe that has burst three times is a different pipe from one that has never failed, and the GIS should know. See GIS in Utilities, Transportation, and Logistics.
Part Six: Sensitivity, Security and Sharing
- Utility data is sensitive. Detailed maps of critical infrastructure can be misused. Share on a need-to-know basis, for a defined purpose and period.
- Provide extracts, not the whole database, clipped to the project area, with a stated expiry and the disclaimer that positions are indicative.
- Use controlled sharing: secure platforms, permissions and logs. See Autodesk Docs and Construction Cloud for Geospatial and CAD Data.
- Don’t publish utility maps in open data or public web maps without a deliberate decision.
- Protect privacy: service connections can identify customers.
- Follow the one-call or “dial before you dig” rules of your country: they define how and when utility information is provided to excavators, and the legal responsibilities on both sides.
- Keep an audit trail of who received what, and when.
A Worked Example: 120 Kilometers of Water Network From Drawings to GIS
Task: a water utility has about 1,800 CAD drawings and scanned plans covering a 120-kilometer network, and wants it in its GIS, with usable quality information.
- Governance: decide that the GIS is the authoritative source after conversion. Write the data model (the attribute table above), the controlled lists and the quality level scheme. Agree the acceptance criteria.
- Inventory: classify the drawings. About 40 percent are surveyed as-builts from the last 25 years, 35 percent are digitized from old paper plans, and 25 percent are design drawings with no confirmation of construction. Prioritize: surveyed as-builts first, then the busiest districts.
- Pilot: convert one district (8 kilometers) end to end, measure the effort and the quality, and refine the process. The pilot shows that georeferencing the digitized plans takes longer than expected, and that most pipe diameters are in text labels that can be parsed with a pattern, with about 8 percent needing manual review.
- Georeference each drawing with control points (survey monuments, building corners, manholes surveyed with GNSS). Record the residuals. Reject drawings whose residuals exceed the tolerance, and send them back for a field check.
- Clean up with Map 3D’s cleanup actions, using tolerances based on the gap analysis of the pilot. Orient the pipes in the direction of flow from the source.
- Attribute: extract diameters and materials from the labels, join the year and owner from the register, and set the quality level from the source (surveyed as-built: QL-C or better, where the surface features were surveyed and positions correlated; digitized from paper: QL-D).
- Test the network: run traces from each reservoir and pumping station. 14 percent of the pipes are initially unreachable, mostly because of gaps at tees and a few unmapped valves. Fix, retrace, and investigate 31 isolated segments in the field.
- QC: sample 5 percent of features against original drawings (error rate 1.4 percent), and verify 60 locations in the field using locators. Position differences are within the stated accuracy for 88 percent of QL-C pipes, and worse than the record for 30 percent of the QL-D pipes. This tells the utility exactly where to invest in better data.
- Load into the geodatabase, reconcile with existing customer connections, and publish the quality level on the map as line style.
- Operational use: the “valve question” (which customers lose water if this valve closes?) now runs in seconds. See Spatial Analysis in AutoCAD Map 3D: Topology, Queries and Overlays.
- Maintenance process: new works deliver data to the specification, validated before loading. Field crews use a standard capture sheet. Quality levels improve as pipes are exposed.
- Archive: the original drawings and plans are archived as read-only, linked to the features by source document ID.
The most valuable result was not the map. It was the column saying how well each pipe’s position was known, and the fact that it did not flatter the data.
Common Mistakes
- Drawing uncertain positions with confident lines.
- No quality level or source on utility features.
- Not saying what depth means (invert, crown, top, centerline).
- Treating a record plan as survey.
- Converting every drawing equally, without prioritizing.
- Georeferencing without recording the residuals.
- Cleaning geometry but not orienting flow, so traces fail.
- Two sources of truth (drawings and GIS) after the conversion.
- Checking clearances between centerlines and ignoring pipe size and position uncertainty.
- Not capturing pipes before backfilling.
- Delivering design data as as-built.
- Loading deliveries without validation.
- Sharing utility data broadly, with no expiry or disclaimer.
- Ignoring local dig-safety rules.
- Not linking assets to their maintenance history.
Best Practices
- Model knowledge, not just geometry: quality level, source, accuracy and verification on every feature.
- Show uncertainty on drawings, with line styles, labels and notes.
- Choose one authoritative source, normally the GIS.
- Convert in priority order, with a pilot, and measure quality.
- Georeference with control, and record residuals.
- Clean, orient and test the network with traces.
- Check clearances with uncertainty in mind, and recommend verification.
- Capture pipes open, with a standard sheet.
- Validate every delivery before loading.
- Share carefully, with expiry and disclaimers.
- Link assets to work history.
- Improve data quality over time, and show the improvement.
Final Thoughts
I never heard the end of the gas main story, but I know what happened to the drawing: it was reissued, with a new line style and a new note. The main was drawn dashed, labeled “QL-D, indicative, verify by trial hole,” and the same note appeared on every sheet afterwards. It cost nothing. It would have prevented the whole affair.
That is my advice to anyone who maps utilities with AutoCAD Map 3D and Civil 3D. The tools will let you draw a line anywhere with any weight. Your standards decide whether that line tells the truth. Make every feature carry its source and its quality. Show the uncertainty where people can see it. Check that your networks trace. And when you hand data to the person with the excavator, ask yourself one question: would I dig on this? If the answer is not “yes”, say so in the data.
Where to go next: see how drainage design builds on pipe networks in Stormwater and Drainage Design with Civil 3D and GIS Data, and how all of this meets the legal record in Cadastre and Land Survey: From CAD Drawings to GIS Parcels.



