<G extends Geometry> G parse(IContentHandler<G> handler, Object input) throws IOException { return GeoJSONUtil.parse(handler, input, trace); }
void encode(Map<String, Object> obj, Object output) throws IOException { GeoJSONUtil.encode(obj, output); }
/** * Writes a Geometry instance as GeoJSON. * * <p>This method calls through to {@link #write(Geometry, Object)} * * @param geometry The geometry. * @param output The output stream. */ public void write(Geometry geometry, OutputStream output) throws IOException { GeoJSONUtil.encode(create(geometry), output); }