de.soldin.gt2jump.readwrite
Class FCConverter
java.lang.Object
de.soldin.gt2jump.readwrite.FCConverter
- public class FCConverter
- extends Object
A converter between geotools2 FeatureCollection
and
jumps FeatureCollection
. Unfortunately
not all details can be converted because of design incompatibilities. (see PROBLEMS)
This is tested and works relatively stable with the Shape File Reader of the GT2 package.
PROBLEMS: Writing and reading of FIDs is not currently implemented
as jump FIDs are integer and GT2's are string
Method Summary |
static org.geotools.feature.FeatureCollection |
convert(com.vividsolutions.jump.feature.FeatureCollection jump_features)
|
static com.vividsolutions.jump.feature.FeatureCollection |
convert(org.geotools.feature.FeatureCollection gt2_features)
|
static com.vividsolutions.jump.feature.FeatureSchema |
convert(org.geotools.feature.FeatureType gt2_ftype)
|
FCConverter
public FCConverter()
convert
public static org.geotools.feature.FeatureCollection convert(com.vividsolutions.jump.feature.FeatureCollection jump_features)
throws Exception
- Throws:
Exception
convert
public static com.vividsolutions.jump.feature.FeatureCollection convert(org.geotools.feature.FeatureCollection gt2_features)
convert
public static com.vividsolutions.jump.feature.FeatureSchema convert(org.geotools.feature.FeatureType gt2_ftype)