...
Geoserver Extractor handles
- zip file with ESRI shapefile (consists with .shp, .shx, .dbf, .prj and etc.).
- GeoTiff image with Geo tag in the header
The The extractor publishes the ESRI shapefile or Geotiff file to geoserver as WMS service. In order for the extractor to work, you need to install two software:two things:
Install Geoserver
http://docs.geoserver.org/stable/en/user/installation/war.html
1. Download geoserver war
Code Block | ||
---|---|---|
| ||
wget http://downloads.sourceforge.net/geoserver/geoserver-2.3.0-war.zip |
2. Unzip the file
Code Block | ||
---|---|---|
| ||
unzip geoserver-2.3.0-war.zip |
3. Deploy the war to tomcat
Code Block | ||
---|---|---|
| ||
sudo cp geoserver.war /var/lib/tomcat6/webapps/ |
3. Access web page for geoserver admin at http://[your_server]/geoserver
The inital access to the admin page will initialize the setting of geoserver. Therefore you have to access it at least once.
4. Login with default admin pw
u: admin
p: geoserver
- open /var/lib/tomcat6/webapps/geoserver/data/security/masterpw.info
- make a note of the master pw from the file and delete the file
- delete /var/lib/tomcat6/webapps/geoserver/data/security/users.properties.old
- go to "Security/users, groups, roles" - "users/groups tab"
- click "admin" user
- change the password and save
* clean the example layers at geoserver
- go to Workspaces
- select all workspaces
- remove selected workspace
* add new workspace for medici
Name: medici
Namespace URI: http://medici.ncsa.illinois.edu
Default workspace: true
Settings: Enabled
Services: Check WMS
Setting up Geoserver Extractor
GDAL libraries
Code Block | ||||
---|---|---|---|---|
| ||||
sudo apt-get install python-software-properties sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install gdal-bin sudo apt-get install python-gdal sudo apt-get install proj sudo apt-get install libgdal-dev |
...