comparison gnv-artifacts/src/main/java/de/intevation/gnv/utils/ShapeFileWriter.java @ 779:b1f5f2a8840f

Ordered imports. Removed needless imports. Removed empty headers. gnv-artifacts/trunk@854 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 08:51:20 +0000
parents 9a828e5a2390
children c4156275c1e1
comparison
equal deleted inserted replaced
778:9a828e5a2390 779:b1f5f2a8840f
1 package de.intevation.gnv.utils; 1 package de.intevation.gnv.utils;
2
3 import com.vividsolutions.jts.geom.Geometry;
4 import com.vividsolutions.jts.geom.MultiLineString;
5 import com.vividsolutions.jts.geom.MultiPolygon;
6
7 import com.vividsolutions.jts.io.ParseException;
8 import com.vividsolutions.jts.io.WKTReader;
9
10 import de.intevation.gnv.geobackend.base.Result;
11 import de.intevation.gnv.geobackend.base.ResultDescriptor;
2 12
3 import java.io.File; 13 import java.io.File;
4 import java.io.IOException; 14 import java.io.IOException;
5 import java.io.Serializable; 15 import java.io.Serializable;
16
6 import java.net.MalformedURLException; 17 import java.net.MalformedURLException;
18
7 import java.text.NumberFormat; 19 import java.text.NumberFormat;
20
8 import java.util.Collection; 21 import java.util.Collection;
9 import java.util.Date; 22 import java.util.Date;
10 import java.util.HashMap; 23 import java.util.HashMap;
11 import java.util.List; 24 import java.util.List;
12 import java.util.Map; 25 import java.util.Map;
13 26
14 import org.apache.log4j.Logger; 27 import org.apache.log4j.Logger;
28
15 import org.geotools.data.DataStoreFactorySpi; 29 import org.geotools.data.DataStoreFactorySpi;
16 import org.geotools.data.DataUtilities; 30 import org.geotools.data.DataUtilities;
17 import org.geotools.data.DefaultTransaction; 31 import org.geotools.data.DefaultTransaction;
18 import org.geotools.data.FeatureStore; 32 import org.geotools.data.FeatureStore;
19 import org.geotools.data.Transaction; 33 import org.geotools.data.Transaction;
34
20 import org.geotools.data.shapefile.ShapefileDataStore; 35 import org.geotools.data.shapefile.ShapefileDataStore;
21 import org.geotools.data.shapefile.ShapefileDataStoreFactory; 36 import org.geotools.data.shapefile.ShapefileDataStoreFactory;
37
22 import org.geotools.feature.FeatureCollection; 38 import org.geotools.feature.FeatureCollection;
23 import org.geotools.feature.FeatureCollections; 39 import org.geotools.feature.FeatureCollections;
24 import org.geotools.feature.SchemaException; 40 import org.geotools.feature.SchemaException;
41
25 import org.geotools.feature.simple.SimpleFeatureBuilder; 42 import org.geotools.feature.simple.SimpleFeatureBuilder;
43
26 import org.geotools.referencing.crs.DefaultGeographicCRS; 44 import org.geotools.referencing.crs.DefaultGeographicCRS;
45
27 import org.opengis.feature.simple.SimpleFeature; 46 import org.opengis.feature.simple.SimpleFeature;
28 import org.opengis.feature.simple.SimpleFeatureType; 47 import org.opengis.feature.simple.SimpleFeatureType;
29
30 import com.vividsolutions.jts.geom.Geometry;
31 import com.vividsolutions.jts.geom.MultiLineString;
32 import com.vividsolutions.jts.geom.MultiPolygon;
33 import com.vividsolutions.jts.io.ParseException;
34 import com.vividsolutions.jts.io.WKTReader;
35
36 import de.intevation.gnv.geobackend.base.Result;
37 import de.intevation.gnv.geobackend.base.ResultDescriptor;
38 48
39 /** 49 /**
40 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) 50 * @author Sascha L. Teichmann (sascha.teichmann@intevation.de)
41 */ 51 */
42 public final class ShapeFileWriter 52 public final class ShapeFileWriter

http://dive4elements.wald.intevation.org