Package

Source Code of Skunkworks

import java.io.FileInputStream;

import org.geotools.feature.FeatureCollection;
import org.geotools.geojson.feature.FeatureJSON;


/**
*
*
* @source $URL$
*/
public class Skunkworks {

    public static void main(String[] args) throws Exception {
        FeatureJSON json = new FeatureJSON();
        FeatureCollection fcol = json.readFeatureCollection(new FileInputStream("/Users/jdeolive/states.json"));

        System.out.println(fcol.getSchema().getCoordinateReferenceSystem());
    }
}
TOP

Related Classes of Skunkworks

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.