Yes, you run it from the command line and feed it the name of an SVG input file, and an output filename:svgtomap input.svg output.ini
Ellipses work too, not just circles. It places the planet at the centre point of the ellipse/circle in either case.
Compilation instructions are in the file:
* Written in the D programming language (http://www.digitalmars.com/d/
* Uses the XML library for D written by Miguel Ferreira Simoes.
* To compile, open up a command line and type:
* > dmd svgtomap.d xml\XmlNode.d xml\XmlStream.d xml\XmlEntities.d xml\XmlException.d -ofsvgtomap.exe
* (You must first install the official D compiler, dmd.)
In more detail, the steps are:
1. Visit http://www.digitalmars.com/d/1.0/dmd-windows.html
2. Download and install the compiler (it's just in a zip file, so extract it anywhere you like)
3. Open a command line, go into the directory containing svgtomap.d, and type:dmd svgtomap.d xml\XmlNode.d xml\XmlStream.d xml\XmlEntities.d xml\XmlException.d -ofsvgtomap.exe
(dmd will need to be on your path, or alternatively you can replace "dmd" with the full path to dmd.exe)
Be sure to post your changes so that everyone else can benefit.