[OSM-dev] SAX XML parsing recommendations?

Tom Carden tom at tom-carden.co.uk
Mon Jul 10 22:32:08 BST 2006


On 10/07/06, Immanuel Scholz <immanuel.scholz at gmx.de> wrote:
>
> JOSM uses MinML2, which is reasonable fast, but in Java. ;-) The source
> for this parser is in
> http://www.eigenheimstrasse.de/svn/josm/src/org/openstreetmap/josm/io/OsmReader.java
>

I used MinML2 for a minimal osm2csv converter.  I was only interested
in nodes and segments so it's not exactly complex - it's about as
simple a SAX example as you're likely to get.

Use rev 995 because it seems to have been unceremoniously removed from
the repository at some point :(
http://trac.openstreetmap.org/browser/java/src/org/openstreetmap/util/Osm2Csv.java?rev=995

Tom.




More information about the dev mailing list