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

learn more… | top users | synonyms

1
vote
1answer
860 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
313 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
1answer
909 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
551 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
149 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
1k 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 ...
5
votes
1answer
75 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
279 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
904 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
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
668 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
1answer
661 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
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 ...
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
414 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
279 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
405 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, ...
3
votes
1answer
1k 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
616 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
3k 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
613 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
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
1k 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
677 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 ...
2
votes
2answers
459 views

GeoServer Point Stacker: does identify work on non-clustered points?

I'm a newbie to use GeoServer and SLDs so, sorry in advance if my question is stupid. I'm trying to use the Point Stacker rendering transfomation for to cluster my point layer. I've a POSTGIS point ...
2
votes
0answers
820 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
170 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
309 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
476 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
354 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
575 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
643 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
561 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
271 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
882 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
894 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
354 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
2k 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
401 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
398 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
1answer
2k 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
871 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
864 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
1answer
736 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 ...