Index: /applications/editors/josm/plugins/pointInfo/build.xml
===================================================================
--- /applications/editors/josm/plugins/pointInfo/build.xml	(revision 30469)
+++ /applications/editors/josm/plugins/pointInfo/build.xml	(revision 30470)
@@ -3,5 +3,5 @@
 
     <!-- enter the SVN commit message -->
-    <property name="commit.message" value="PointInfo: Add support for ghost buildings."/>
+    <property name="commit.message" value="PointInfo: Fix tags copy for ghost buildings."/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
     <property name="plugin.main.version" value="7001"/>
Index: /applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruianModule.java
===================================================================
--- /applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruianModule.java	(revision 30469)
+++ /applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruianModule.java	(revision 30470)
@@ -1128,5 +1128,5 @@
           r.append("</td><td valign=\"top\"  bgcolor=#e5e5ff>");
           r.append("&nbsp;&nbsp;<a href="+ url_stavebni_objekt + m_so_bez_geometrie.get(i).getRuianID() + ">"+ icon_ext_link +"</a> ");
-          r.append("&nbsp;&nbsp;<a href=file://tags.copy/building>"+ icon_copy_tags +"</a></br>");
+          r.append("&nbsp;&nbsp;<a href=file://tags.copy/ghost:"+i+">"+ icon_copy_tags +"</a></br>");
           r.append("</td></tr>");
         }
@@ -1203,4 +1203,30 @@
       }
 
+      if (keyType.startsWith("ghost") && m_so_bez_geometrie.size() > 0) {
+        String[] key = keyType.split(":");
+        int i = new Integer(key[1]);
+        System.out.println("Ghost ID: " + i);
+
+        c.append(tagToString("ref:ruian:building", Long.toString(m_so_bez_geometrie.get(i).getRuianID())));
+        if (m_so_bez_geometrie.get(i).getZpusobVyuzitiKey().length() > 0 &&
+            m_so_bez_geometrie.get(i).getZpusobVyuzitiVal().length() > 0
+           ) {
+          c.append(tagToString(m_so_bez_geometrie.get(i).getZpusobVyuzitiKey(), m_so_bez_geometrie.get(i).getZpusobVyuzitiVal()));
+        }
+        if (m_so_bez_geometrie.get(i).getPodlazi() > 0) {
+          c.append(tagToString("building:levels", Integer.toString(m_so_bez_geometrie.get(i).getPodlazi())));
+        }
+        if (m_so_bez_geometrie.get(i).getByty() > 0) {
+          c.append(tagToString("building:flats", Integer.toString(m_so_bez_geometrie.get(i).getByty())));
+        }
+        if (m_so_bez_geometrie.get(i).getDokonceni().length() > 0 && convertDate(m_so_bez_geometrie.get(i).getDokonceni()).length() > 0) {
+          c.append(tagToString("start_date", convertDate(m_so_bez_geometrie.get(i).getDokonceni())));
+        }
+        if (m_so_bez_geometrie.get(i).getZpusobVyuzitiKod().length() > 0) {
+          c.append(tagToString("building:ruian:type", m_so_bez_geometrie.get(i).getZpusobVyuzitiKod()));
+        }
+        c.append(tagToString("source", "cuzk:ruian"));
+      }
+
       // Copy address tags to clipboard
       if (keyType.startsWith("address")) {
