[OSM-dev] Osmosis enableDateParsing

Frederik Ramm frederik at remote.org
Thu Jan 8 00:25:19 GMT 2009


Hi,

    I played around with the enableDateParsing option and found:

$ time osmosis --rx testfile.osm enableDateParsing=yes --wx out.osm
Jan 8, 2009 1:12:50 AM com.bretth.osmosis.core.Osmosis main
INFO: Osmosis Version 0.29
[...]
Jan 8, 2009 1:13:10 AM com.bretth.osmosis.core.Osmosis main
INFO: Pipeline complete.

real    0m20.456s
user    0m19.420s
sys     0m1.290s
$

$ time osmosis --rx testfile.osm enableDateParsing=no --wx out.osm
Jan 8, 2009 1:16:55 AM com.bretth.osmosis.core.Osmosis main
INFO: Osmosis Version 0.29
[...]
Jan 8, 2009 1:17:15 AM com.bretth.osmosis.core.Osmosis main
INFO: Pipeline complete.

real    0m20.061s
user    0m20.460s
sys     0m0.930s
$

How can this be explained? I would have expected a significant, or at 
least noticeable, difference between running with and without date 
parsing! (I tried "enableDateParsing=foobar" just to make sure Osmosis 
recognizes the option, and it does complain that foobar is not a yes/no 
value...)

Bye
Frederik





More information about the dev mailing list