public static enum OverpassDownloadReader.OverpassOutpoutFormat extends java.lang.Enum<OverpassDownloadReader.OverpassOutpoutFormat>
[out:<directive>] statement.| Enum Constant and Description |
|---|
CSV
CSV, see https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Output_Format_.28out.29
|
CUSTOM
Custom, see https://overpass-api.de/output_formats.html#custom
|
OSM_JSON
OSM JSON format (not GeoJson)
|
OSM_XML
Default output format: plain OSM XML
|
PBF
PBF, see https://josm.openstreetmap.de/ticket/14653
|
POPUP
Popup, see https://overpass-api.de/output_formats.html#popup
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
directive |
| Modifier and Type | Method and Description |
|---|---|
(package private) static OverpassDownloadReader.OverpassOutpoutFormat |
from(java.lang.String directive)
Returns the
OverpassOutpoutFormat matching the given directive. |
java.lang.String |
getDirective()
Returns the directive used in
[out:<directive>] statement. |
static OverpassDownloadReader.OverpassOutpoutFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OverpassDownloadReader.OverpassOutpoutFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OverpassDownloadReader.OverpassOutpoutFormat OSM_XML
public static final OverpassDownloadReader.OverpassOutpoutFormat OSM_JSON
public static final OverpassDownloadReader.OverpassOutpoutFormat CSV
public static final OverpassDownloadReader.OverpassOutpoutFormat CUSTOM
public static final OverpassDownloadReader.OverpassOutpoutFormat POPUP
public static final OverpassDownloadReader.OverpassOutpoutFormat PBF
private final java.lang.String directive
public static OverpassDownloadReader.OverpassOutpoutFormat[] values()
for (OverpassDownloadReader.OverpassOutpoutFormat c : OverpassDownloadReader.OverpassOutpoutFormat.values()) System.out.println(c);
public static OverpassDownloadReader.OverpassOutpoutFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getDirective()
[out:<directive>] statement.[out:<directive>] statementstatic OverpassDownloadReader.OverpassOutpoutFormat from(java.lang.String directive)
OverpassOutpoutFormat matching the given directive.directive - directive used in [out:<directive>] statementOverpassOutpoutFormat matching the given directivejava.lang.IllegalArgumentException - in case of invalid directive