Index: applications/editors/josm/plugins/smed2/src/render/Renderer.java
===================================================================
--- applications/editors/josm/plugins/smed2/src/render/Renderer.java	(revision 30183)
+++ applications/editors/josm/plugins/smed2/src/render/Renderer.java	(revision 30184)
@@ -198,10 +198,10 @@
 		switch (feature.flag) {
 		case LINE:
-			Edge edge = map.edges.get(feature.refs);
+			Edge edge = map.edges.get(feature.id);
 			area = map.new Area();
 			area.add(map.new Bound(map.new Side(edge, true), true));
 			break;
 		case AREA:
-			area = map.areas.get(feature.refs);
+			area = map.areas.get(feature.id);
 			break;
 		default:
@@ -288,5 +288,5 @@
 		switch (feature.flag) {
 		case LINE:
-			EdgeIterator eit = map.new EdgeIterator(map.edges.get(feature.refs), true);
+			EdgeIterator eit = map.new EdgeIterator(map.edges.get(feature.id), true);
 			point = context.getPoint(eit.next());
 			p.moveTo(point.getX(), point.getY());
@@ -297,5 +297,5 @@
 			break;
 		case AREA:
-			for (Bound bound : map.areas.get(feature.refs)) {
+			for (Bound bound : map.areas.get(feature.id)) {
 				BoundIterator bit = map.new BoundIterator(bound);
 				point = context.getPoint(bit.next());
@@ -373,5 +373,5 @@
 			break;
 		case AREA:
-			for (Bound bound : map.areas.get(feature.refs)) {
+			for (Bound bound : map.areas.get(feature.id)) {
 				BoundIterator bit = map.new BoundIterator(bound);
 				point = context.getPoint(bit.next());
@@ -506,10 +506,10 @@
 		switch (feature.flag) {
 		case LINE:
-			Edge edge = map.edges.get(feature.refs);
+			Edge edge = map.edges.get(feature.id);
 			area = map.new Area();
 			area.add(map.new Bound(map.new Side(edge, true), true));
 			break;
 		case AREA:
-			area = map.areas.get(feature.refs);
+			area = map.areas.get(feature.id);
 			break;
 		default:
