public class GeoJSONExporter extends FileExporter
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoJSONExporter.CurrentProjection
A GeoJSON exporter which obtains the current map projection when exporting (
exportData(File, Layer)). |
| Modifier and Type | Field and Description |
|---|---|
static ExtensionFileFilter |
FILE_FILTER |
static ExtensionFileFilter |
FILE_FILTER_PROJECTED |
protected Projection |
projection |
filter| Modifier | Constructor and Description |
|---|---|
|
GeoJSONExporter()
Constructs a new
GeoJSONExporter with WGS84 projection. |
private |
GeoJSONExporter(ExtensionFileFilter fileFilter,
Projection projection) |
| Modifier and Type | Method and Description |
|---|---|
void |
exportData(java.io.File file,
Layer layer) |
acceptFile, activeOrEditLayerChanged, isCanceled, isEnabled, setCanceled, setEnabledprotected final Projection projection
public static final ExtensionFileFilter FILE_FILTER
public static final ExtensionFileFilter FILE_FILTER_PROJECTED
public GeoJSONExporter()
GeoJSONExporter with WGS84 projection.private GeoJSONExporter(ExtensionFileFilter fileFilter, Projection projection)
public void exportData(java.io.File file, Layer layer) throws java.io.IOException
exportData in class FileExporterjava.io.IOException