spatialite_xml_load(1)

parse any XML document, and create and populate a DB-file

Section 1 spatialite-bin bookworm source

Description

spatialite_xml_load

NAME

spatialite_xml_load - parse any XML document, and create and populate a DB-file

SYNOPSIS

spatialite_xml_load [-h] [-x pathname] [-d pathname] [-cg] [-xl] [-nl num] [-pl num] [-jo] [-cs num] [-m]

DESCRIPTION

spatialite_xml_load will parse any generic XML document of unlimited complexity, and will consequently create and populate a DB-file faithfully translating the XML tree into many relationally joined DBMS tables.

The whole translation is performed in such a way so to be sure that absolutely no information will be never lost or suppressed.

If two (or even more) XML files share exactly the same identical logical layout (i.e. they all support the same identical formal schema definition) this tool is capable to merge all them within the same DB-file.

There are no imposed size-limits: some huge GML files as big as many GBs have been successfully loaded by using this tool.

OPTIONS

-h, --help

show help message

-x pathname, --xml-path pathname

the XML file path

-d pathname, --db-path pathname

the SpatiaLite DB path

-cg, --collapsed-gml

collapsed GML Geometries

-xl, --xlink-href

special GML xlink:href handling

-nl num, --nl-level num

tree-level for table-names (default: 0)

-pl num, --parent-levels num

how many ancestors for table-names (default: \-1)

-jo, --journal-off

unsafe [but faster] mode

-cs num, --cache-size num

DB cache size (how many pages)

-m, --in-memory

using IN-MEMORY database