[OSM-dev] XAPI and other solutions

Serge Wroclawski emacsen at gmail.com
Thu Apr 28 13:46:19 BST 2011


On Thu, Apr 28, 2011 at 8:30 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:

> If you are using Python, you should use iterparse from the ElementTree API, it is much nicer and faster.

Faster than SAX? I'm not so sure. SAX calls the C directly.

The technique used in iterparse is the same as in SAX parsing, and the
code is the ~the same size.

Use whatever works for you of course.

- Serge



More information about the dev mailing list