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 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
929 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

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
705 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
250 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
2answers
161 views

Is it possible to use simple Math in an SLD file on Geoserver?

Is it possible to use simple Math in an SLD file on Geoserver? Suppose I want to read a text size property from a database and multiply its value, how can I do this? <sld:TextSymbolizer> ...
2
votes
0answers
78 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
2answers
621 views

Geoserver cut off symbols close to tile edges

When I use specific icons for point display using geoserver, several icons are cropped automatically. This is may be because of tile size or else. Please provide details, how to resolve this.
2
votes
1answer
300 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 ...
2
votes
0answers
241 views

Leaflet wms offset on zoom out

I have Leaflet map with base layer (epsg4326) and wms layer of gps point (also epsg4326). I've noticed when I zoom out , the gps point offset to the left. Any idea why it happens ? Here you can see ...
2
votes
1answer
452 views

GeoWebCache seed task dies immediately after being submitted

The data comes from Geofabrik's Brazil slice: http://download.geofabrik.de/south-america/brazil.html Imported into a PostGIS DB with osm2pgsql. GeoServer is 2.4.0, running on latest Tomcat 7.0.x, on ...
2
votes
1answer
668 views

Can I view the Geoserver zoom level in QGIS

I am creating some sld's using QGIS for use in Geoserver and wanted to view the current zoom level so that I can then define it in the zoom level. Is this possible? For example <!-- Local ...
2
votes
2answers
485 views

Can Geoserver return the raster value of a lat/lon point

I have a GeoTIFF published by Geoserver 2.2 and being used by Leaflet via WMS. How can I get Geoserver to return the raster value at a lat/long point? I'm guessing it has to do with using WCS, but ...
2
votes
2answers
634 views

GIS Server - evaluation architecture

Building from my previous questions: QGIS Server limitations? I want to evaluate performance of both MapServer and GeoServer. Can both servers exist on the same machine (each serving out WMS) or ...
2
votes
2answers
890 views

502 Bad Gateway

I am trying to access the featureInfo in my application and I keep getting 502 Bad Gateway Network error. In teh console log under the response tab I am getting this error, This proxy does not allow ...
2
votes
0answers
690 views

why preview image is blank for ImageMosaicJDBC (postgis raster) layer?

I follow http://docs.geotools.org/latest/userguide/library/coverage/pgraster.html to publish a ImageMosaicJDBC layer in geoserver. the layer seems published ok and saved, but the preview of this layer ...
2
votes
1answer
341 views

gdal.py as part of bat script in windows 7

I need to run the following bat file from a MS4W shell which has gdal_retile.py as the final option. I have added C:\ms4w\python\gdal to my pythonpath but within a pyscripter shell I can not import ...
2
votes
0answers
1k views

How to add multiple nested node in GeoExt

I have following codes, but i want to add severel parent>child>chill>child>child (4 level inside) nodes with all check box options (for user choice) in the tree panel, in fact sum of all these (parent ...
2
votes
3answers
1k views

adding non spatial attributes using geoserver

I am using Openlayers + geoext to perform transaction operations in postgis database using geoserver . i can insert spatial data into postgis but cannot insert other data like road name, road type in ...
2
votes
1answer
401 views

Tiles refreshing with geoserver

I use geoserver geowebcache for displaying tiles using google maps API. Data comes from Postgis. My problem is that I have to change geometry of some features (not very frequently). I would like to ...
2
votes
3answers
3k views

Adding WMS and WFS layers from GEOSERVER in arcgis viewer for flex 3.0

I am interested in adding feature layers from geoserver in arcgis viewer for flex config file and consequently display them on the web map.IS that possible? If yes, could someone share how they did ...
2
votes
3answers
3k views

OpenLayers GetFeatureInfo for GeoServer Layer Groups

I've created a GeoServer layer group. I'm using OpenLayers.Layer.WMS to retrieve the layer group, and this works fine. In addition, I'd like to pull feature info for the layer. For this, I'm using ...
2
votes
1answer
451 views

Uploading unprojected shape files using GeoServer REST API

I have a number of shapefiles that lack the .prj file. I'm able to upload them to geoserver using the rest api. However, I'm unable to serve them after upload. Which brings me to the question as to ...
2
votes
0answers
466 views

Zooming the map after filter

I have wms layer and after i do cql filter on this. And now i want to see result. I want map zoomed to this result. My code. ex=layer.getExtent(); map.zoomToExtent(ex); But getExtent() returns ...
2
votes
2answers
2k views

Text layer styling in GeoServer?

I am wondering what is the best approach to use for text layers in GeoServer. AFAIK, there is no text layer in GeoServer. But in many occassions we need to use text layers and not simply label for ...
2
votes
3answers
869 views

How to join a WFS layer to a stand-alone table in OpenLayers

I'm a complete novice at OpenLayers, and am checking whether the following is possible. I envisage a dataset of polygons in GeoServer, being served as a WFS layer into OpenLayers. The polygons won't ...
2
votes
4answers
3k views

WFS getfeature request with diffent SRS

I'm having problems with a WFS getFeature request. I'm using openlayers with an OSM map as baselayers which use the google projection. Overlaying the layer with WMS works perfect. When I do a request ...
2
votes
1answer
3k views

How to add labels to a WMS layer using OpenLayers and GeoServer?

I have point of data in mysql server. I am displaying this layer as WMS using OpenLayers and GeoServer. How can I add label to this layer?
2
votes
2answers
3k views

WFS via Geoserver - Proxy or MapDocument Issues?

I struggle getting a WFS overlay from geoserver to work. I think I meet all the requirements for the WFS to be displayed in my map, but the request seems to get stuck somewhere... FireBug gives the ...
2
votes
1answer
1k views

GeoServer converting PostGIS timestamp with time zone

In a PostGIS view i have a field of data type "timestamp with time zone". In GeoServer this field is show with datatype "Timestamp" My problem is that i want the Timestamp to be show in my ...
2
votes
2answers
1k views

Get the list of layers in a store from geoserver

Is there a way to get the all the layers present in a store in geoserver? My JS file contains code for each layer present in a store. So when I publish a new layer in geoserver I have to manually ...
2
votes
1answer
787 views

how to download a file from geoserver gml from a url using javascript?

how to download a file from geoserver gml from a url using javascript? I'm doing a web application with javascript, but I could not download files from geoserver, the url given entry does not bring ...
1
vote
1answer
76 views

Why don't set Geometry column in OpenLayers wfs-t request to geoserver?

I want to edit a vector layer(its a point layer) using OpenLayers 3.6 and then save it with wfs protocol. I'm using Goserver 2.8 in server side. I define my layer as follow: var ...
1
vote
2answers
123 views

No popup on map if no feature is selected

I've got a webmap showing data coming from a Geoserver instance. With better.WMS.js I made it possible to display popups. Everything works nice except that the map shows popups too where there is no ...
1
vote
1answer
85 views

Unable to view my local geoserver in that dropdown menu of Open Geosuite 4.5 Version?

I'm using GeoExplorer(Web Map Client) in Open Geo Suite4.5 version. I use to upload the layers from my LocalGeoserver by clicking on Add Layers Button. But now i'm unable to view my local geoserver in ...
1
vote
0answers
120 views

Update WFS Layer with QGIS - Commit errors

In QGis: Importing WFS Layer from Server, changing Attributes, trying to save. I get Commit errors: Could not commit changes to layer ah_neu:mylayer. The geoservers logfile says: 2015-01-21 ...
1
vote
1answer
151 views

Problem serving clean transparency with mbtiles in GeoServer

I'm running across an issue with the display of some historic line maps that I'm trying to serve as a WMS with GeoServer. I have created a mosaic of georeferenced line drawings in ArcMap, and I want ...
1
vote
0answers
105 views

What is wrong with my WFS-T protocol setup?

So I want to transfer some Vector Layer Features from javascript code to my geoserver and then to postGIS, my code looks like this: saveStrategy = new OpenLayers.Strategy.Save(); ...
1
vote
0answers
93 views

GeoServer setup for intercepting WFS-T requests and handle them via PHP

I'm developing a web app which uses GeoServer side by side with a PHP framework. My goal is to be able to intercept WFS-T requests to update some records whenever a WFS transaction is executed ...
1
vote
1answer
599 views

Editing WFS with max feature limit in QGis

I'm serving a large layer (500 thousand polygons) using Geoserver WFS and what to be able to edit it using QGis. I've set a feature limit on the layer so I wont overload GeoServer with the request. I ...
1
vote
1answer
2k views

How to configure proxy.cgi in windows using apache and geoserver?

I want to dispaly my layers on a server. I'am using geoserver 2.3.2 and apache 2.4 Till now i Create a proxy file in referring in this link : ...
1
vote
1answer
152 views

GeoServer; Blocking GeoServer-users' access to specific folders on host drives

Is it possible to adjust GeoServer in a way to block GeoServer-users' access to specific folders in the data directory? (I mean the actual folders on the computer drive where the shapefiles are ...
1
vote
1answer
222 views

GeoWebCache: Is there a way to empty the cache only for a certain zoom level?

This is a follow-up to this question. In short, I was overambitious in seeding and now my /usr filesystem is full. Take a look at the cache occupancy broken down by zoom level. (Data is OSM South ...
1
vote
1answer
414 views

Layer sets not enabled after change style via REST.

I changing layer's style via REST api: curl.exe -v -u new_user:123456 -XPUT -H "Content-type: text/xml" -d ...
1
vote
1answer
584 views

GeoExplorer provokes “401 Unauthorized” request and lacks login

Currently I have a login problem with my deployed GeoExplorer. Everything works fine in debug mode on my local VM with the geoserver from my remote server connected. Firebug gives the following output ...
1
vote
1answer
2k views

Geoserver ImageMosaic: error connecting to WorldImage

I would like to use the ImageMosaic plugin to set up a Geoserver layer which refers to a WorldImage, just like in the official tutorial. As a simple test case, I put a custom folder into my Geoserver ...