Вы находитесь на странице: 1из 8

GeoKettle

www.geokettle.org
: GPL v2
GeoKettle - (business intelligence)
ETL (Extract, Transform, Load) , ,
.
.
,
. GeoKettle ETL Kettle [1],
(. )
, ( RegExp), ,
JavaScript SQL, . .
, . ,
, -,
. .
, . ,
(),
, , . GeoKettle ,
.
- ( Spatial
OLAP), .
, :

: PostGIS, Oracle Spatial, MySQL, Microsoft SQL Server . .;


ESRI Shapefile, GML, KML, GDAL/OGR ( );
OGC: SOS, CSW.

, ;
, . .;
, ;
.

BeETLe [2], GeoKettle


SEXTANTE [3] .
FOSS4G 2010, .
ArcGIS ModelBuilder.


Windows, Linux, Mac OS X .
geokettle-XXX-installer.jar [4] ( 160 ). Java SDK.
Linux (chmod -x).
, , ,
geokettle.bat (geokettle.sh).


PostGIS [5]:
ESRI Shapefile, windows-1251, Albers-Siberia
WGS84. epsg:4326 (WGS84).
"No repository". (
.)

. 1.
(. 1) .
Transformation () Job (). ,
, , .
Transformation Job.
Transformation. (File|New|Transformation).
:

Input|Shapefile File Input


Transform|SRS Transformation
Output|Table output

, Input "" : ESRI Shapefile


Reader OGR File Input. ,
, .
. (
) .

. 2. .
. Shapefile File Input,
.

. 3. ESRI Shapefile
Preview ,

.

. 4.

SRS Transformation ,
(the_geom),
"Auto-detect spatial reference system from source"


(WGS 84).

Table output . Connection


New... PostGIS. PostgreSQL
(. 6). Test ,
"[Test] is OK". , Table output.
(Target table) "regions".
. (File|Save),
Transformation|Run, Launch.
Table output ( , . 6).

. 5.

. 6.
, "regions"
. Table output SQL.
sql- ( Execute)
. , (id).

. 7. SQL
,
(ALTER TABLE... ADD COLUMN) .

, ,
,
"geometry_columns".


MapInfo GeoSample [6]
ESRI Shapefile. "*.tab"
()
().
,
.
1.
Transformation (. 8).

. 8.
Get File Names (. 9) .
, GeoKettle:
${Internal.Transformation.Filename.Directory}/tab
Ctrl+.

. 9. Get File Names.

Get File Names ,


, , "" " " (read only) .
(filename)
"tab" "shp".
,
filenameTAB filenameSHP.
2.
MapInfo ESRI Shapefile (. 10).

, .

. 10.
. 11.
"File name" OGR file input OGR file output
. SRS Transformation
.
3.
filenameTAB filenameSHP ,
. Job|Set Variables. ,

Tranformation.
.
, , Tranformation (. 12),
" ".

. 12.
. 2.0 "Filename is defined in a field",
2 3 . .
, Shapefile File Input.
4.
. Job (. 13),
" " (filelist) "every file job",

"Execute for every input row". , "every file job"


, .

. 13.
(every file job) Job (. 14) 2 3
.

. 14. "every file job"


, . 13 (
"root.kjb" )..

GeoKettle .
.

.
.
(
JavaScript JTS).
"samples\transformations\geokettle\".
:

Talend Open Studio [7], GPL v2.


FME [8] (Safe Software), .
ArcGIS ModelBuilder [9], .
Wikipedia // http://en.wikipedia.org/wiki/Spatial_ETL#Spatial_ETL_tools

[1] Kettle - Pentaho Data Integration // http://kettle.pentaho.com/


[2] BeETLe Project // http://beetle-project.blogspot.com/
[3] Sextante project // http://www.sextantegis.com/
[4] http://sourceforge.net/projects/geokettle/files/geokettle-2.x/2.0-RC1/
[5] .., // http://gis-lab.info/qa/rusbounds-rosreestr-gen.html
[6] Geosample: // http://gis-lab.info/qa/geosample.html#get
[7] Talend Open Studio // http://www.talendforge.org/
Spatial module // http://www.talendforge.org/wiki/doku.php?id=sdi:MainPage
[8] FME Spatial Data Transformation Platform // http://safe.com/
[9] .., - Python ArcGIS //
http://gis-lab.info/qa/mb-python.html

Mavka, 29.07.2011