|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.h2gis.drivers.geojson.GeoJsonWriteDriver
public class GeoJsonWriteDriver
A simple GeoJSON driver to write a spatial table to a GeoJSON file. GeoJSON is a format for encoding a variety of geographic data structures. A GeoJSON object may represent a geometry, a feature, or a collection of features. GeoJSON supports the following geometry types: POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON, and GEOMETRYCOLLECTION. Syntax: { "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry":{"type": "Point", "coordinates": [102.0, 0.5]}, "properties": {"prop0": "value0"} } ]}
| Constructor Summary | |
|---|---|
GeoJsonWriteDriver(Connection connection,
String tableName,
File fileName)
A simple GeoJSON driver to write a spatial table to a GeoJSON file. |
|
| Method Summary | |
|---|---|
boolean |
isSupportedPropertyType(int sqlTypeId,
String sqlTypeName)
Return true is the SQL type is supported by the GeoJSON driver. |
void |
write(ProgressVisitor progress)
Write the spatial table to GeoJSON format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeoJsonWriteDriver(Connection connection,
String tableName,
File fileName)
connection - tableName - fileName - | Method Detail |
|---|
public void write(ProgressVisitor progress)
throws SQLException,
IOException
progress -
SQLException
IOException
public boolean isSupportedPropertyType(int sqlTypeId,
String sqlTypeName)
throws SQLException
sqlTypeId - sqlTypeName -
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||