Lilac Help

Lilac displays a vector map of the world using user-selected projections and scale. The world map consists of segments for the coastlines, political boundaries, and rivers for each of the continents (Asia, includes Australia; Africa; Europe; South America, includes Anarctica; North America). The user selects the segments, the projection and the scale of the map to display. The maps can be saved in Scalable Vector Graphic (SVG) format, which can be displayed in any SVG-capable browser (tested in Adobe SVG Viewer 3.02, Batik Squiggle 1.6, Firefox 1.5, and Opera V9 beta). Lilac includes functions for converting latitude/longitude to X/Y coordinates that can be used by developers to manually add map-related markers to the SVG file.

Getting Started

File Menu

Display Menu

Map Menu

Help Menu

Out Of Memory Error

If you try to load all the map segments without modifying the Java command line parameters, the Java heap runs out of space. You will notice that the progress bar updates get very slow, and eventually, an error dialog is displayed. You can increase the size of the heap by running Java with the "-Xmx192m" option. To modify in various environments:

The Map Data

The map data is in the WDB.zip file. The data files are a plain text version of the CIA World DataBank II, converted by Dave Pape. Quoting from the original README file, "the political boundaries are those of the time that the DataBank was originally created, sometime in the 1980s. Also, whoever created the DataBank considered North America to consist solely of the US and Canada." The original README file is included in the zip file.

Contact Information

Send questions, comments, and suggestions to peter at fastsvg.com.

Copyright 2006. Peter Thompson. All rights reserved.