12. Dynamic process of the Gruben glacier, Switzerland http://www.carto.net/papers/svg/gruben_glacier/ Introduction Dokument Geoemtrie Résumée Beispiele
13.
14.
15.
16. Coordinate systems in SVG, Canvas and Viewport +x +y Canvas View- port Dokument Geoemtry Résumée Introduction Beispiele Examples
17. SVG-Fragment as part of a XML document <?xml version="1.0" standalone="yes"?> <parent xmlns="http://example.org" xmlns:svg="http://www.w3.org/2000/svg"> <!-- parent contents here --> <svg:svg width="4cm" height="8cm"> <svg:ellipse cx="2cm" cy="4cm" rx="2cm" ry="1cm" /> </svg:svg> <!-- ... --> </parent> Source: http://www.w3.org/TR/SVG11/struct.html#NewDocumentOverview Document Geoemtry Résumée Introduction Beispiele Examples
18. Implementation of your own SVG map Geoemtry Résumée Introduction Beispiele Examples Document <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg id="map" width="600px" height="400px" viewBox="0 0 240 160" preserveAspectRatio="xMidYMid meet"> ... </svg>
19.
20.
21.
22. Our Example... <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg id="map" width="600px" height="400px" viewBox="0 0 240 160" preserveAspectRatio="xMidYMid meet"> <title>Map Example</title> <desc> Map which shows use of different SVG-elements and functionalitites. </desc> </svg> Insert 2 Document Geoemtry Résumée Introduction Beispiele Examples
23.
24. SVG DTD <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> System Identifier f o r SVG 1.1 Public Identifier for SVG 1.1: Name of the DTD Dovument Geoemtry Résumée Introduction Beispiele Examples
29. Rectangle <rect x="10" y="20" width="150" height="120"/> <rect ... fill="#eeeeff" stroke="red" stroke-width="1" /> Coordinates left upper corner width height Fill color Border color Line width of border Document Geoemtry Résumée Introduction Beispiele Examples
30. Our Example... ... <desc> Map which shows use of different SVG-elements and functionalitites. </desc> <rect x="10" y="20" width="150" height="120" fill="#eeeeff" stroke="red" stroke-width="1"/> </svg> Document Geoemtry Résumée Introduction Beispiele Examples
31.
32.
33.
34. Line <line x1="10" y1="120" x2="50" y2="80"/> Coordinates starting point Coordinates end point Document Geoemtry Résumée Introduction Beispiele Examples
35.
36. Circles <circle cx="30" cy="30" r="3"/> Coordinates center point Radius Document Geoemtry Résumée Introduction Beispiele Examples
37.
38.
39.
40.
41. Text elements <text x="15" y="135" >AbcDef </text> <text ... style="font-family:Arial;font-size:6 >... </text> Position Content Font size Document Geoemtry Résumée End-Tag Start-Tag Introduction Beispiele Examples Style property