[josm-dev] Paint a WKB Geometry

Maria Arias de Reyna marias at emergya.es
Wed Jul 15 11:07:48 BST 2009


Hi,

I'm using the code of JOSM to develop an independent map viewer.

I have connected a spatial database to JOSM and I want to be able to paint the 
geometries included there. As I see, JOSM uses Ways and Nodes to paint 
vectorial data. But I don't see how can I convert from geometry (WKB 
Geometries) to Ways. Is there any simple way to do it?

If not, I suppose I will have to read the nodes from the geometry and create a 
new Way with them or create a new type of layer which uses wkb geometries.

-- 
María Arias de Reyna Domínguez
Emergya Consultoría




More information about the josm-dev mailing list