public class GeoJSONExporter extends FileExporter
Modifier and Type | Field and Description |
---|---|
static ExtensionFileFilter |
FILE_FILTER
File extension filter for .geojson files
|
filter
Constructor and Description |
---|
GeoJSONExporter()
Constructs a new
GeoJSONExporter with WGS84 projection. |
Modifier and Type | Method and Description |
---|---|
void |
exportData(java.io.File file,
Layer layer)
Execute the data export.
|
acceptFile, activeOrEditLayerChanged, exportDataQuiet, isCanceled, isEnabled, setCanceled, setEnabled
public static final ExtensionFileFilter FILE_FILTER
public GeoJSONExporter()
GeoJSONExporter
with WGS84 projection.public void exportData(java.io.File file, Layer layer) throws java.io.IOException
FileExporter
exportData
in class FileExporter
file
- target filelayer
- the layer to exportjava.io.IOException
- in case of an IO error