Presentation and options Dialog box of the application
Examples Syntax

Presentation and options

This application allows importing raster, vector and tabular formats into MiraMon formats through the GDAL/OGR libraries. It is expected that, in the future, the application will also be able to export the aforementioned formats; in the meantime, the GDAL libraries https://trac.osgeo.org/osgeo4w/#QuickStartforOSGeo4WUsers to execute instructions such as ogr2ogr can be installed.

The possible options are:

Since its origins, in 1994, MiraMon has been developing a significant part of its own code to be able to access other common formats in the field of Geographic Information Systems and Remote Sensing, mostly through their import, although in some cases the direct access to other formats has been allowed (such as JPEG for visualization and for geometric image rectification). On the other hand, the maturity of the codes of the excellent GDAL/OGR initiative, started in the 2000s, meant that in 2024 MiraMon focused not only on the publication of the code to make MiraMon formats accessible in the GDAL/OGR environment, but also the direct reading of many other formats in the main MiraMon module (MM64). This initiative also gradually benefited other applications (RasSelec, VecSelec, etc) and stimulated the creation of the GDALMM application, which allows the unification in a single environment of the individual or mass import (via BAT, PS1, etc) of files of the wide variety of formats that GDAL/OGR allows to read.

Despite the incorporation of GDAL/OGR codes into MiraMon in 2024, MiraMon has not abandoned its reading and/or import codes for certain formats so that users of the program can continue to access formats for which the GDAL/OGR libraries do not yet provide access (such as the CEOS formats of the European Space Agency for Landsat data, the VEC/DVC format, etc), or do not allow the recovery of certain features of interest (such as aspects of symbolization in DXF, aspects of OEM-ANSI-UTF8 character sets in tables and text files, optimal treatment of NoData values, etc).

Limitations:

Note: The total or partial loss of these capabilities is not a defect of this implementation (GDALMM) but a consequence of the design of the GDAL/OGR model itself and of the design of the other formats and data models, with limitations that make complete format interoperability unfeasible. However, the high capacity for interoperability that GDAL/OGR allows must be recognized and valued very positively.

Particularities of the transformations carried out by GDALMM:

A GDAL file can contain one or more sets of information described below:

It should be noted that:


Dialog box of the application


GDALMM dialog box.


Examples

Import all items from a file into a directory

GDALMM 1 d:\layers\territorial-topography.gpkg  d:\output_layers\TerritorialTopography /TIPUS_SORTIDA=D
GDALMM 1 d:\layers\territorial-topography.gpkg  d:\output_layers\TerritorialTopography

on:

After import, this directory will contain all the elements of the source file in MiraMon format.

Import a subset of items from a file into a directory

GDALMM 1 d:\layers\territorial-topography.gpkg  d:\output_layers\TerritorialTopography d:\layers\selection.lst

on:

After import, this directory will contain the subset of elements selected in the list selection.lst in MiraMon format. In this case the optional parameter /TIPUS_SORTIDA has not been indicated for the reasons explained in the previous example.

Import all elements of a file into a layer or multiple layers in MiraMon format by renaming the destination layers

GDALMM 1 d:\layers\MonumentalTrees.gpkg  d:\output_layers\CatalogatedMonumentalTrees.pnt /TIPUS_SORTIDA=F

on:

After the import, all the elements of the source file will be available in one or more files, according to the type of object of the source layer (point, arc or polygon) renamed and in the MiraMon format. For example, monumental trees that are point type elements will be imported as .pnt, monumental groves that are polygonal elements will be imported as .pol, etc.

Import a single element from a file containing multiple elements into a file in MiraMon format

GDALMM 1 d:\layers\territorial-topography.gpkg  d:\output_layers\TerritorialTopography\45_selected_layer.pol d:\layers\one_elem_selected.lst /TIPUS_SORTIDA=F

on:

After the import, the source file element selected by the list will be available in one or more files, according to the type of source layer object selected (point, arc or polygon), in MiraMon format. As previously explained, it is also possible to rename the files during the import.


Syntax

Syntax:

Options:

Parameters:

Modifiers: