Skip to content

An attempt to develop utilities for handling large GML-files

License

Notifications You must be signed in to change notification settings

sweco-sepesd/gmlz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Peter SegerstedtPeter Segerstedt
Peter Segerstedt
and
Peter Segerstedt
May 3, 2018
116a745 · May 3, 2018

History

42 Commits
Sep 1, 2017
Apr 1, 2017
Apr 8, 2017
Apr 9, 2017
Nov 5, 2016
May 3, 2018

Repository files navigation

gmlz

An attempt to develop utilities for handling large GML-files

gmlz format

The gmlz format is a carefully composed zip-file containing a gml file and an index that can be used when reading the content.

The index is stored as a SQLite database with tables described below.

That's it - about the storage format.

index (SQLite database)

create table xmlns(
      signature integer primary key
    , uri varchar
);
create table qname(
      signature integer primary key
    , namespace integer
    , localname varchar
);
create table xml_path(
      signature integer primary key
    , parent_signature integer
    , qname integer
);
create table xml_fragment(
      position integer primary key
    , size integer
    , gml_id varchar
    , xml_path integer
);
create table compressed_block(
      position integer primary key
    , size integer
    , compressed_position integer
    , compressed_size integer
);
Column Data type Description
gml_id
path asdf

utilities

gmlzip

gmlunzip

About

An attempt to develop utilities for handling large GML-files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published