Questions tagged [geoserver]

GeoServer is the reference implementation of the Open Geospatial Consortium (OGC) Web Feature Service (WFS) and Web Coverage Service (WCS) standards, as well as a high performance certified compliant Web Map Service (WMS).

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. Designed for interoperability, it publishes data from any major spatial data source using open standards.

Being a community-driven project, GeoServer is developed, tested, and supported by a diverse group of individuals and organizations from around the world.

GeoServer is the reference implementation of the Open Geospatial Consortium (OGC) Web Feature Service (WFS) and Web Coverage Service (WCS) standards, as well as a high performance certified compliant Web Map Service (WMS). GeoServer forms a core component of the Geospatial Web.

(http://geoserver.org/display/GEOS/Welcome as it is on Jan 29th, 2014)

A common use for geoserver is with two other componnets: Geowebcache and Openlayers. The first is an actually embed feature in Geoserver default installation. It avoids processing storing images that were generated by Geoserver once. The access to this cache is transparent to the user, using the same endpoint. Openlayers is a javascript library that handles the complexity of assembling the images given by geoserver into a usable map.

More information can be found in the following links:

Openlayers:

Geowebcache:

Geoserver is able to abstract many complex operations with geodesic data and can serve the application with many representations of it. The most used are the map images, but other formats like KML (used by Google Earth), JSON and XML are also available, making possible to offer a rich app to the user.

It will also allow the administrator to style the map in many ways using defined styles for the layers, described in the format called SLD. Here you have how to:

The input formats will mostly be the Shapefiles or a data connection to the database that contains geospacial data, such as Postgres using the Postgis extension.

A brief about the supported formats: http://docs.geoserver.org/latest/en/user/community/importer/formats.html?highlight=shapefile

Importing a shapefile: http://docs.geoserver.org/latest/en/user/gettingstarted/shapefile-quickstart/index.html

Connecting to a Postgres/postgis database: http://docs.geoserver.org/latest/en/user/gettingstarted/postgis-quickstart/index.html

Shapefiles (a format described by ESRI) definition and other useful information:

Postgres and Postgis information:

Geoserver uses the concept of endpoint to serve the information. The parameters are received via GET, making simple request powerfull tools of abstraction. An example with openlayers can be found here:

http://openlayers.org/dev/examples/getfeatureinfo-control.html

The endpoint, in the example is the following:

var political = new OpenLayers.Layer.WMS("State Boundaries",
            "http://demo.opengeo.org/geoserver/wms", 
            {
              'layers': 'topp:tasmania_state_boundaries', 
              transparent: true, 
              format: 'image/gif'
            },
            {
              isBaseLayer: true
            }
        );

where - "http://demo.opengeo.org/geoserver/wms" is the endpoint for wms serving - 'layers': 'topp:tasmania_state_boundaries' - we want the tasmania_state_boundaries layer from top workspace - transparent: true informs the server to leave transparent the regions where there is no information. Otherwise they will be white. - format: 'image/gif' - The format of the images we want.

It's that simple to access a black hole of geo information that, otherwise, would require too much time to do. Too much time.

1562 questions
4
votes
0 answers

Android Webview using Leaflet - JNI Error

I'm developing an Android application containing a Webview. The HTML corresponding to the webview contains mainly JavaScript code ; it retrieves a map of a building from a Geoserver. I use Leaflet to display the different layers. Each base layer is…
4
votes
1 answer

How to use RESTful Geoserver?

I'd like to use REST protocol with Geoserver running on a web, but when I enter username and password used to log into web interface, I get HTTP ERROR: 401 Full authentication is required to access this resource. Do I need to create separate user…
Michal Zimmermann
  • 646
  • 1
  • 7
  • 23
4
votes
1 answer

How to programmatically set username and password on Geoserver at intall time

I am writing a bash script to install Geoserver by following the steps outlined here Install Instructions . I am trying to use CURL to post a custom data store config file. But I am having an authentication error. * upload completely sent…
Caustic
  • 940
  • 3
  • 12
  • 29
4
votes
1 answer

How upload geoserver on openshift tomcat application

I made an openshift application in Tomcat type(jbossews-1.0) and want to uplaod Geoserver on it. I changed my geoserver.war as described here:http://dubrovsky.posterous.com/geoserver-on-openshift and git add it in my apps name/webapps. but it…
Faezeh
  • 83
  • 1
  • 6
4
votes
1 answer

Geoserver - PostGIS performance issue

We have noticed something strange in the interaction between our Geoserver instance and Postgres/PostGIS. After setting Geoserver's log level to include developer debugging, I managed to capture a single request from Geoserver WMS to PostGIS. The…
Ries
  • 2,844
  • 4
  • 32
  • 45
4
votes
2 answers

Authenticate in geoserver with asp.net and iis

I don't know if this is a dumb question, but how can I "combine" the asp.net authentication with openlayers? I created a Login page to authenticate in openlayers (in c#, server side), this is my code Uri uri = new…
Naty Bizz
  • 2,262
  • 6
  • 33
  • 52
4
votes
2 answers

Grib2 to PostGIS raster -- anyone get this to work?

I have an application for which I need to import U.S. National Weather Service surface analyses, which are distributed as grib2 files. I want to pull those into PostGIS 2.0 rasters, do some calculations and modeling, and display the data and model…
Rick Wayne
  • 1,503
  • 2
  • 12
  • 11
3
votes
1 answer

How to use MapFish print module for GeoServer-GeoWebCache layer?

I am in the process of developing a webGIS application using GeoServer (2.1.1), GeoWebCache(1.2.6), OpenLayers(2.11), GeoExt. All my layers are served as wms through GeoWebCache. A sample definition for any layer is as follows: var My_Layer = new…
thelastray
  • 472
  • 2
  • 9
  • 21
3
votes
1 answer

I can't figure out where to start with GIS application development, or which technology to select

I am very new to GIS development, and to be be frank I have no background about it at all. I searched the web but the tutorials I found seemed to assume the reader has some background information. the thing is that I am confused about what to read…
3
votes
1 answer

Geoserver not recognizing spatial column

I'm using Geoserver and SQL Server 2008. I have a table which has a column of [geography] type. I'm able to see the table showing up in Geoserver (I have installed the extension for SQL server) but it recognizes the column as type byte[] and not…
TheZelus
  • 470
  • 6
  • 19
3
votes
1 answer

Sencha Touch, OpenLayers, GeoServer: Wrong encoding on devices using Android 2.2

I have created a small test page using Sencha Touch, OpenLayers and I am recieving WMS/WFS data from a GeoServer. I have set the encoding on my HTML page to UTF-8: I pull some…
3
votes
1 answer

getting the user click inputs in openlayers and store in postgis

i am developing a web based application for showing the public vehicle routes using GeoServer, PostGIS and OpenLayers. what i need to do is let the user define a route by clicking on the main bus stop nodes on the map and i need to store those nodes…
3
votes
1 answer

C# How to solve Web Client Upload file "The remote server returned an error: (405) Method Not Allowed."?

Hello I want to upload a html file that is in my local to a remote folder in a server that contains a data dir with geoserver elements, and here is my code: public void CopyWS(string SourcePath, string DestinationPath) { try { …
John Gilbert
  • 159
  • 1
  • 4
  • 18
3
votes
1 answer

Converting ECQL from geotools to SQL

Is there a java library for converting ECQL(geotools) to SQL ? CQL and ECQL CQL (Common Query Language) is a query language created by the OGC for the Catalogue Web Services specification.
Fiz
  • 59
  • 4
3
votes
0 answers

Geoserver in production

Why is it not recommended to run geoserver as a platform independent binary in production ? as said by Ian Turton
ayar anasse
  • 172
  • 6