欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
GeoServer
第4行: | 第4行: | ||
*WCS(Web Coverage Server) 网络覆盖服务: | *WCS(Web Coverage Server) 网络覆盖服务: | ||
*WMS(Web Map Server) 网络地图服务: Displays geographic data as raster(栅格) images (maps).如 [[Google Map]] | *WMS(Web Map Server) 网络地图服务: Displays geographic data as raster(栅格) images (maps).如 [[Google Map]] | ||
− | + | [[Image:geoserver-architecture.png|right|thubm|GeoServer Architecture]] | |
==Features== | ==Features== | ||
* Fully compliant to WMS, WFS (1.0 and 1.1) and WCS specifications, as tested by the CITE conformance tests. | * Fully compliant to WMS, WFS (1.0 and 1.1) and WCS specifications, as tested by the CITE conformance tests. |
2008年1月24日 (四) 03:36的版本
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
MySQL DataStore Extensions
如: http://prdownloads.sourceforge.net/geoserver/geoserver-1.4.1-mysql-plugin.zip?download
- 1. Copy included gt2-mysql and mysql-connector-java jars included to your GeoServer library directory. In a binary install this is at [GEOSERVER_HOME]/server/geoserver/WEB-INF/lib/ In a war install this is [container]/webapps/geoserver/WEB-INF/lib/
- 2. Restart GeoServer.
MySQL should now show up as an option in the web admin tool at Config -> Data -> Stores -> New. Fill out the appropriate params.
http://docs.codehaus.org/display/GEOSDOC/MySQL+DataStore
from http://sourceforge.net/projects/opengeodb/
CREATE DATABASE opengeodb DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; GRANT ALL PRIVILEGES ON opengeodb.* TO opengeodb@localhost IDENTIFIED BY 'opengeodb'; flush privileges; use opengeodb; \. opengeodb-02513_2007-10-02.sql // 45.5 MB的数据,要导入比较长的时间 或使用 mysql opengeodb < opengeodb-02513_2007-10-02.sql -uroot -p // 不知是否要快些
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: 2.78G
http://www.geotorrent.org/torrents/61.torrent
Oracle
more detail: http://docs.codehaus.org/display/GEOSDOC/PostGIS+DataStore