GeoServer is an open source software server written in Java that allows users to share and edit geospatial data.

learn more… | top users | synonyms

3
votes
1answer
1k views

How to send WPS request using OpenLayers

I have generated the WPS request below using GeoServer's WPS Request Builder. I wish to append more parameters to this request (geometry selection), and then send it either using GET or POST from ...
3
votes
1answer
717 views

GeoServer - Serving html files

Encountering a Geoserver - Openlayer WFS layer not visible I found this interesting answer . Solution about html page on the server surprised me very much as I tried previously to load an html page ...
3
votes
3answers
2k views

How to access both IIS and Geoserver at port 80 from outside the production environment?

At production server, IIS and GeoServer are installed. I can access IIS at port 80 From out side the production environment. i also want to access GeoServer at the same port 80 from out side of ...
3
votes
1answer
4k views

Reproject a vector layer (EPSG:27700) using WFS onto a googlemaps background (EPSG:900913)

I have the following HTML-javascript code and i have problems reprojecting the vector layer (WFS) from EPSG:27700 (British National Grid) to EPSG:900913 (googlemaps). I managed to project the WMS ...
2
votes
1answer
285 views

Geoserver: Georectification via SLD fails

Situation I have a raster image and the coordinates of its four corner pixels. My goal is to warp the image with respect to this coordinates ("georectify") on the fly when requested via GeoServer to ...
2
votes
2answers
1k views

GeoServer and OpenLayers in production - Securing WMS calls?

I've a mapping site where users have to login in with username and password. Once logged in the user gets a map of their data using WMS and WFS to display and edit data. This data is served using ...
2
votes
2answers
682 views

Create CMS system using Cartaro

The main objective for our project is to create a portal website in Drupal. On this website, people must be able to upload their geographical datasets (mostly shape files, but also xml files that ...
2
votes
1answer
312 views

Creating a geoserver layer with curl (but with a bounding box)

I'm attemping to load a layer into Geoserver from a PostGIS database using cURL. It works, but I also need to set the bounding box to -180,-90,180,90. Does anyone know how to add the bounding box to ...
2
votes
1answer
325 views

How to upload a shapefile to geoserver using cURL and replace file?

In the sequence of this: How to upload a shapefile to geoserver using cURL? which was properly solved, I now need to be able to replace the existing file, cause my process is to be repeated every ...
2
votes
2answers
825 views

What is the SRS code for Lambert Conformal Conic projection and GCS Everest Definition 1962?

I have a shapefile with Geographic Coordinate System is "GCS_Everest Definition 1962" and the Projected Coordinate System is "Lambert_Conformal_Conic". I want to add this shapefile in Geoserver. But I ...
2
votes
1answer
963 views

geoserver wfs insert error

I keep getting an insert error from geoserver when trying to save a point, poly etc etc to my postgis table. any ideas, my code is below var Projection = new OpenLayers.Projection("EPSG:4326"); ...
2
votes
1answer
647 views

Routing Application in Windows

I am making an routing web application similar to Google Maps 'Get Direction' feature. But because of the limited control and data on GMaps, I decided to use OpenStreetMap instead. This also made me ...
1
vote
2answers
1k views

How to add Geoserver WFS to Leaflet JS Application

I have a PostGIS database and have successfully consumed a table into GeoServer and published a WFS. Are there REST endpoints available for these WFS' akin to ESRI's feature services? How are ...
1
vote
1answer
13k views

Uncaught SyntaxError: Unexpected token : when using ajax

I try to call json data from geoserver, but when i try to run it in chrome, it return this following error "Uncaught SyntaxError: Unexpected token :" This is my code, function ...
1
vote
1answer
1k views

Probleme with WFS protocol in OpenLayers

Sorry for disturbing. I know my problem look common, but I really don't know what to make. Here is my code for getting a WMS layer in OpenLayers from Geoserver. var wfs2 = new ...
1
vote
1answer
375 views

Load a feature from geoserver using WFS protocol on localhost

I am a student enginner in GIS , I want to load my features from geoserver using WFS protocol. I'm using this code but it's not appearing in my browser OpenLayers.ProxyHost = ...
1
vote
2answers
3k views

GeoServer WMS Layer not working in OpenLayers

Here is my code: var map; function init() { var options = { maxExtent: new OpenLayers.Bounds(-135.326858520508,-30.5615100860596,179.357788085938,69.604377746582), units: 'm', projection: ...
1
vote
1answer
1k views

GetFeature Request with Polygon Intersecting Polygons

My task is very straightforward: a user draws a polygon and query all parcel polygons. The query string extends the URL limit. So I am posting XML to WFS. However, GeoServer always returned 0 feature, ...
0
votes
1answer
750 views

How get Map extents for draw polygon when final click is done?

I am using openLayer js to draw a polygon and now i want map extents of the drawn polygon one final click (i.e. user finish drawing polygon or double click is done). For drawing the polygon i am using ...
0
votes
1answer
3k views

GeoServer VendorOption for SLD to place labels overlapping and out of bounds

I use GeoServer 2.1.1. and have an SLD to serve a layer with labels in OpenLayers. I noticed that some labels are not displayed because other labels are to near. GeoServer wants to make your labels ...
0
votes
2answers
153 views

GeoServer preventing overwriting html files

I have GeoServer installed on Windows XP as part of the OpenGeo bundle. It's working well and I have just started creating my own app using it. I have created an html file in \WebApps\apps and can ...
6
votes
2answers
1k views

GeoServer: Shapefile or PostGIS?

I'm going to build a web application, which will render around ten maps using GeoServer. I will be also changing the attribute data in the application for some layers. So, what is the recommended ...
6
votes
3answers
2k views

Openlayers - Cloned features get style from original feature

I am having a problem with the styling of a WFS vector layer from GeoServer after cloning features from it and adding them to a new feature. First I create a new empty vector layer and add it to the ...
6
votes
4answers
4k views

WMS GetFeatureInfo and CQL on Multiple Layers

I am having issues with querying CQL filtered layers with OpenLayers and GeoServer, using the GetFeatureInfo control. It is ignoring the CQL filter and just querying the entire layer (as evidenced by ...
5
votes
1answer
91 views

GeoServer renders shape incorrectly/distorted

I am having trouble displaying country borders properly in GeoServer, as you can see from the link below (map of Italy). ...
5
votes
1answer
348 views

Is there a parellel line function for slds?

I am attempting to make an sld style which symbolizes a line with an offset. I have tried with filters, functions online graphics but can achieve only ugly results. The line consists out of 2 line ...
5
votes
1answer
1k views

Raster data on PostGIS

I need to publish raster and vector data through GeoServer WMS service and I have already chosen PostGIS as datasource to keep vector data. Now I would like to know what is the best practice to work ...
5
votes
2answers
3k views

Prevent OpenLayers WMS layer cache by browser

I am using OpenLayers (GeoExt) with google chrome browser. All WMS layer is for live database. I have refreshed the browser at certain interval using javascript but the data is cached in browser and ...
5
votes
7answers
2k views

What map source/API/tools are recommended to create Web GIS/Mapping application utilising Microsoft technologies?

I'm researching about technologies (around Microsoft tech) to create mapping application and would like to have advice/suggestions. Brief requirement to build mapping application with Microsoft ...
5
votes
1answer
706 views

How to get GeoNetwork to search through PostGIS fields via GeoServer WMS

I can't seem to get GeoNetwork to search through my PostGIS fields via GeoServer WMS. According to the GeoNetwork Documentation: it should loop over datasets served by the service and produce ...
4
votes
6answers
181 views

String update - only first character gets stored

Client: OpenLayers / Server: Geoserver When I update a WFS Element, JAVASCRIPT: element.feature.attributes.ENAME = "Mystring"; saveStrategy.save(); HTTP-POST: <wfs:Property> ...
4
votes
6answers
3k views

SLD Editor with GUI?

I am setting up a GeoServer instance to serve up a few different PostGIS databases. I have GeoServer up and running however, it takes me forever to enter the SLD into GeoServer by hand. Is there a ...
4
votes
2answers
462 views

How to upload a shapefile to geoserver using cURL?

I need to automatically (using python) upload a shapefile into my geoserver. I'm trying to do as described in here but i'm getting this error: java.io.IOException: Wrong magic number, expected 9994, ...
4
votes
3answers
2k views

Is Geoserver's “styler” plugin dead?

The "Styler" plugin for Geoserver promised flexible styling of your data, using the GeoExt library: The user guide tells you to first install the REST plugin, and then extract the styler zip file ...
4
votes
1answer
765 views

Authentication in geoserver with openlayers

Is there a way to authenticate in geoserver with a external webpage (made with asp.net and openlayers)? I have restricted the access data only by certain users, and I don't want to authenticate this ...
4
votes
1answer
4k views

GeoServer Web Feature Service (WFS) in Open Layers Problem

I am running GeoServer 2.1.1, and have a datastore from ArcSDE populated with features projected in EPSG:26918. I can successfully add a WMS to an OpenLayers map, but am having issues with WFS. I have ...
3
votes
3answers
571 views

GeoServer - update test server to production

I have GeoServer (v2.2 from OpenGeo Suite) running on a test server hosting many different WMS services sourcing many different PostGIS db tables. I want to push this setup onto a production server ...
3
votes
2answers
394 views

GeoServer cascading WMS, FeatureInfo is lost

I'm trying to cascade a WMS service in GeoServer (http://grb.agiv.be/geodiensten/raadpleegdiensten/GRB/wms?REQUEST=GetCapabilities&SERVICE=WMS). I can view the cascaded layers just fine, but ...
3
votes
1answer
1k views

How to add SLD to a wms layer dynamically from javascript

How to add SLD style which is written in String format and stored in a 'var' variable of javascript and asign it to a WMS layer while creating it.
3
votes
1answer
2k views

What projection to use for Google Maps?

I'm loading a WMS layer which comes in WGS84 into Google Maps. From what I've read so far, I should reproject this layer to Google Pseudo Mercator (either 3857/900913). However, when I save the layer ...
3
votes
2answers
869 views

How to get column names of layer (WMS) using OpenLayers?

Is it somehow possible to get layer's column name using OpenLayers? any example and documentation would be really useful? Edit: I have already tried WMS_describeLayer topp:states layer: <?xml ...
3
votes
1answer
4k views

Change Vector projection in Openlayers

I have added vector layer to map vactorTest = new OpenLayers.Layer.Vector("Editable Features", { strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy], projection: new ...
3
votes
1answer
4k views

Path to proxy.cgi for GeoServer is not accessible in browser

There have been several questions very similar to this asked already (including ones not involving GeoServer), but their solutions have not solved my problem. I am trying to use getFeatureInfo on my ...
3
votes
1answer
2k views

Can a layer's style be modified dynamically using an SLD in OpenLayers?

I am a complete novice with GeoServer and OpenLayers. I'm trying to ascertain at what point a style is applied to a GeoServer layer which is drawn in OpenLayers, when using an SLD. The Introduction ...
3
votes
2answers
699 views

Generate cache tiles for EPSG:27700 for use with OpenSpace

I am using GeoServer 2.1.0 (windows jetty local install for dev), open layers and Ordnance Survey openspace api and have a set of shape data that I am using as an overlay. Everything is working as ...
3
votes
2answers
1k views

Geoserver Configuration Reload

Not quite sure if I should even be doing this. What I am wanting is I will be dynamically generating my sld file and it looks like when you update the sld in the geoserver admin it does a reload. So ...
2
votes
2answers
139 views

Use SLD to conditionally display points or polygons based on zoom level?

This is not a duplicate of: how to display polygons as points until certain zoom level? I want to do this with Geoserver v2.5.5 if possible (not openlayers). Basically - I have a layer of polygons, ...
2
votes
0answers
67 views

Geoserver : create a rasterized polygon / dynamic fill for polygons with features from database

I decided to post here because I couldn't find any answer to my problems on the internet. So I am using geoserver 2.7-SNAPSHOT, everything is working fine but I need to implement a new function or ...
2
votes
1answer
229 views

How to find out which Geoserver version is running?

Is there a way to find out which version of GeoServer is running from any standard document such as GetCapabilities?
2
votes
0answers
1k views

Geoserver WFS get feature doesn't work - “SyntaxError: missing ; before statement”

I'm trying to use geoserver WFS json for creating vector layer (instead of using WMS) because this is a layer I redraw every 20 seconds. This is the code I use : function getJSON() { var ...