[Schmitzm-commits] r209 - trunk/src/schmitzm/geotools/io

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jul 10 12:53:20 CEST 2009


Author: alfonx
Date: 2009-07-10 12:53:19 +0200 (Fri, 10 Jul 2009)
New Revision: 209

Modified:
   trunk/src/schmitzm/geotools/io/GeoImportUtil.java
Log:
* Add .cpg as a ESrI Shapefile extension. It's supported by ArcGIS may store the codepage used inside the .dbf. We/nore GT is reading it yet, it's its a start to put it here.

Modified: trunk/src/schmitzm/geotools/io/GeoImportUtil.java
===================================================================
--- trunk/src/schmitzm/geotools/io/GeoImportUtil.java	2009-07-09 20:51:58 UTC (rev 208)
+++ trunk/src/schmitzm/geotools/io/GeoImportUtil.java	2009-07-10 10:53:19 UTC (rev 209)
@@ -83,7 +83,8 @@
 	/** These postfixes are associated with ESRI SHape files */
 	static public enum SHP_POSTFIXES {
 		shp, sbx, sbn, dbf, shx, 
-		qix, fix	// Non-ESRI QuadTree Index stuff
+		qix, fix,	// Non-ESRI QuadTree Index stuff
+		cpg // Supported by ESRI. Contains the name of codepage used inside the DBF
 	};
 
 	/** These postfixes are associated with ordinary image files, excluding GeoTIFF endings please */



More information about the Schmitzm-commits mailing list