Class ImagerySessionExporter
java.lang.Object
org.openstreetmap.josm.io.session.AbstractSessionExporter<ImageryLayer>
org.openstreetmap.josm.io.session.ImagerySessionExporter
- All Implemented Interfaces:
SessionLayerExporter
- Since:
- 5391
-
Field Summary
Fields inherited from class org.openstreetmap.josm.io.session.AbstractSessionExporter
export, layer -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newImagerySessionExporter.ImagerySessionExporter(TMSLayer layer) Constructs a newImagerySessionExporter.ImagerySessionExporter(WMSLayer layer) Constructs a newImagerySessionExporter.ImagerySessionExporter(WMTSLayer layer) Constructs a newImagerySessionExporter. -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddAttributes(Element element, Map<String, String> props, SessionWriter.ExportSupport support) export(SessionWriter.ExportSupport support) Save meta data to the .jos file.The GUI for exporting this layer.Methods inherited from class org.openstreetmap.josm.io.session.AbstractSessionExporter
getDependencies, requiresZip, shallExport
-
Constructor Details
-
ImagerySessionExporter
Constructs a newImagerySessionExporter.- Parameters:
layer- imagery layer to export
-
ImagerySessionExporter
Constructs a newImagerySessionExporter.- Parameters:
layer- TMS layer to export
-
ImagerySessionExporter
Constructs a newImagerySessionExporter.- Parameters:
layer- WMS layer to export
-
ImagerySessionExporter
Constructs a newImagerySessionExporter.- Parameters:
layer- WMTS layer to export
-
-
Method Details
-
getExportPanel
Description copied from interface:SessionLayerExporterThe GUI for exporting this layer.- Returns:
- the export panel
-
export
Description copied from interface:SessionLayerExporterSave meta data to the .jos file. Return a layer XML element. Usesupportto save files in the zip archive as needed.- Parameters:
support- support class providing export utilities- Returns:
- the resulting XML element
- Throws:
IOException- if any I/O error occurs
-
addAttributes
private static void addAttributes(Element element, Map<String, String> props, SessionWriter.ExportSupport support)
-