diff --git a/docs/_images/OG_and_db.svg b/docs/_images/OG_and_db.svg new file mode 100644 index 0000000..4d5adbe --- /dev/null +++ b/docs/_images/OG_and_db.svg @@ -0,0 +1,1647 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Local Remote + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Data managed & processed by H2GIS Data managed & processed by PostGreSQL/PostGIS Data managed & processed by H2GIS Use PostGreSQL/PostGIS SQL syntax Use H2GIS SQL syntax Use H2GIS SQL syntax Load, display, process and style data coming from a database (Default) + Connect a remote table to H2GIS db thanks to LINKED TABLE function + + + + + + diff --git a/docs/_images/OG_and_db.svg.png b/docs/_images/OG_and_db.svg.png new file mode 100644 index 0000000..5039119 Binary files /dev/null and b/docs/_images/OG_and_db.svg.png differ diff --git a/docs/users/quickstart.rst b/docs/users/quickstart.rst index 86ffb22..ffdc569 100644 --- a/docs/users/quickstart.rst +++ b/docs/users/quickstart.rst @@ -71,7 +71,11 @@ Database type: * H2GIS_SERVER: remote H2GIS db, * POSTGIS: remote PostGIS db. +The figure below summarizes this usage: +.. image:: ../_images/OG_and_db.svg.png + :alt: Choose a db core + :align: center Example with a PostGIS db ************************* @@ -87,8 +91,24 @@ Load data To load data, just make a right-click in the :ref:`geocatalog` and choose "Add" or "Import". -* Add: link to a file (vector, alphanumeric, ...), -* Import: import a file and convert it into a table. +* Add: Direct link to a data (vector, alphanumeric, ...), + * Pro: + * Immediate table creation, + * Does not take disk space, + * Can create spatial index. + * Cons: + * Read-only table, + * Cannot create alpha-numeric index, + * Currently only compatible with h2 database. +* Import: Copy the file content into a new database table, + * Pro: + * Create a native h2/PostGIS table, + * Read/Write table, + * Can create spatial index and alpha-numeric index. + * Cons: + * Take time to create the table depending on file size, + * Take more disk space. + For both options, you can choose: