"> ">

Presentation is loading. Please wait.

Presentation is loading. Please wait.

Esbern Holmes Using SVG in Excel Esbern Holmes

Similar presentations


Presentation on theme: "Esbern Holmes Using SVG in Excel Esbern Holmes"— Presentation transcript:

1 Esbern Holmes Using SVG in Excel Esbern Holmes www.geoinformatik.dk holmes@geoinformatik.dk

2 Esbern Holmes Using SVG in Excel The goal of the presentation To present a “pure” (dogmatic) approach to producing SVG based maps in Excel where no additional macros/programs are used except from Adobe’s SVG free viewer. Focus on the use of XML based graphics for mapping purposes.

3 Esbern Holmes Using SVG in Excel The structure of a SVG map <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns = "http://www.w3.org/2000/svg" viewBox = "441469.9 6050001.5 451490.1 352445.0"....">............

4 Esbern Holmes Using SVG in Excel Why use SVG in Excel Because SVG is a XML dialect –SVG data can be stored and manipulated as “native” Excel data. –mapping procedures are easily ported between the many programming environment that support XML. SVG supports event driven interaction. SVG documents can be embedded as ActivX or handled as standalone objects SVG maps produced in Excel can be post processed in most drawing programs.

5 Esbern Holmes Using SVG in Excel A generic mapping workflow Spatial data (SVG stubs) Thematic data Classification/ Symbolisation rules SVG document

6 Esbern Holmes Using SVG in Excel The workflow in Excel " LOOKUP(id;DK_kom_geo.xls!ID;DK_kom_geo.xls!Geo) LOOKUP(Book2.xls!data;L.LLimit;L.Display)

7 Esbern Holmes Using SVG in Excel Event driven In the script part of the SVG document it is possible to include event handlers for a series of typically user information and layout operations. As an example I have implemented a tool for changing the colours of the individual classes. The handler opens a “SVG frame” where the user can select the colour either in RGB or in HSV colour system. It is interesting to note that the same code is used in a web implementation of the mapping procedure

8 Esbern Holmes Using SVG in Excel A less dogmatic approach Although macros are not necessary, some scripts are convenient: Create the mapping workbook Create a classification table using different standard approaches Write the SVG data to a file

9 Esbern Holmes Using SVG in Excel Conclusions SVG is easy to move between different implementation environments e.g. the same mapping procedures can be used for mapping from Excel and a web based database. SVG gives superb graphic capabilities. SVG is easy to utilise since it is a XML dialect and thus lends itself to manipulation either in a XML environment or simply as clear text. SVG lends it self to free open source solutions, visit for instance www.carto.net or www.geoinformatik.dk for examples.www.carto.netwww.geoinformatik.dk


Download ppt "Esbern Holmes Using SVG in Excel Esbern Holmes"

Similar presentations


Ads by Google