edit · history · print

Historique de Main.GeoEmbeddedDB

Cacher les modifications mineures - Affichage du code

22 janvier 2007 à 15h01 par 88.137.119.77 -
Lignes 4-149 modifiées:

If you are interested by this work, feel free to contact me here Contact

1. Why

GeoEmbedded is part of a more important concept than I wish to develop : eSDI.

Sorry section under construction. I put below a short abstract in spanish.

eSDI (embedded Spatial Data Infrastructure) es un nuevo concepto y solución para construir y administrar una IDE. Se basa en una observación simple. A veces, especialmente en las pequeñas administraciones locales, se necesita de disponer de un dispositivo mas flexible y mas portátil. Esta solución ya existe en partido con la Geodatabase del software ArcGIS. Sin 6embargo su utilización se limita principalmente al almacenamiento de datos o entonces deben comprar extensiones especializadas como ArcSDE. Si el mundo del GIS libre dispone de base de datos espaciales robustos y potentes (PostgreSQL, MySQL) en cambio en muchas situaciones estas herramientas están demasiado completas con relación a las necesidades y a las utilizaciones que se hacen. Por eso, presentaremos un nuevo tipo de base de datos espaciales quien esta basada sobre la base de datos libre en Java H2-Database. Acoplada con el SIG gvSIG, H2-Espacial permite disponer de un primer nivel de IDE totalmente móvil : eSDI.

2.Method

Idea is to bind the JTS library with H2 database. See http://jump-project.org/project.php?PID=JTS&SID=OVER

The database spatial architecture was definied by David Blasby and Chris Holmes.

Technical architecture (Java for spatial DB)

                            	JAVA Spatial Algorthims (JTS)
                                               |
                                               |
                                      GeoSpatialFunctions (java)
                                               |
                                               |
                   SQLCodegenerator : auto-Generated spatial DB Bindings and SQL CREATE FUNCTION Bindings (java)
                                               |
                                               |
                                            JAVA DB

3.Spatial storage

Spatial data are stored in WKT format with SRID.

Examples :

SRID=27582;POINT(12 12)

SRID=-1;LINESTRING (62 69, 189 162, 200 235)

SRID=-1;POLYGON ((274 214, 274 295, 326 295, 326 214, 274 214))

I chose format WKT because the storage into binary induced incoherent geometries during the reading with the JTS WKB parser.

4.Database schema

Database schema is basic. A table corresponds to a geographical layer. Geometry is stored in clob data types.

In the futur work, I'd like to implement OGC simple feature SQL specifications.

Database schema will be definied by :

- a GEOMETRY_COLUMNS table which describes the available feature tables and their Geometry properties, - a SPATIAL_REF_SYS table which describes the coordinate system and transformations for Geometry.

See : Figure 1 - Schema for features tables using predefinied data types in "Implementation Specification for Geographic information - Simple feature access - Part 2: SQL option"

5.Technical choices

Database constraints

- Easy to use - Easy to move - Easy to customize - Fast - Written in Java - Good documentation - Clear roadmap - Dynamic community - Licence GPL or compatible

Databases tested

Derby : http://db.apache.org/derby/ HSQLDB : http://www.hsqldb.org/ McKoi : http://mckoi.com/database/ H2 database : http://www.h2database.com/html/frame.html

Final choice : H2 Database

In some futur days I will upload my tests results.

6.Installation

Run h2spatial.bat

Load geospatialFunctions.sql and execute it.

7.Using

Create a table and populate it with values

(:source lang=text:) CREATE TABLE mySpatialTable(gid INT primary key, the_geom CLOB);

INSERT INTO mySpatialTable VALUES(1, GeomFromText('POINT(12,1)','1')

(:sourcend:)

Where GeomFromText(arg0,arg1)

arg0 = geometry in WKT format

arg1 = EPSG code

Tests sql spatial

8.Work in progress

Improve spatial queries using wkb storage and spatial indexes.

Proposed a simple geo client to execute and display queries.

9.Licence

Don't forget this tool is under CeCILL see http://www.cecill.info/

10.Download

References

http://www.opengeospatial.org/standards/sfs http://docs.codehaus.org/display/GEOS/SpatialDBBox http://www.h2database.com/html/frame.html?main.html&main http://jump-project.org/project.php?PID=JTS&SID=OVER

en:

The GeoEmbeddedDB named H2 Spatial is now here :http://geosysin.iict.ch/irstv-trac/wiki/H2spatial/Why

13 novembre 2006 à 22h38 par 82.67.117.118 -
Ligne 119 ajoutée:
13 novembre 2006 à 22h38 par 82.67.117.118 -
Ligne 109 modifiée:

(:source lang=text)

en:

(:source lang=text:)

Ligne 113 ajoutée:
13 novembre 2006 à 22h37 par 82.67.117.118 -
Ligne 109 ajoutée:

(:source lang=text)

Lignes 113-114 modifiées:
en:

(:sourcend:)

13 novembre 2006 à 22h19 par 82.67.117.118 -
Lignes 4-6 modifiées:
If you are interested by this work, feel free to contact me.

en:

If you are interested by this work, feel free to contact me here Contact

13 novembre 2006 à 22h17 par 82.67.117.118 -
Lignes 4-6 modifiées:

|If you are interested by this work, feel free to contact me.|

en:
If you are interested by this work, feel free to contact me.

13 novembre 2006 à 22h17 par 82.67.117.118 -
Lignes 4-6 modifiées:
en:

|If you are interested by this work, feel free to contact me.|

13 novembre 2006 à 22h15 par 82.67.117.118 -
Ligne 12 modifiée:

eSDI (embedded Spatial Data Infrastructure) es un nuevo concepto y solución para construir y administrar una IDE. Se basa en una observación simple. A veces, especialmente en las pequeñas administraciones locales, se necesita de disponer de un dispositivo mas flexible y mas portátil. Esta solución ya existe en partido con la Geodatabase del software ArcGIS. Sin embargo su utilización se limita principalmente al almacenamiento de datos o entonces deben comprar extensiones especializadas como ArcSDE.

en:

eSDI (embedded Spatial Data Infrastructure) es un nuevo concepto y solución para construir y administrar una IDE. Se basa en una observación simple. A veces, especialmente en las pequeñas administraciones locales, se necesita de disponer de un dispositivo mas flexible y mas portátil. Esta solución ya existe en partido con la Geodatabase del software ArcGIS. Sin 6embargo su utilización se limita principalmente al almacenamiento de datos o entonces deben comprar extensiones especializadas como ArcSDE.

Lignes 66-68 modifiées:

5.Installation

en:

5.Technical choices

Database constraints

- Easy to use - Easy to move - Easy to customize - Fast - Written in Java - Good documentation - Clear roadmap - Dynamic community - Licence GPL or compatible

Databases tested

Derby : http://db.apache.org/derby/ HSQLDB : http://www.hsqldb.org/ McKoi : http://mckoi.com/database/ H2 database : http://www.h2database.com/html/frame.html

Final choice : H2 Database

In some futur days I will upload my tests results.

6.Installation

Ligne 102 modifiée:

6.Using

en:

7.Using

Lignes 118-119 modifiées:

7.Work in progress

en:

8.Work in progress

Lignes 125-126 modifiées:

8.Licence

en:

9.Licence

Lignes 130-136 modifiées:

9.Download

H2 Database

References:

en:

10.Download

References

13 novembre 2006 à 22h00 par 82.67.117.118 -
Lignes 4-9 modifiées:

1. Why

2.Method

en:

1. Why

GeoEmbedded is part of a more important concept than I wish to develop : eSDI.

Sorry section under construction. I put below a short abstract in spanish.

eSDI (embedded Spatial Data Infrastructure) es un nuevo concepto y solución para construir y administrar una IDE. Se basa en una observación simple. A veces, especialmente en las pequeñas administraciones locales, se necesita de disponer de un dispositivo mas flexible y mas portátil. Esta solución ya existe en partido con la Geodatabase del software ArcGIS. Sin embargo su utilización se limita principalmente al almacenamiento de datos o entonces deben comprar extensiones especializadas como ArcSDE. Si el mundo del GIS libre dispone de base de datos espaciales robustos y potentes (PostgreSQL, MySQL) en cambio en muchas situaciones estas herramientas están demasiado completas con relación a las necesidades y a las utilizaciones que se hacen. Por eso, presentaremos un nuevo tipo de base de datos espaciales quien esta basada sobre la base de datos libre en Java H2-Database. Acoplada con el SIG gvSIG, H2-Espacial permite disponer de un primer nivel de IDE totalmente móvil : eSDI.

2.Method

Lignes 39-40 modifiées:

3.Spatial storage

en:

3.Spatial storage

Lignes 54-55 modifiées:

4.Database schema

en:

4.Database schema

Lignes 67-68 modifiées:

5.Installation

en:

5.Installation

Ligne 74 modifiée:

6.Using

en:

6.Using

Lignes 90-91 modifiées:

7.Work in progress

en:

7.Work in progress

Lignes 97-98 modifiées:

8.Licence

en:

8.Licence

Lignes 102-103 modifiées:
en:

9.Download

13 novembre 2006 à 21h50 par 82.67.117.118 -
Lignes 3-17 modifiées:

Projet : Base de données embarquées pour le developpement de petites SDI. L'objectif est de remplacer la geodatabase d'Esri.

Architecture : Schema à definir..

Fonctions :

Technologie :

Tests :

en:

1. Why

2.Method

Idea is to bind the JTS library with H2 database. See http://jump-project.org/project.php?PID=JTS&SID=OVER

The database spatial architecture was definied by David Blasby and Chris Holmes.

Technical architecture (Java for spatial DB)

                            	JAVA Spatial Algorthims (JTS)
                                               |
                                               |
                                      GeoSpatialFunctions (java)
                                               |
                                               |
                   SQLCodegenerator : auto-Generated spatial DB Bindings and SQL CREATE FUNCTION Bindings (java)
                                               |
                                               |
                                            JAVA DB

3.Spatial storage

Spatial data are stored in WKT format with SRID.

Examples :

SRID=27582;POINT(12 12)

SRID=-1;LINESTRING (62 69, 189 162, 200 235)

SRID=-1;POLYGON ((274 214, 274 295, 326 295, 326 214, 274 214))

I chose format WKT because the storage into binary induced incoherent geometries during the reading with the JTS WKB parser.

4.Database schema

Database schema is basic. A table corresponds to a geographical layer. Geometry is stored in clob data types.

In the futur work, I'd like to implement OGC simple feature SQL specifications.

Database schema will be definied by :

- a GEOMETRY_COLUMNS table which describes the available feature tables and their Geometry properties, - a SPATIAL_REF_SYS table which describes the coordinate system and transformations for Geometry.

See : Figure 1 - Schema for features tables using predefinied data types in "Implementation Specification for Geographic information - Simple feature access - Part 2: SQL option"

5.Installation

Run h2spatial.bat

Load geospatialFunctions.sql and execute it.

6.Using

Create a table and populate it with values

CREATE TABLE mySpatialTable(gid INT primary key, the_geom CLOB);

INSERT INTO mySpatialTable VALUES(1, GeomFromText('POINT(12,1)','1')

Where GeomFromText(arg0,arg1)

arg0 = geometry in WKT format arg1 = EPSG code

Tests sql spatial

7.Work in progress

Improve spatial queries using wkb storage and spatial indexes.

Proposed a simple geo client to execute and display queries.

8.Licence

Don't forget this tool is under CeCILL see http://www.cecill.info/

Lignes 96-97 modifiées:

Références : http://docs.codehaus.org/display/GEOS/SpatialDBBox

en:

References:

http://www.opengeospatial.org/standards/sfs http://docs.codehaus.org/display/GEOS/SpatialDBBox http://www.h2database.com/html/frame.html?main.html&main http://jump-project.org/project.php?PID=JTS&SID=OVER

09 octobre 2006 à 19h49 par 82.67.117.118 -
Lignes 3-9 modifiées:

Projet : Base de données embarquées pour le developpement de petites SDI.

Architecture : Schema.

en:

Projet : Base de données embarquées pour le developpement de petites SDI. L'objectif est de remplacer la geodatabase d'Esri.

Architecture : Schema à definir..

Fonctions :

21 septembre 2006 à 12h16 par 82.67.117.118 -
Lignes 13-17 modifiées:
en:

Tests :

H2 Database

21 septembre 2006 à 11h54 par 82.67.117.118 -
Ligne 0 supprimée:
Lignes 3-8 modifiées:

Projet :

Architecture :

en:

Projet : Base de données embarquées pour le developpement de petites SDI.

Architecture : Schema.

Lignes 12-13 ajoutées:
21 septembre 2006 à 11h53 par 82.67.117.118 -
Lignes 2-4 modifiées:

en:

GeoEmbeddedDB

Projet :

Architecture :

Technologie :

21 septembre 2006 à 11h52 par 82.67.117.118 -
Lignes 1-6 ajoutées:

Références : http://docs.codehaus.org/display/GEOS/SpatialDBBox

edit · history · print
Page last modified on 22 janvier 2007 à 15h01