public static final class VisualizeIsochroneRequest.ContourOptions extends Object
PROJECTION
: Spatial Reference System (i.e. EPSG Code).
Supported values:
The default value is PLATE_CARREE
.
WIDTH
: When generateImage
is set to true
, width of the
generated image. The default value is '512'.
HEIGHT
: When generateImage
is set to true
, height of
the generated image. If the default value is used, the height
is
set to the value resulting from multiplying the aspect ratio by the
width
. The default value is '-1'.
SEARCH_RADIUS
: When interpolating the graph solution to generate the
isochrone, neighborhood of influence of sample data (in percent of the
image/grid). The default value is '20'.
GRID_SIZE
: When interpolating the graph solution to generate the
isochrone, number of subdivisions along the x axis when building the
grid (the y is computed using the aspect ratio of the output image).
The default value is '100'.
COLOR_ISOLINES
: Color each isoline according to the colormap;
otherwise, use the foreground color.
Supported values:
The default value is TRUE
.
ADD_LABELS
: If set to true
, add labels to the isolines.
Supported values:
The default value is FALSE
.
LABELS_FONT_SIZE
: When add_labels
is set to true
, size
of the font (in pixels) to use for labels. The default value is '12'.
LABELS_FONT_FAMILY
: When add_labels
is set to true
,
font name to be used when adding labels. The default value is 'arial'.
LABELS_SEARCH_WINDOW
: When add_labels
is set to true
, a
search window is used to rate the local quality of each isoline. Smooth,
continuous, long stretches with relatively flat angles are favored. The
provided value is multiplied by the labels_font_size
to
calculate the final window size. The default value is '4'.
LABELS_INTRALEVEL_SEPARATION
: When add_labels
is set to true
, this value determines the distance (in multiples of the labels_font_size
) to use when separating labels of different values.
The default value is '4'.
LABELS_INTERLEVEL_SEPARATION
: When add_labels
is set to true
, this value determines the distance (in percent of the total
window size) to use when separating labels of the same value. The
default value is '20'.
LABELS_MAX_ANGLE
: When add_labels
is set to true
,
maximum angle (in degrees) from the vertical to use when adding labels.
The default value is '60'.
Map
.
A set of string constants for the parameter contourOptions
.Modifier and Type | Field and Description |
---|---|
static String |
_102100 |
static String |
_3857 |
static String |
_900913 |
static String |
ADD_LABELS
If set to
true , add labels to the isolines. |
static String |
COLOR_ISOLINES
Color each isoline according to the colormap; otherwise, use the
foreground color.
|
static String |
EPSG_102100 |
static String |
EPSG_3857 |
static String |
EPSG_4326 |
static String |
EPSG_900913 |
static String |
FALSE |
static String |
GRID_SIZE
When interpolating the graph solution to generate the isochrone,
number of subdivisions along the x axis when building the grid (the
y is computed using the aspect ratio of the output image).
|
static String |
HEIGHT
When
generateImage is set to true , height of the
generated image. |
static String |
LABELS_FONT_FAMILY
When
add_labels is set to true , font name to be used
when adding labels. |
static String |
LABELS_FONT_SIZE
When
add_labels is set to true , size of the font (in
pixels) to use for labels. |
static String |
LABELS_INTERLEVEL_SEPARATION
When
add_labels is set to true , this value
determines the distance (in percent of the total window size) to use
when separating labels of the same value. |
static String |
LABELS_INTRALEVEL_SEPARATION
When
add_labels is set to true , this value
determines the distance (in multiples of the labels_font_size ) to use when separating labels of different
values. |
static String |
LABELS_MAX_ANGLE
When
add_labels is set to true , maximum angle (in
degrees) from the vertical to use when adding labels. |
static String |
LABELS_SEARCH_WINDOW
When
add_labels is set to true , a search window is
used to rate the local quality of each isoline. |
static String |
PLATE_CARREE |
static String |
PROJECTION
Spatial Reference System (i.e.
|
static String |
SEARCH_RADIUS
When interpolating the graph solution to generate the isochrone,
neighborhood of influence of sample data (in percent of the
image/grid).
|
static String |
TRUE |
static String |
WEB_MERCATOR |
static String |
WIDTH
When
generateImage is set to true , width of the
generated image. |
public static final String PROJECTION
PLATE_CARREE
.public static final String _3857
public static final String _102100
public static final String _900913
public static final String EPSG_4326
public static final String PLATE_CARREE
public static final String EPSG_900913
public static final String EPSG_102100
public static final String EPSG_3857
public static final String WEB_MERCATOR
public static final String WIDTH
generateImage
is set to true
, width of the
generated image. The default value is '512'.public static final String HEIGHT
generateImage
is set to true
, height of the
generated image. If the default value is used, the height
is
set to the value resulting from multiplying the aspect ratio by the
width
. The default value is '-1'.public static final String SEARCH_RADIUS
public static final String GRID_SIZE
public static final String COLOR_ISOLINES
TRUE
.public static final String TRUE
public static final String FALSE
public static final String ADD_LABELS
true
, add labels to the isolines.
Supported values:
The default value is FALSE
.public static final String LABELS_FONT_SIZE
add_labels
is set to true
, size of the font (in
pixels) to use for labels. The default value is '12'.public static final String LABELS_FONT_FAMILY
add_labels
is set to true
, font name to be used
when adding labels. The default value is 'arial'.public static final String LABELS_SEARCH_WINDOW
add_labels
is set to true
, a search window is
used to rate the local quality of each isoline. Smooth, continuous,
long stretches with relatively flat angles are favored. The provided
value is multiplied by the labels_font_size
to calculate the
final window size. The default value is '4'.public static final String LABELS_INTRALEVEL_SEPARATION
add_labels
is set to true
, this value
determines the distance (in multiples of the labels_font_size
) to use when separating labels of different
values. The default value is '4'.public static final String LABELS_INTERLEVEL_SEPARATION
add_labels
is set to true
, this value
determines the distance (in percent of the total window size) to use
when separating labels of the same value. The default value is
'20'.public static final String LABELS_MAX_ANGLE
add_labels
is set to true
, maximum angle (in
degrees) from the vertical to use when adding labels. The default
value is '60'.Copyright © 2020. All rights reserved.