Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob...

24
Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC

Transcript of Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob...

Page 1: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Sep. 21-22, 2006v FME Worldwide User Conference - Vancouver

Building Polygons – the QA WayBob Janowicz, GIS Innovations, Vancouver, BC

Page 2: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 2

A Simple 6 Zone Map

Starting with aCAD file thatlooks like this

Donuts Y inside Xwith X inside A

Bad line between1 & 2 – double label

(yellow) no label

Label (Z) no area

A

21

YX

Z

Page 3: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 3

To Build Clean Areas

Lets review this simple workbench

Lines/Polygon Point/Attribute Integration

Page 4: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 4

4 Phases of Processing

Validate linework Merge lines Unused – unclosed lines

Validate polygons Examine holes and donuts

Extend attribution Validate labels

Areas with NO labels Areas with multi labels Labels with NO areas

A

21

YX

Z

Page 5: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 5

Building Clean Areas

Line and area (donut) processing

Lines/Polygon

Page 6: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 6

Clean Linework

Merge Linework

Find Unused Lines A

21

YX

Page 7: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 7

Trans: Linejoiner

Merge Lines

** Report NON Lines **

Page 8: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 8

Trans: AreaBuilder

Transformers: AreaBuilder or PolygonBuilder

Treat UNUSED_LINEas a fault – to find/fix

A

21

YX

Page 9: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 9

Understand AreaBuilder

3 modes Create Donuts/Drop Holes Yes - No - Drop Holes

Page 10: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 10

AreaBuilder DoNuts

YesCreate Donuts =

No DropHole1:1

Overlaps Drops holes

Page 11: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 11

Understand PolygonBuilder

Builds each polygon without regard for holes

Can go to DonutBuilder next…

Page 12: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 12

Understand DonutBuilder

Page 13: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 13

Admin Zones

One answer for each location AreaBuilder: Create Donuts = YES

Page 14: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 14

Small Zone Filter

Coast of BC Donut Islands Remove small ones Re overlay

Page 15: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 15

Getting Labels

Getting the labels then extending and cleaning up the attributes

Point/Attribute

Page 16: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 16

Get Labels

Get CAD labels – ensure they are text GeometryFilter: keeping only type=text

Page 17: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 17

Coordinate Attributes

Get Coordinates (curr Projection)

Replicate into new fields (Lat & Long) AttributeReprojector

Reprojects the values in newFields (eg. Lat & Long)

Page 18: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 18

Attribute Cleanup

AttributeRenamer To adjust names

AttributeKeeper To get rid of

unwanted junkattributes

Page 19: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 19

Final QA and Polygon

Integrating and QA Areas and Labels

Integration

Page 20: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 20

Link Labels & Areas

The magic moment Overlaying labels Onto areas NOTE the use of

tracking overlap count

+ X

Page 21: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 21

Labels w/ NO Area fault

Test the POINT feature to ensure it has one and only one “overlap”

Z

Page 22: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 22

Labels in Areas Faults

AttributeFilter to test the AREA feature IF overlaps=0 then the area has NO Label IF overlaps > 1 then the area has EXTRA labels

Page 23: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 23

We Did It

The CLEAN ANSWER IS finally here

Page 24: Sep. 21-22, 2006 v FME Worldwide User Conference - Vancouver Building Polygons – the QA Way Bob Janowicz, GIS Innovations, Vancouver, BC.

Building Polygons 24

Thank You

Bob Janowicz (president)

GIS Innovations Ltd310-1200 West 73rd Avenue

Vancouver, BC, V6P [email protected]