Presentation and options Dialog box of the application
Syntax

Presentation and options

This application allows preparing raster and vector layers for visualization on the MiraMon map server. To achieve this, it generates multiple rectangular images, known as tiles, that collectively cover the layer's geographic extent. These tiles enable the layer to be represented at various zoom levels, ensuring faster and more efficient visualization within a web browser.

The application supports thematic or continuous raster layers, color images derived from three RGB (red, green, and blue) bands, and vector layers consisting of points, lines, or polygons. It also enables the preparation of vector layers so that their individual features can be identified through location-based queries within the MiraMon browser.

The available options are:

The program automatically selects the most appropriate output format:

The application only supports REL4 files.

Preparation considerations

This section outlines general criteria to assist in deciding how to prepare layers. Specific options and modifiers are described in the Syntax section.

Preparing zoom levels

To improve display speed, it is advisable to prepare the zoom levels expected to be used most frequently; pre-generated tiles can be displayed more quickly than images calculated at the time of the query.

Typically, pixel sizes following the sequence 1, 2, and 5 are used.

For each zoom level, a directory is generated containing the corresponding tiles (a set of JPEG, IMG, or GIF files), along with an LST file that lists their names.

The format of the output images depends on the source data and, where applicable, the format specified by the user. Details are provided in the Preparation Considerations section and in the Syntax parameters.

Output formats

By default, the CreaMMS application determines the format of the generated images based on the layer type.

The choice is important because JPEG uses lossy compression, whereas thematic layers require the preservation of the represented values.

Generating tiles according to the WMTS standard

Option 2 allows for the preparation of tiles for a cartographic layer so that they can be used in a WMTS (Web Map Tile Service)-a map service standard that enables the visualization of cartographic information through images (tiles) pre-generated for various zoom levels. CreaMMS allows for the generation of these tiles and their organization for use in a WMTS service.

To ensure this organization is correct, the program must account for three aspects:

To facilitate this preparation, the /WMTS modifier can be used, combined with /FORMAT=PNG to generate images in PNG format. Alternatively, the modifiers /IMATGE_BUIDA=2, /TESSELLA_SENCERA, and /INDEXA_J_I can be configured individually. The /WMTS_I_J modifier enables an alternative organization of row and column indices, suitable for what is known as "simple WMTS."

Generation and partial revision of tiles

It is not always necessary to regenerate all the tiles for a layer. Option 2 allows for the preparation or regeneration of only a portion of the geographic area, or the selection of tiles based on their indices. This feature is useful, for example, when only a specific area of ??the original data has been modified.

Selection can be performed using a geographic bounding box, a range of indices, or a rectangle defined by rows and columns. Since the layer is divided into tiles, the area actually generated may extend slightly beyond the requested limits. If a geographic bounding box is defined, it can be reused across different zoom levels.

The /REVISIO modifier allows for the review of existing tiles, the regeneration of any missing tiles, and the reconstruction of output lists. Details regarding the modifiers used to limit the scope and manage indices can be found in the Syntax section.


Dialog box of the application

CreaMMS dialog box


Syntax

Syntax:

Options:

Parameters:

Modifiers: