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
5
votes
1 answer

how to create SQL View in Geoserver with command line

The following is the code I use, which does not work curl -v -u admin:geoserver -XPUT -H 'Content-type: text/xml'…
Yizheng Shen
  • 231
  • 1
  • 12
5
votes
1 answer

How to serve tiff WMS imagery through GeoServer

I am new to the GeoServer/database world. I have never done any database work before, but I need to set up a WMS using GeoServer as part of my student internship. I am using GeoServer 2.0.1 in standalone mode (downloaded using Jetty) with PostgreSQL…
mikem419
  • 61
  • 1
  • 7
5
votes
0 answers

Display a WFS service with OpenLayers 3. Define and add custom projection

I have a very simple question which I can not really find answers to. I am working with OpenLayers 3. I want to display a WFS Service with a layer defined in GeoServer 2.6.2. This layer is defined with a custom reference system which I have defined…
César
  • 61
  • 3
5
votes
5 answers

Loading GeoJSON layers from Geoserver to Leaflet Map based on the current bounding box

Currently, I have over 25000 points for my map. When I load all the points the map is extremely slow. Therefore, I want to load the data only at a certain zoom level and bounding box(users view). How can I accomplish that with my current code? var…
mblais29
  • 349
  • 1
  • 2
  • 9
5
votes
1 answer

GeoServer under https

i am using apache web server on localhost:80 and Geoserver served from tomcat on localhost:8080 I recently installed SSL certificate on apache and it works fine except for that i get the message that says i have insecure content which i thought they…
Shadin
  • 1,867
  • 5
  • 26
  • 37
5
votes
0 answers

How long does geoserver store the cookie it generates from authentication via j_spring_security_check?

I have a website which connects to a geoserver, it fetches sessions from geoserver via j_spring_security_check. How long is the cookie given by geoserver valid and can I edit its expiration?
noobprog
  • 327
  • 1
  • 4
  • 16
5
votes
1 answer

sun.security.provider.SHA2 use 100% cpu and hangs for 5 minutes after a while

I have a strange behaviour and maybe you can help me with it. The environment is jdk_7u40 (Tried with jdk_7u51 with same behaviour) debian 6.0 (on windows I have never had this problem) jboss 7.1.1 Geoserver 2.4.x (tried .3 and .4 with same…
Tommaso
  • 520
  • 1
  • 6
  • 20
5
votes
1 answer

Hadoop and Geoserver

I'am intending to develop a new datastore based on Hadoop/HBase for Geotools to use it in Geoserver just to visualise Raster data (tiled satellite image). Has anyone done something similar or even know if this is possible ? I already know how to…
thiagogcm
  • 103
  • 1
  • 10
5
votes
3 answers

Geoserver SLD styling issue with external graphics and attribute rules

I am creating a SLD for Geoserver wms layer. The SLD validates without error but the icons will not show in the map. I am using attribute based rules to compare strings to have the correct image show for the correct feature. Here is my code and…
cstokes2
  • 105
  • 1
  • 2
  • 8
4
votes
1 answer

WFS-T xmlhttp post length limits?

After a long time searching and trying I'm asking now for help: My situation: I've a jquery/openlayers-app which allows the user to create simple geoemtries with attributes over WFS-T... I'm running on debian6 with tomcat6(:80-iptables) and…
4
votes
0 answers

How do I pass a list of values in string form to viewparams in geoserver?

I have a SQL view which takes two parameters. One of these parameters is a list of numbers in string form. I can't for the life of me figure out if Geoserver can take this list and parse it. The basic SQL query i've set up works as below SELECT *…
4
votes
3 answers

Generating Geo-Referenced Images in C#

I want to create some heat-map style tiles to overlay over our base maps using Open Layers. Basically, I want to divide some some bounding box into a grid, and display each square of the grid using a different color based on how many points of a…
Nathan
  • 12,290
  • 3
  • 29
  • 28
4
votes
0 answers

GeoServer 2.17 internal error rendering process failed

I have a problem with migrating from GeoServer 2.13.2 to 2.17 which serves WMS and WMTS for a simple web application. The problem is that in some zoom levels and some tiles, the layer preview of GeoServer give me the internal error rendering process…
4
votes
4 answers

Trouble setting up Postgres PostGIS database with GeoServer

I made a table in a Postgres database with a name image_id and geometry column in it. Here is what the schema looks like: CREATE TABLE images ( "name" character varying(256) NOT NULL, image_id integer NOT NULL, srid integer NOT NULL DEFAULT…
MBU
  • 4,998
  • 12
  • 59
  • 98
4
votes
0 answers

Using Leaflet with http post to send big wkt text to geoserver

Leaflet renders maps from geoserver based on http GET. But when sending over big values via viewparams, the url gets cut off and the call fails. Need to submit a big value via viewparams to a geoserver…