-
JSONMM: Import and export between GeoJSON and MiraMon format
This application allows importing a file from GeoJSON format to MiraMon Map format (MMM) that contains layers in MiraMon structured vector format (PNT, ARC/NOD and POL). It also allows to export a MiraMon Map or a layer in vector format from MiraMon to GeoJSON.
Import from GeoJSON to MiraMon Map:
Imports a file from GeoJSON format creating a MiraMon Map that contains one or more layers (as required according to the GeoJSON file content) in MiraMon structured vector format (PNT, ARC/NOD, and POL) but it does not structure them topologically.
Export from a MiraMon Map or vector layer to GeoJSON:
Exports a MiraMon Map or a structured vector layer from MiraMon to GeoJSON format.
Syntax:
- JSONMM 1 FitxerGeoJSON FitxerMMM [/SIST_DEST] [/ASSUM_UTF-8]
- JSONMM 2 FitxerMMOri FitxerGeoJSON [/CRS84]
Options:
- 1:
Import from GeoJSON to a MiraMon Map
- 2:
Export from a MiraMon Map or a structured vector layer from MiraMon to GeoJSON format
Parameters:
- FitxerGeoJSON
(GeoJSON file -
Input parameter): It is the name of the GeoJSON file
- FitxerMMM
(MMM file -
Output parameter): It is the name, with .mmm extension, of the output file. The application will create a folder with the same name as the map where the vector layers composing the maps will be saved, following the nomenclature: Point, Line, and Polygon.
- FitxerMMOri
(Input vector file -
Input parameter): It is the name of the input file to export.
Modifiers:
/SIST_DEST=
(Output Horizontal Reference System)
Reference system identifier to transform the layers, if a specific reference system is desired. By default, if nothing is stated, it is 'lat/long-WGS84'. (Input parameter) /ASSUM_UTF-8
(ASSUM_UTF-8)
In order to leave what is in the original file writen literally (possibly UTF-8), instead of writting the attribute table in ANSI or OEM, the parameter /ASSUM_UTF-8 must be specified (Input parameter) /CRS84
(Generar la capa GeoJSON a long/lat.)
In strict GeoJSON, layers must be in 'lat/long-WGS84'. If this option is stated, a 'lat/long-WGS84' exportation is generated, if it is not stated a non-strict GeoJSON is generated in the reference system of the original layer. (Input parameter)