[1]安装GeoServer1.7
- download http://geoserver.org/display/GEOS/Download
- install http://geoserver.org/display/GEOSDOC/1.1+Install+GeoServer
[2]安装Oracle spatial plugin for Geoserver
- download oracle plugin for geoserver from http://sourceforge.net/project/downloading.php?groupname=geoserver&filename=geoserver-1.6.5-oracle-plugin.zip&use_mirror=nchc
- config
- Copy gt2-oracle jar to [GEOSERVER_HOME]/server/geoserver/WEB-INF/lib/
- copy ojdbc14.jar to [GEOSERVER_HOME]/lib
- restart GeoServer
[3]导入空间数据
http://www.blogjava.net/zhyiwww/archive/2008/11/12/240106.html[4]创建空间索引
这一步是最关键也是最重要的步骤。 CREATE INDEX idx_beijng_polyline_geom ON beijng_polyline(geom) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
[5]创建命名空间

[6]创建Datastore for oracle

查看是否配置成功

[7]配置

FeatureType
选择刚才配置好的oracle数据库连接

编辑FeatureType内容

[8]查看地图

如果配置成功,就可以看到下面的地图

|----------------------------------------------------------------------------------------|
版权声明 版权所有 @zhyiwww
引用请注明来源 http://www.blogjava.net/zhyiwww
|----------------------------------------------------------------------------------------|
posted on 2008-11-14 14:55
zhyiwww 阅读(3584)
评论(1) 编辑 收藏 所属分类:
gis