Index: /issm/trunk-jpl/src/m/shp/shp2exp.py
===================================================================
--- /issm/trunk-jpl/src/m/shp/shp2exp.py	(revision 19421)
+++ /issm/trunk-jpl/src/m/shp/shp2exp.py	(revision 19422)
@@ -33,9 +33,10 @@
 		geom=shp.shapes()[i].shapeType
 		if geom==5: # polygon
-			x=[p[0] for p in shp.shapes()[i].points]
-			y=[q[1] for q in shp.shapes()[i].points]
-			expdict['x']=x
-			expdict['y']=y
-			expdict['nods']=len(x)
+			tmpx=[p[0] for p in shp.shapes()[i].points]
+			tmpy=[q[1] for q in shp.shapes()[i].points]
+                        #x.extend(tmpx)
+                        #y.extend(tmpy)
+                        x.append(tmpx)
+                        y.append(tmpy)
 		elif geom==3: # line
 			x=[p[0] for p in shp.shapes()[i].points]
@@ -43,13 +44,9 @@
 			x.append(x[0])
 			y.append(y[0])
-			expdict['x']=x
-			expdict['y']=y
-			expdict['nods']=len(x)
 		elif geom==1: # point
 			x.append(shp.shapes()[i].points[0][0])
 			y.append(shp.shapes()[i].points[0][1])
-			expdict['x']=x
-			expdict['y']=y
-			expdict['nods']=len(x)
 
-	expwrite([expdict],expfile)
+	expdict['x']=x
+	expdict['y']=y
+	expwrite(expdict,expfile)
