Get More Out Of Your Web Map Service with SLD Styled Layer Descriptor for Complex Symbology Matthew Wechsler Frank Hardisty – MGIS Advisor
Agenda Overview Use Case Problem Proposal Methodology Results
Overview – SLD XML Styling Schema Controls Geospatial Visualization Extends WMS Standard
Use Case – NAVAIR Now Client-Server Intranet Simple Symbology DNC Maps Air & Sea Traffic Monitoring SureTrak
Use Case – NAVAIR Later WMS SLD Client-Server Internet Robust Symbology
Problem – Getting the most out of SLD Can be Difficult Almost always Tedious
Proposal – So now what? Complex symbology ruleset Apply SLD Standards to the ruleset Automate the process
Proposal – So now what? Complex symbology ruleset VPF DNC GeoSym Apply SLD Standards to the ruleset Rules & Filters Automate the process mono C#
Methodology – Vector Product Format (VPF) The Data DNC VMap WVSPlus™ Etc. The Support GeoServer ESRI OGR Etc.
Methodology – Vector Product Format (VPF) The Data DNC The Support GeoServer OGR SLD
Methodology – GeoSym DNC + ? = SLD Complex symbology ruleset VPF DNC GeoSym
Methodology – GeoSym Symbology Assignment Files fullsym attexpcodecolor textabbr simpsym textchartextjointextloc graphics
Methodology – GeoSym fullsym fullsym attexpcode graphics id pid delin pointsym linesym areasym labatt, fcode txrowid Feature Attribute textjoin
Methodology – GeoSym Formula fullsym id pid delin pointsym linesym areasym labatt, fcode txrowid pid = DNC delin = line fcode = BC030 id attexp linesym labatt feature attribute containing label txrowid label rules pid = DNC delin = line fcode = BC030 id attexp linesym labatt feature attribute containing label txrowid label rules
Methodology – GeoSym Attribute Expression File fullsym cond_index att oper = <> = value connector None or AND and OR attexpcode id pid delin pointsym linesym areasym labatt, fcode txrowid
Methodology – GeoSym Attribute Expression Interpretation Connector or (bfc=0 or bfc=6 or bfc=10) and (wid>0 and wid<40) Same Attribute Inside Parentheses Inside Parentheses
Methodology – GeoSym Attribute Expression Interpretation Connector OR bsc=2 OR bot=7 AND bfc=0 AND hgt>50 Different Attributes Separate Independent Conditions Separate Independent Conditions
GeoSym – Attribute Expression Interpretation Connector or and OR AND bfc = 7 AND (hwt = 14 or hwt = 15 or hwt = 16) AttOperValueConnector bfc = 7 AND hwt = 14 or hwt = 15 or hwt = 16 AttOperValueConnector bfc = 7 AND hwt = 14 or hwt = 15 or hwt = 16
textabbr textchartextjointextloc Methodology – GeoSym Text fullsym textjoin txrowid Text Assignment Files Font, Size, Color Location Label Join
Methodology – SLD Extends WMS standard for geographic feature symbolization SLD profile of the WMS Implementation Specification SLD profile of the WMS Implementation Specification Symbology Encoding Implementation Specification Defines styling rules OpenGIS Filter Encoding 2.0 Encoding Standard Defines filtering rules
Methodology – SLD Symbology Encoding FeatureTypeStyle XML element Rule XML elements Feature-property conditions Map Scales 1:500E61:4000 IF…THEN…ELSE
Methodology – SLD Filter Encoding Logical Operators Comparison Operators… bfc=0 or bfc=6 or bfc=10 bfc=0 and hgt>50 bfc=0 or bfc=6 or bfc=10 bfc=0 and hgt>50
Methodology – SLD Application to GeoSym bfc 0 … … … (bfc=0 or bfc=2) AND (hgt>0 and hgt<46) … …
Methodology – SLD VPF (DNC) SLD Automation Automate the process mono C#
The Results – DNC WMS Map
The Results – Good, Bad, Ugly What worked What didn’t Next (bfc=0 or bfc=2) AND (hgt>0 and hgt<46) mono C#
Thank You Frank Hardisty – MGIS Advisor Lonnie Hanekamp – Programmer Penn State – MGIS University CSC – Project Sponsor