Reference

spatialite_xml_load(1)

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

NAME

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

SYNOPSIS

FCspatialite_xml_loadF[0] [FC-hF[0]] [FC-xF[0] pathname] [FC-dF[0] pathname] [FC-cgF[0]] [FC-xlF[0]] [FC-nlF[0] num] [FC-plF[0] num] [FC-joF[0]] [FC-csF[0] num] [FC-mF[0]]

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

FC-hF[0], FC--helpF[0]

show help message

FC-xF[0] pathname, FC--xml-pathF[0] pathname

the XML file path

FC-dF[0] pathname, FC--db-pathF[0] pathname

the SpatiaLite DB path

FC-cgF[0], FC--collapsed-gmlF[0]

collapsed GML Geometries

FC-xlF[0], FC--xlink-hrefF[0]

special GML xlink:href handling

FC-nlF[0] num, FC--nl-levelF[0] num

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

FC-plF[0] num, FC--parent-levelsF[0] num

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

FC-joF[0], FC--journal-offF[0]

unsafe [but faster] mode

FC-csF[0] num, FC--cache-sizeF[0] num

DB cache size (how many pages)

FC-mF[0], FC--in-memoryF[0]

using IN-MEMORY database

History