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

Extract single value from geoServer getfeatureinfo

I am trying extract a single value using getfeatureinfo. i have used the exact code given by GeoServer. map.events.register('click', map, function (e) { document.getElementById('nodelist').innerHTML = "Loading...…
0
votes
1 answer

OpenLayers getFeatureInfo WMS with huge amount of data

I am working with WMS layer, that has over a million objects. If I want to get feature info from this layer, it doesn't work, because after 2 mins the request is denied (time out). Then I tried to send request with filter option to get objects (WFS…
Gapex
  • 15
  • 7
0
votes
1 answer

Accessing OpenLayers WMS data parameters at JS level

I need to add custom labels to elements on my Vector layer, however in every example of code I see only directly passed parameters with {$param} syntax, like: var myStyle = new OpenLayers.StyleMap({ default:{ pointRadius:…
0
votes
3 answers

Access Geoserver from Amazon E2C from Internet

Need help accessing my GIS website on Amezon E2C through Internet. I have Geoserver running on 8080 port on Amazon E2C VPC Windows 2008 Instance,and website using openlayer,geoext hosted through IIS on it, my E2C have private IP 10.#.#.70 which i…
0
votes
1 answer

GeoServer Request not working

I am trying to add map into my web page. Shapefiles are uploaded/published in GeoServer. When request is made, not map is displayed in webpage. Following is code.
Fakhar uz Zaman
  • 191
  • 6
  • 22
0
votes
0 answers

Simple PHP proxy issue

Simple, but not for me... On my Ubuntu host, I have a Geoserver instance listening on port 8080: http://:8080/geoserver What I want to achieve is to let clients reach Geoserver through an alias: http:///geoserver and I…
csparpa
  • 511
  • 2
  • 7
  • 19
0
votes
1 answer

Remote access for Geoserver...Local host only

I am a GIS tech trying to get migrate to Geoserver, unfortunately I am not very savvy on web hosting. I installed the Windows version 2.3.1. I was able to build by map and access it through localhost:8080\geoserver\www\ I take that to mean that the…
user2387066
  • 1
  • 1
  • 1
0
votes
2 answers

(Geoserver + OpenLayers) Search item by coordinates (lat/long) or id

I'm using Geoserver (2.3.0) + OpenLayers(2.12), but with no previous experience on GEO systems :(. I need to locate in the map the item located in lat/long, or by the primary key. But I have found only the inverse situation, in other words, if the…
glmlima
  • 1
  • 4
  • 7
0
votes
1 answer

Multiple FeatureType in WFS Protocol

I would like to pass multiple featureTypes to WFS protocol in order to accomplish a search feature in my app. the idea worked just fine with one featureType, but now I need to add another one to expand my search scope. Here is what I did: var…
Shadin
  • 331
  • 1
  • 6
  • 14
0
votes
0 answers

OpenLayers removes/destroys new features when zooming out

I have an OpenLayers.Layer.Vector layer that I allow the user to create, modify and delete features and feature attributes. The changes are saved when they hit a "Save Changes" button. If the user creates a new feature, then zooms the map out a…
Hilo
  • 869
  • 2
  • 9
  • 24
0
votes
0 answers

Configure Javascript in android for showing marker in geoserver

I am able to show Geoserver map using webview (In android) and want to show marker on geoserver map in my android application. Please suggest how to achieve this. Hope to hear from you soon. Regards, Parmanand Soni
Parmanand
  • 355
  • 2
  • 6
  • 15
0
votes
0 answers

combine between WMS and WFS

We are developing a project which contains a lot of data. We are using WMS layers for displaying the points. Also we used WMS to return points information in a popup window, however to highlight selected point we used WFS layer. The problem now is…
Reem
  • 63
  • 6
0
votes
1 answer

How to publish a GML file as a Web Feature Service (WFS)?

I am interested in publishing a GML file as a WFS. I don't want to use a database like PostgreSQL. What would be the rough steps I need to do for that? I like to use open source software (geoserver).
ustroetz
  • 5,802
  • 16
  • 47
  • 74
0
votes
1 answer

INVALID LABEL error for JSON response against WFS request of Geoserver using Jquery

I wrote this code: function json() { var url="http://192.172.2.23:8080/geoserver/wfs?request=GetFeature&version=1.1.0&outputFormat=json&typeName=topp:networkcoverage&CQL_FILTER= topp:CELL_ID='410-07-301-31781' Or…
Imran
  • 1
  • 4
0
votes
1 answer

How to create Store for native binary format(.ID, .DAT, .Tab, .MAP) in geoserver

Hi i have four different file format (.ID, .DAT, .Tab, .MAP) i have to upload these in geoserver and see the map . Are these file format supported by geoserver.if yes please help me how to do it i had done googled and haven't found any solution.
user2098062
  • 21
  • 1
  • 4
1 2 3
99
100