Python markup and tag-based parsers
Tag-based data, particularly different XML dialects, have become a very popular way to distribute geospatial data. Formats that are both machine and human readable are generally easy to work with, though they sacrifice storage efficiency for usability. These formats can become unmanageable for very large datasets but work very well in most cases.
While most formats are some form of XML (such as KML or GML), there is a notable exception. The well-known text (WKT) format is fairly common but uses external markers and square brackets (
) to surround data instead of tags in angled brackets around data like XML does.
Python has standard library support for XML as well as some excellent third-party libraries available. ...