Spatial Oracle is an integrated set of functions and procedures that allows storing, accessing and analyzing spatial data in an Oracle database.

SDOMM imports a layer stored in a Spatial Oracle database to the MiraMon structured format (PNT, ARC/NOD, POL); during the transformation, it is also possible to generate explicit topological structure.

An SDO server is accessed from a DSN (Data Source Name) file. This DSN file can be created through the ODBC data source administrator (file DSN option), choosing the Oracle driver installed on the computer. Once created, if it is desired to avoid a constant password request, a "PWD=" key with the password can be added.

The program allows the user to import layers of points, arcs/nodes or polygons from the SDO server. If there is information about the Z of each vertex, it is also incorporated. The attributes of the objects in the layer are converted into attributes of the objects stored in the main table of MiraMon files. SDO can contain multipart or multiline objects when they share the same attributes. When importing to MiraMon, several point or line objects are generated, respectively, assigning the same thematic attributes to the main table.

For a layer to appear in the available list of layers it is necessary to have the "column of geometric data" defined (field COLUMN_NAME in the table USER_SDO_GEOM_METADATA or ALL_SDO_GEOM_METADATA of the layer) and the extent (extracted from SDO_DIMNAME, SDO_LB, SDO_UB of DIM_INFO of the USER_SDO_GEOM_METADATA or ALL_SDO_GEOM_METADATA table). If the table has no primary key, the ROWID will be used as such. If it does not have GType, it will try to deduce it from the first object of the layer. However, it is advisable to have it defined; Contact the server administrator if necessary. If the layer does not have entities, it will also appear on the list. The reference system is also not necessary for the layer to appear on the list, although it is recommended to have it defined.

If an error appears in the import, a message will be shown indicating explicitly which is the error.

To favor the speed in the extraction of data from the SDO server, the import of the points, arcs/nodes or polygons files can be done in different ways:


Sintaxis:

Options:

Parameters:

Modificadores:


How to know what type of algorithm to use in option 1? (optional modifier /ALGORISME=)

More information is provided in general syntax.