I'm looking for some tool/library that is able to draw simple 2d geometries from text file or programatically. I already found List of interactive geometry software but that not quite what I'm looking for. I would prefer something more similar in usage to graphviz or gnuplot. I already wrote some scripts for gnuplot but this tool has been designed for different purposes. Required functionality:
- support for different kind of 2D geometries: points, segments, lines, circles, polygons
- simple input type format maybe similar to postgis Well Known Text
- support for objects additional data like tags and colors definition
- output in common image format or some kind of interactive GUI (with zoom in/out and select object)
- configurable grid
- autoscale or draw in defined area
I will use it for testing geometry algorithms and don't want to reinvent the wheel.