SVG interfaces

The purpose of this page is to document the HTML/SVG interface set up for two internal projects:

  • Taxis collectifs
  • Cooperative path planning (or crossroad simulator in an earlier version)

SVG standard

Scalable vector graphic (SVG) a modularité language for describing two-dimensional vector and mixed vector/raster graphics in XML. The SVG specification is an open standard that has been under development by the World Wide Web Consortium (W3C) since 1999. The full up-to-date specification of the format is available here.

SVG images and their behaviours are defined in XML text files. This means that they can be searched, indexed, scripted and, if required, compressed. Since they are XML files, SVG images can be created and edited with any text editor, but specialized SVG-based drawing programs are also available.

To produce SVG with Python SVGDraw library of Python can be used. It is available for download here. There are sources in *.py files and and as well some simple examples.

 
documentation/svg.txt · Last modified: 2010/07/19 15:42 by Olga Kokshagina
Recent changes · Show pagesource · Login