| java.lang.Object org.geotools.demo.referencing.TransformData
TransformData | public class TransformData (Code) | | A simple demo to transform the geometries in a shapefile from the source
coordinate reference system (CRS) to a target CRS. Source and target
CRS's are given here as well know text (WKT) strings. The default output path
is the users home directory.
The following method is rather low-level. Typically the higher-level
DefaultQuery method demoed in org.geotools.demo.data.ShapeReprojector would
be used instead.
version: $Id: TransformData.java 17699 2006-01-22 22:42:41Z desruisseaux $ author: rschulz |
Method Summary | |
public static void | main(String[] args) |
TransformData | public TransformData(URL inURL, URL outURL, String inWKT, String outWKT)(Code) | | Creates a new instance of TransformData
|
main | public static void main(String[] args) throws Exception(Code) | | Command line arguments are:
- in file - input shapefile
- out file - output shapefile
- in WKT - WKT string for the source coordinate system
- out WKT - WKT string for the target coordinate system
Parameters: args - the command line arguments |
|
|