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
3 answers

Can not create new layer (featuretype) in GeoServer using REST API

So I just used 2 working days trying to figure this out. We are automatic rendering process for maps. All the data is given in SQL base and my job is to write "wrapper" so we can implement this in our in-house framework. I managed all but one needed…
Blaž Lipuš
  • 61
  • 1
  • 4
4
votes
1 answer

Angular4 add WMS (openlayers)

I want to add an example wms-layer with OpenLayers from a GeoServer to my map in Angular 4 | 2. I don't know the right syntax to do this. Perhaps someone has some experience with OpenLayers in Angular2 or Angular4? Thanks a…
Steffn
  • 275
  • 1
  • 6
  • 21
4
votes
2 answers

Using gdal compressed GeoTIFF with GeoServer

I have a big GeoTIFF that I want to stream through a WMS within GeoServer (v.2.11). The size of the image is about 7GB, consisting on a very large high resolution RGB image. I have allowed enough heap space within JVM in order to display the…
pahu87
  • 41
  • 6
4
votes
0 answers

Vector tiles buffer

I have issue setting up an Openlayers map with vector tiles served from Geoserver. The lines gets screwed up along the edges of the tiles. It looks like the lines are first clipped and then styled instead of the opposite. This makes wide lines look…
4
votes
1 answer

OL3 / Geoserver: Vector tile labels gets cropped

I am trying to label vector tile point features but they always gets cropped at the tile border. I have tried (among many other things) using the renderBuffer option with no success. I am using OL 3.19 and the vector tiles are served with Geoserver…
4
votes
0 answers

Cesium GeoServer error : An error occurred in "WebMapServiceImageryProvider": Failed to obtain image tile

I'm trying to run Cesium with GeoServer in order to learn and practice things I need to do. I have installed and downloaded everything needed but when I am trying to run the basic examples from Cesium \ GeoServer I get the error mentioned above. My…
4
votes
1 answer

Get a feature properties for the layer which has been clicked in OpenLayers 3

I am working on OpenLayers 3 with Geoserver, I have four vector layers, I am using singleclick event to get properties for each feature and show them in a popup window. Now my problem that when i click on a feature from the highest layer i get all…
Sheyar
  • 51
  • 2
  • 7
4
votes
2 answers

Styling wms by request parameter

in general: Is it possible to differently style some of the wms features from a single wms query based on the cql filter, or other parameter? in particular: on a wms query, returning the raster of a collection of features (i.e. points styled as red…
aleclofabbro
  • 1,635
  • 1
  • 18
  • 35
4
votes
2 answers

Openlayers-3 WFS-T (Post feature to postgis via geoserver)

I have a problem with posting features from ol3 into postgis db via geoservers wfs.When i run this code, i only manage to insert gid(pk) and bin columns but the_geom(Geometry) column is empty. function addInteraction() { draw = new…
Milos Miletic
  • 500
  • 6
  • 19
4
votes
2 answers

Geoserver on Microsoft Azure Website

I need to add some Geoserver data on my Azure Website. I'm just wondering that if I need to install Geoserver for that on my account (if it is possible) or is there some other way? As I was just looking around, I found this link…
muzaffar
  • 1,706
  • 1
  • 15
  • 28
4
votes
1 answer

Load Open layers 3 jsonp vector layer with bounding box strategy?

I have problem with loading features from geoserver to a vector layer using OpenLayers3 and bounding box strategy. I tried to find how I can load more than one layer using bounding box strategy, but without success. The only example which I found is…
4
votes
2 answers

How can you load maps from Geoserver using https?

How would I go about configuring Geoserver to only load from an https address? I have been combing the web and cannot find any solution.
SketchyTurtle
  • 423
  • 1
  • 5
  • 20
4
votes
4 answers

Single Sign On for WebServices, WCS, WFS, WMS (Geoserver), etc

[ # question edited for clarification # ] I'm trying to implement a Single Sign On (SSO) for a web application. Maybe you can help me find a proper solution, give me a direction or tell me, that solutions already exist. The scenario: A GeoExt (ExtJS…
4
votes
1 answer

WFS GetFeature query with time parameter does not filter in geoserver

I am trying to get some data filtered by date in GML format by using WFS GetFeature in geoserver, but the operation ignores the time parameter and just returns a huge GML file with all the data. This is the query I am…
santisan
  • 149
  • 1
  • 11
4
votes
1 answer

Leaflet with automatically center and zoom to wms feature of geoserver that added

I have added WMS layer from Geoserver to show up on Leaflet. However, I would like to map automatically zoom and center to the specific feature or polygon. Does any one have any idea about this. The image attached is what I would like to do. Here…
user3283340
  • 63
  • 1
  • 6