{% if not auth_info.is_logged_in and auth_type == AuthenticationType.SECRET %}
Secret:
{% elif not auth_info.is_logged_in and auth_type == AuthenticationType.GITHUB %} Login with GitHub {% elif auth_type == AuthenticationType.SECRET %}

Authenticated with a secret

{% elif auth_type == AuthenticationType.TEST %}

Logged as: {{ auth_info.user.display_name }}

{% elif auth_type == AuthenticationType.GITHUB %}

Logged as: {{ auth_info.user.display_name }} Logout

{% endif %}

Tile generation


{% if structure_errors %} {% endif %} {% if deprecation_warnings %} {% endif %} {% if read_only %} {% endif %} {% if has_access %} {% if job_status is none %}

Status

{{ '
'.join(status) | safe }}

{% endif %} {% if not read_only %}

Launch generation

{% if jobs_status is not none %}
{% endif %}
{% if secret is not none %} {% endif %}
{% endif %} {% endif %} {% if jobs_status is none %} {% endif %}

Test

See the result in the test page.

{% if jobs_status %}

Jobs

{% for job, status, errors, eta in jobs_status %}

{{ job.command }}

{% if eta %}

Estimated remaining time: {{ eta }}

{% endif %} {% if job.message %}
{{ job.message.strip() | safe | escape }}
{% endif %} {% if not read_only and job.status == 'started' %}

{% elif not read_only and job.status == 'error' and errors %}

{% endif %} {% if status %}

Status

{% for s in status %} Zoom level {{ s['zoom'] }}: {% set comma = false %} {% if 'generate' in s %} {% set comma = true %} {{ s['generate'] }} meta tiles to generate {% endif %} {% if 'pending' in s %} {% if comma %} , {% endif %} {% set comma = true %} {{ s['pending'] }} meta tiles being generated {% endif %} {% if 'error' in s %} {% if comma %} , {% endif %} {{ s['error'] }} meta tiles in error {% endif %}
{% endfor %}

{% endif %} {% if errors %}

Errors occur during the generation (max 5)

{% for e in errors %}
{{ e | safe | escape }}
{% endfor %} {% endif %}
{% endfor %}
{% endif %} {% if footer is not none %}
{% endif %} {% if has_access %}

Command help

Examples

generate-tiles: Generate all the layers.

generate-tiles --layer=LAYER: Generate the LAYER map.

generate-tiles --layer=LAYER --zoom=2-5: Generate the LAYER map for the zoom levels 2 to 5.

generate-tiles --layer=LAYER --bbox MINX MINY MAXX MAXY: Generate the LAYER map for the specified bounding box.

generate-controller --generate-legend-images: Generate the legend images.

generate-tiles --layer=LAYER --get-hash=15/0/0: Get the hash for the LAYER.

generate-tiles --layer=LAYER --get-bbox=0/0/0: Get the bbox of the tile.

generate-tiles --layer=LAYER --tile=Z/X/Y: Generate one specific tile of the LAYER.

generate-tiles --layer=LAYER --tile=Z/X/Y:+N/+N: Generate one specific metatile of the LAYER.

generate-tiles

Generate the tiles.

Arguments:

generate-controller --generate-legend-images

Generate the legend images.

{% endif %}