GeoServer

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第57行: 第57行:
 
  mvn run -DGEOSERVER_DATA_DIR=/Users/cholmes/gs-dir
 
  mvn run -DGEOSERVER_DATA_DIR=/Users/cholmes/gs-dir
 
more detail: http://docs.codehaus.org/display/GEOSDOC/2+Maven+Quickstart
 
more detail: http://docs.codehaus.org/display/GEOSDOC/2+Maven+Quickstart
 +
==Database==
 +
===MySQL===
 +
from http://sourceforge.net/projects/opengeodb/
 +
 +
===PostGIS===
 +
PostGIS View as a FeatureType
 +
 +
Create the view, which must contain the oid field from the source table:
 +
CREATE OR REPLACE  VIEW test AS SELECT oid, key, country, geom FROM countries;
 +
insert a record into the geometry_columns table:
 +
INSERT INTO "geometry_columns" VALUES ('','public','test','geom',2,4326,'MULTIPOLYGON');
 +
more detail: http://docs.codehaus.org/display/GEOSDOC/PostGIS+DataStore
 +
==Data Loading==
 +
Load NASA Blue Marble Data
 +
http://www.geotorrent.org/torrents/61.torrent
 +
 +
===Oracel===
 +
more detail: http://docs.codehaus.org/display/GEOSDOC/PostGIS+DataStore
 +
 
==Links==
 
==Links==
 
*http://geoserver.org/
 
*http://geoserver.org/

2008年1月7日 (一) 15:01的版本

GeoServer项目基于J2EE平台,实现OpenGIS联合会的WFS(Web Feature Server)和WCS(Web Coverage Server)标准,并提供集成的WMS(Web Map Server)。

  • WFS(Web Feature Server) 网络: Communicates real geographic data (roads, rivers etc.) to and from the user in the form og GML(Geography Markup Language).
  • WCS(Web Coverage Server) 网络覆盖服务:
  • WMS(Web Map Server) 网络地图服务: Displays geographic data as raster(栅格) images (maps).如 Google Map

目录

Features

  • Fully compliant to WMS, WFS (1.0 and 1.1) and WCS specifications, as tested by the CITE conformance tests.
  • Easy to use web-based configuration tool - no need to touch long, complicated config files.
  • Mature support for PostGIS, Shapefile, ArcSDE, DB2 and Oracle.
  • VPF, MySQL, MapInfo, and Cascading WFS are also supported formats.
  • On the fly reprojection, with an embedded EPSG database supporting hundreds of projections by default.
  • Web Map output as jpeg, gif, png, SVG, GeoJSON GeoRSS.
  • Excellent Google Earth Support
  • Raw vector data available as GML and zipped Shapefiles through the WFS.
  • WCS and WMS Raster support, including support for
  • Anti-aliased images.
  • Integrated OpenLayers as a default ajax viewer.
  • Standards compliant 'by default' - no need to figure out complex configuration options just to serve basic data.
  • Streaming data readers: no memory bound limit to the amount of data that can be returned.
  • Full SLD support, both user defined (POST and GET), as well as used in styling configuration.
  • Full Filter support on all data formats in WFS (but optimized for backend format where possible).
  • Support for atomic database transactions through the standard WFS-T protocol, available on all data formats.
  • Long Transactions through a full implementation of the Locking portion of the WFS specification.
  • Innovative Validation Engine that checks inserted features against a configured set of topological and attributed based rules, to maintain backend integrity.
  • Java (J2EE) servlet-based, can run in any servlet container.
  • Designed for extension, source code that's a pleasure to read.
  • Easy to write new data formats with GeoTools DataStore interfaces and helper classes, making GeoServer the standards based interface to legacy data.
  • No need to recompile to support more data formats, GeoTools DataStores instantly plug-in to GeoServer, even showing up as an option in the configuration gui.
  • True open source development style, built by a strong community, that you can join and become a part of, tailoring GeoServer for your needs.
  • Documentation that details everything in easy to understand language.
  • Active email lists for quick support.
  • Commercial grade installation, support, customization and improvements available from an eco-system of companies, non-profits, and consulting individuals.

from http://docs.codehaus.org/display/GEOS/Features

Install

获得 geoserver-1.6.0-RC2.exe, 包含 Jetty Web Server
安装后启动服务
服务端: http://localhost:8080/geoserver
用户名是 'admin',密码是'geoserver'
客户端: http://localhost:8080/geoserver/mapPreview.do

Maven

svn checkout https://svn.codehaus.org/geoserver/trunk/geoserver geoserver
cd geoserver
mvn compile
mvn install
cd ..
mkdir configuration
cd configuration
svn checkout https://svn.codehaus.org/geoserver/trunk/configuration/release
mvn install -DconfigId=release -DconfigDirectory=../../configuration
mvn jetty:run
http://localhost:8080/geoserver/welcome.do
or
mvn -o jetty:run // Offline Mode
or 
mvn install // Alternate data_dir configuration
mvn run -DGEOSERVER_DATA_DIR=/Users/cholmes/gs-dir

more detail: http://docs.codehaus.org/display/GEOSDOC/2+Maven+Quickstart

Database

MySQL

from http://sourceforge.net/projects/opengeodb/

PostGIS

PostGIS View as a FeatureType

Create the view, which must contain the oid field from the source table:

CREATE OR REPLACE  VIEW test AS SELECT oid, key, country, geom FROM countries;

insert a record into the geometry_columns table:

INSERT INTO "geometry_columns" VALUES (,'public','test','geom',2,4326,'MULTIPOLYGON');

more detail: http://docs.codehaus.org/display/GEOSDOC/PostGIS+DataStore

Data Loading

Load NASA Blue Marble Data

http://www.geotorrent.org/torrents/61.torrent

Oracel

more detail: http://docs.codehaus.org/display/GEOSDOC/PostGIS+DataStore

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱