@Override public void exportTable(Connection connection, String tableReference, File fileName, ProgressVisitor progress) throws SQLException, IOException{ GeoJsonWriteDriver geoJsonDriver = new GeoJsonWriteDriver(connection, tableReference, fileName); geoJsonDriver.write(progress); }
public ST_AsGeoJSON() { addProperty(PROP_REMARKS, "Return the geometry as a Geometry Javascript Object Notation (GeoJSON 1.0) element.\n" + "2D and 3D Geometries are both supported.\n" + "GeoJSON only supports SFS 1.1 geometry types (POINT, LINESTRING, POLYGON and COLLECTION)."); }
/** * Write a resulset to a geojson file * * @param progress * @param resultSet * @param file * @throws SQLException * @throws IOException */ public void write(ProgressVisitor progress, ResultSet resultSet, File file) throws SQLException, IOException { write(progress, resultSet, file, null); }
@Override public void importFile(Connection connection, String tableReference, File fileName, ProgressVisitor progress) throws SQLException, IOException { GeoJsonReaderDriver geoJsonReaderDriver = new GeoJsonReaderDriver(connection, fileName); geoJsonReaderDriver.read(progress, tableReference); } }
public GeoJsonWrite(){ addProperty(PROP_REMARKS, "Export a spatial table to a GeoJSON 1.0 file."); }
public GeoJsonRead() { addProperty(PROP_REMARKS, "Import a GeoJSON 1.0 file."); }
public ST_GeomFromGeoJSON() { addProperty(PROP_REMARKS, "Convert a geojson representation of a geometry to a geometry object."); }
@Override public void importFile(Connection connection, String tableReference, File fileName, ProgressVisitor progress, String options) throws SQLException, IOException { importFile(connection, tableReference, fileName, progress); }
@Override public void exportTable(Connection connection, String tableReference, File fileName, ProgressVisitor progress) throws SQLException, IOException{ exportTable(connection,tableReference, fileName,progress, null); }
/** * Write the GeoJSON file. * * @param connection * @param fileName * @param tableReference * @throws IOException * @throws SQLException */ public static void writeGeoJson(Connection connection, String fileName, String tableReference) throws IOException, SQLException { writeGeoJson(connection, fileName, tableReference, null); } }
@Override public void importFile(Connection connection, String tableReference, File fileName, ProgressVisitor progress) throws SQLException, IOException { GeoJsonReaderDriver geoJsonReaderDriver = new GeoJsonReaderDriver(connection, fileName); geoJsonReaderDriver.read(progress, tableReference); }
public ST_AsGeoJSON() { addProperty(PROP_REMARKS, "Return the geometry as a Geometry Javascript Object Notation (GeoJSON 1.0) element.\n" + "2D and 3D Geometries are both supported.\n" + "GeoJSON only supports SFS 1.1 geometry types (POINT, LINESTRING, POLYGON and COLLECTION)."); }
public GeoJsonWrite(){ addProperty(PROP_REMARKS, "Export a spatial table to a GeoJSON 1.0 file."); }
public GeoJsonRead() { addProperty(PROP_REMARKS, "Import a GeoJSON 1.0 file."); }
public ST_GeomFromGeoJSON() { addProperty(PROP_REMARKS, "Convert a geojson representation of a geometry to a geometry object."); }
@Override public void importFile(Connection connection, String tableReference, File fileName, ProgressVisitor progress) throws SQLException, IOException { GeoJsonReaderDriver geoJsonReaderDriver = new GeoJsonReaderDriver(connection, fileName); geoJsonReaderDriver.read(progress, tableReference); } }
public ST_AsGeoJSON() { addProperty(PROP_REMARKS, "Return the geometry as a Geometry Javascript Object Notation (GeoJSON 1.0) element.\n" + "2D and 3D Geometries are both supported.\n" + "GeoJSON only supports SFS 1.1 geometry types (POINT, LINESTRING, POLYGON and COLLECTION)."); }
public GeoJsonWrite(){ addProperty(PROP_REMARKS, "Export a spatial table to a GeoJSON 1.0 file.\n As optional argument an encoding value is supported."); }
public GeoJsonRead() { addProperty(PROP_REMARKS, "Import a GeoJSON 1.0 file."); }
public ST_GeomFromGeoJSON() { addProperty(PROP_REMARKS, "Convert a geojson representation of a geometry to a geometry object."); }