[josm-dev] Tasks for all of you

Russ Nelson nelson at crynwr.com
Mon Dec 22 22:58:45 GMT 2008


Dirk Stöcker writes:
 > http://josm.openstreetmap.de/ticket/1712
 > Incomplete ways are discarded without notice

What should be done?  Throw an exception immediately?  Load the way
anyway, ignoring missing points, and throw an exception after
everything has been loaded?

In theory, the semantics of this file are as unacceptable as if it
wasn't an XML file at all, and so the "proper" thing to do is throw
away the entire contents of the file.

In practice, this file may contain valuable data and the best thing to
do is select all the ways in error and report an error message.

-- 
--my blog is at    http://blog.russnelson.com   | Delegislation is a slippery
Crynwr sells support for free software  | PGPok | slope to prosperity.
521 Pleasant Valley Rd. | +1 315-323-1241       | Fewer laws, more freedom.
Potsdam, NY 13676-3213  |     Sheepdog          | (Not a GOP supporter).




More information about the josm-dev mailing list