[OSM-dev] OSM test data generator

Jon Burgess jburgess777 at googlemail.com
Tue Sep 4 21:10:36 BST 2007


I've just added a tool to generate simple OSM files of an arbitrary size
to SVN. 

The tool is really trivial and just generates a node/segment/way data in
a grid like pattern. The interesting thing is that it can create any
amount you like. If you want to see how your editor, database or
renderer handles 100M ways then this may be for you!

http://svn.openstreetmap.org/applications/utils/osmgenerate/

OsmGenerate
===========

Usage:
        osmgenerate <num-ways> <segments-per-way>


This is a trival tool to generate OSM data of an arbitrary size.
This may be used to test the performance and scalability of a variety of
OSM tools.

e.g. osmgenerate 1000 4 > fake1k.osm
     josm fake1k.osm

This is intended as a tool for developers. If you want something other
than a simple grid of ways then you will have to edit the source!

Feel free to add command line switches for more complex data patterns
into SVN :-)


	Jon







More information about the dev mailing list