spatialite_xml_load(1)
π spatialite_xml_load β the bestie-approved manual page π
okay so you found spatialite_xml_load(1) and you're like "what even is this." bestie. sit down. hydrate. this one's a banger.
β¨ 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 π¦
so spatialite_xml_load will parse any generic XML document of unlimited complexity β like, it does not care how feral your XML tree is β and it will consequently create and populate a DB-file, faithfully translating the XML tree into many relationally joined DBMS tables. it's giving structural integrity. it's giving glow-up from tree to tables. π
the whole translation is performed in such a way so to be sure that absolutely no information will be never lost or suppressed. none. zero. nothing gets left on read. π
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. polyamorous XML, we love to see it. π«Ά
and there are no imposed size-limits: some huge GML files as big as many GBs have been successfully loaded by using this tool. many GBs!! and it ate. π₯
π OPTIONS π
-h,--helpβ show help message β¨ (the classic. the icon. ask and ye shall receive.)-x pathname,--xml-path pathnameβ the XML file path π (where your lil XML guy lives)-d pathname,--db-path pathnameβ the SpatiaLite DB path π (where you want the DB to live)-cg,--collapsed-gmlβ collapsed GML Geometries π§-xl,--xlink-hrefβ special GMLxlink:hrefhandling π-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 π (yes bestie, unsafe is right there in the description, it's not me being dramatic. it's faster tho. risk it or don't.)-cs num,--cache-size numβ DB cache size (how many pages) π-m,--in-memoryβ using IN-MEMORY database β
ngl the -jo flag is the one where you gotta check yourself before you wreck yourself. faster β safer. the manpage said unsafe. i'm just the messenger. π
and that's the whole page, periodt. no cap, every flag accounted for. π
π that's it, that's the manual π
this lil page dropped as part of spatialite_xml_load(1) on 9 February 2026 β remember the date, bestie, that's when this queen hit the books. πβ¨
π¦ where this page comes from
- ubuntu resolute: spatialite-bin 5.1.0a-2build2 Β· GPL-3.0-or-later
- ubuntu stonking: spatialite-bin 5.1.0a-2build2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms