Index: /issm/trunk/src/c/objects/KML/KML_Container.cpp
===================================================================
--- /issm/trunk/src/c/objects/KML/KML_Container.cpp	(revision 9214)
+++ /issm/trunk/src/c/objects/KML/KML_Container.cpp	(revision 9215)
@@ -165,5 +165,5 @@
 
 	for (i=0; i<feature->Size(); i++)
-		((KML_Feature *)feature->GetObjectByOffset(i))->FindPolygons(polygons);
+		((KML_Object *)feature->GetObjectByOffset(i))->FindPolygons(polygons);
 
 	return;
@@ -179,5 +179,5 @@
 
 	for (i=0; i<feature->Size(); i++)
-		((KML_Feature *)feature->GetObjectByOffset(i))->FindLineStrings(linestrings);
+		((KML_Object *)feature->GetObjectByOffset(i))->FindLineStrings(linestrings);
 
 	return;
Index: /issm/trunk/src/c/objects/KML/KML_File.cpp
===================================================================
--- /issm/trunk/src/c/objects/KML/KML_File.cpp	(revision 9214)
+++ /issm/trunk/src/c/objects/KML/KML_File.cpp	(revision 9215)
@@ -253,2 +253,30 @@
 /*}}}*/
 
+/*FUNCTION KML_File::FindPolygons {{{1*/
+void  KML_File::FindPolygons(DataSet* polygons){
+
+	int   i;
+
+/*  loop over the kml objects for the file  */
+
+	for (i=0; i<kmlobj->Size(); i++)
+		((KML_Object *)kmlobj->GetObjectByOffset(i))->FindPolygons(polygons);
+
+	return;
+}
+/*}}}*/
+
+/*FUNCTION KML_File::FindLineStrings {{{1*/
+void  KML_File::FindLineStrings(DataSet* linestrings){
+
+	int   i;
+
+/*  loop over the kml objects for the file  */
+
+	for (i=0; i<kmlobj->Size(); i++)
+		((KML_Object *)kmlobj->GetObjectByOffset(i))->FindLineStrings(linestrings);
+
+	return;
+}
+/*}}}*/
+
Index: /issm/trunk/src/c/objects/KML/KML_File.h
===================================================================
--- /issm/trunk/src/c/objects/KML/KML_File.h	(revision 9214)
+++ /issm/trunk/src/c/objects/KML/KML_File.h	(revision 9215)
@@ -32,4 +32,6 @@
 		void  Write(FILE* fid,char* indent);
 		void  Read(FILE* fid,char* kstr);
+		void  FindPolygons(DataSet* polygons);
+		void  FindLineStrings(DataSet* linestrings);
 		int   Id(){_error_("Not implemented yet.");};
 		int   MyRank(){_error_("Not implemented yet.");};
Index: /issm/trunk/src/c/objects/KML/KML_MultiGeometry.cpp
===================================================================
--- /issm/trunk/src/c/objects/KML/KML_MultiGeometry.cpp	(revision 9214)
+++ /issm/trunk/src/c/objects/KML/KML_MultiGeometry.cpp	(revision 9215)
@@ -189,5 +189,5 @@
 
 	for (i=0; i<geometry->Size(); i++)
-		((KML_Geometry *)geometry->GetObjectByOffset(i))->FindPolygons(polygons);
+		((KML_Object *)geometry->GetObjectByOffset(i))->FindPolygons(polygons);
 
 	return;
@@ -203,8 +203,8 @@
 
 	for (i=0; i<geometry->Size(); i++)
-		((KML_Geometry *)geometry->GetObjectByOffset(i))->FindLineStrings(linestrings);
-
-	return;
-}
-/*}}}*/
-
+		((KML_Object *)geometry->GetObjectByOffset(i))->FindLineStrings(linestrings);
+
+	return;
+}
+/*}}}*/
+
Index: /issm/trunk/src/c/objects/KML/KML_Placemark.cpp
===================================================================
--- /issm/trunk/src/c/objects/KML/KML_Placemark.cpp	(revision 9214)
+++ /issm/trunk/src/c/objects/KML/KML_Placemark.cpp	(revision 9215)
@@ -189,5 +189,5 @@
 
 	for (i=0; i<geometry->Size(); i++)
-		((KML_Geometry *)geometry->GetObjectByOffset(i))->FindPolygons(polygons);
+		((KML_Object *)geometry->GetObjectByOffset(i))->FindPolygons(polygons);
 
 	return;
@@ -203,8 +203,8 @@
 
 	for (i=0; i<geometry->Size(); i++)
-		((KML_Geometry *)geometry->GetObjectByOffset(i))->FindLineStrings(linestrings);
-
-	return;
-}
-/*}}}*/
-
+		((KML_Object *)geometry->GetObjectByOffset(i))->FindLineStrings(linestrings);
+
+	return;
+}
+/*}}}*/
+
