Index: /issm/trunk/src/mex/Shp2Kml/Shp2Kml.cpp
===================================================================
--- /issm/trunk/src/mex/Shp2Kml/Shp2Kml.cpp	(revision 10383)
+++ /issm/trunk/src/mex/Shp2Kml/Shp2Kml.cpp	(revision 10384)
@@ -65,5 +65,5 @@
 	if (verbose) printf("Checking inputs:\n");
 
-//	if (sgn != +1 && sgn != -1) _error_("Hemisphere sgn=%d must be +1 (north) or -1 (south).",sgn);
+	if (sgn < -1 || sgn > +1) _error_("Hemisphere sgn=%d must be +1 (north), -1 (south), or 0 (no translation).",sgn);
 	if (fabs(cm)      > 180.) _error_("Central meridian cm=%g must be between -180 (west) and +180 (east) degrees.",cm);
 	if (sp < 0. || sp >  90.) _error_("Standard parallel sp=%g must be between 0 and 90 degrees (in specified hemisphere).",sp);
@@ -102,5 +102,5 @@
 	_printf_(true,"      filshp      file name of shp file to be read (char, extension optional)\n");
 	_printf_(true,"      filkml      file name of kml file to be written (char)\n");
-	_printf_(true,"      sgn         sign for hemisphere (double, +1 (north); -1 (south); 0 (no translation))\n");
+	_printf_(true,"      sgn         sign for hemisphere (double, +1 (north); -1 (south); or 0 (no translation))\n");
 	_printf_(true,"\n");
 	_printf_(true,"      central_meridian     central meridian (double, optional, but must specify with sp)\n");
@@ -110,7 +110,7 @@
 	_printf_(true,"\n");
 	_printf_(true,"   Examples:\n");
-	_printf_(true,"      [ret]=Shp2Kml('file.shp','file.kml', 1);\n");
-	_printf_(true,"      [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70,'holes');\n");
-	_printf_(true,"      [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71,'holes');\n");
+	_printf_(true,"      [ret]=Shp2Kml('file.shp','file.kml', 0);\n");
+	_printf_(true,"      [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70);\n");
+	_printf_(true,"      [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71);\n");
 	_printf_(true,"\n");
 }
