[josm-dev] Mappaint and multipolygon relation

Dirk Stöcker openstreetmap at dstoecker.de
Sun Dec 28 22:28:46 GMT 2008


Hello,

now I'm currently implementing support of multipolygon relations in the 
Mappaint-Display of JOSM. One of the major problems is how to handle 
defective relations.

My current idea is following:

- I add a new string array for the relation and possibly the way datatype.
- Whenever I find defective stuff, a add the error messages to the object.
- Objects with errors are shown e.g. with a star in all places, where the
   name is shown (selection list, ...).
- The validator will be able to show the errors.
- Mappaint does a best guess how to handle defective stuff.

Does this sounds useful? Better suggestions?

Another problem will probably be the fact, that larger polygons will 
become slower when drawing them. Suggestions for this?

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list