String str = kmlToGeojson(fileInputStream).toString(); System.out.println(str); } public static StringWriter kmlToGeojson(InputStream input) throws IOException { try { PullParser parser = new PullParser(new KMLConfiguration(), input, SimpleFeature.class); FeatureJSON fjson = new FeatureJSON(...