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

learn more… | top users | synonyms

6
votes
2answers
2k views

Can i do Custom Styling on Geoserver

i want to use Geoserver WMS server for custom styling. lets say i have an area as polygon in a shape file. But i dont have this area's temperature as an attribute. From a web service i gather ...
6
votes
4answers
6k views

Create a Layer in GeoServer using REST

As part of a possible solution to this question i want create a layer in GeoServer via REST that supplies a SQL statement along with a userid. Reading I think i would create a feature type and ...
5
votes
2answers
2k views

How to migrate geoserver? [duplicate]

I have a geoserver installed on a server and I want to move the geoserver to another server. What is the easiest way to do that?
4
votes
1answer
1k views

Does anyone display OpenStreetMap through MapServer, ArcGIS for Server or Geoserver?

I use Windows OS. The data (OpenStreetMap) are stored in a postgres/postgis database. How do I display this data correctly? Update: Now I use: geoserver-2.3.5.exe, ...
3
votes
4answers
8k views

How to add wms layer in OpenLayers from a geoserver?

How to overlay a wms layer from geoserver (localhost)in Open layers? What is the basic syntax of Geoserver WMS Layer? Details are as follows: workspace name: india layer name:hospitals ...
7
votes
6answers
3k views

The International Date Line wrap around

Using OpenLayers, I added a WFS layer (on GeoServer) with a filter that returns all features (black) that intersect my polygon (yellow) placed over some Latin American countries within certain dates. ...
5
votes
1answer
2k views

WFS-T: changes not saved on an OpenLayers map

I have written a script allowing to display a few WMS and WFS layers and I want to make my 2 WFS layers editable. I have all my controls and can draw / modify / drag / delete my features but, on one ...
5
votes
2answers
438 views

How to develop a map with layers in Geoserver?

I have two shapefiles and two rasters. I need to develop a map in Geoserver (ver. 2.0.2) with those 4 elements. They should be like layers which I can turn on or off. I added them on Geoserver like ...
4
votes
1answer
2k views

How to get bbox from capabilities?

I have WMS layer and want use zoomToExtent after CQL filter. So i gonna get bbox from geoserver. wms = new OpenLayers.Format.WMSCapabilities(); OpenLayers.Request.GET({ ...
3
votes
4answers
6k views

How to host my GeoServer+Openlayers web mapping application on the internet?

I have created a web mapping application prototype using GeoServer (running on Tomcat as the servlet), Openlayers and PostGIS. Since it was a prototype, at that time, i did not bother about the ...
3
votes
1answer
7k views

Combine Leaflet with Geoserver WMS map

I'm not very skilled within the GIS world, however, I would like to know if it's possible to use this map: ...
3
votes
1answer
1k views

Getting MongoDB working with GeoServer 2

I'm trying to use MongoDB with GeoServer but it is actually not working at all. Someone once posted this: Getting MongoDB Working with GeoServer, but since he could solve his problem without any help ...
3
votes
4answers
3k views

How do I get Geoserver to run on my Webserver?

Thanks to iant, dariapra, RK, & rangvald, as the combination of setting up the Geoserver Proxy in the interface, and making changes to the Apache & Tomcat worked. I can now click on the Open ...
2
votes
4answers
799 views

Line stroke offset in Geoserver

Does anyone know how to offset a stroke in Geoserver? For example I will color the left side of the street (line feature) red and the other side (same line feature) blue. I believe I will be using 2 ...
2
votes
1answer
2k views

Help Setting up GeoServer Proxy with OpenLayers

I have a GeoServer WMS in Apache-Tomcat at http://localhost:8080 and a mod_wsgi app in standard Apache at http://localhost:80/myapp. My OpenLayers map is being hosted statically by the Apache-Tomcat ...
2
votes
1answer
2k views

Cannot populate a Ext GridPanel through GeoExt WMSCapabilitiesStore

I've been working through a few tutorial/starter map samples on the OpenGeo and GeoExt websites and have come upon a problem I cannot solve. I'm trying to load a list of layers from my GeoServer into ...
1
vote
1answer
443 views

How to get layer extent in open layers or Zoom to wms layer extent?

I have added wms layers using follow: basemap = new OpenLayers.Layer.WMS( "Layer Name1", "http://localhost:8080/geoserver/wms/workspacename", {layers: 'workspacename:layername'} ); utility = new ...
1
vote
1answer
63 views

create automatically temperature or isotherms map with PostGIS?

Is there any possibility to create automatically temperature or isotherms map through a points table stored in PostGIS? I need to serve this map on a web (Geoserver). The information is updated each ...
1
vote
0answers
611 views

MapFish PDF: Geoserver WMS layers not generated as tree structure

I am using the mapfish printing module in my web map application.In that everything is working fine but layers not generated as tree structure in output PDF file and "ODC_Graphics_Data" wms layer not ...
1
vote
3answers
578 views

How to configure GeoServer for web hosting on window xp?

I want to access my data (shp, img, kml, tiff file) through IE, Google chrome or Mozilla, via local hosting (then through LAN). How to configure the GeoServer, so that the client (IE, chrome) can ...
1
vote
1answer
1k views

Problems using geoserver and postgis to perform wfs transaction?

I have been following the tutorial for transaction. I am using apache webserver and jetty powered geoserver for hosting and using proxy.cgi file for bypassing XHR requests. as described in tutorial ...
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 ...
6
votes
2answers
2k 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 ...
5
votes
3answers
3k views

Are there any Hosting companies, that offer Geoserver?

I am working with a non-profit, and we are planning to have a webmap for them. Most of the hosting providers just offer a simple LAMP setup on their Linux option, and if you want to install any ...
4
votes
1answer
1k views

How to find markers in selected dragbox openlayers 3?

Here is a part of code, draw = new ol.interaction.DragBox({ /* dragbox interaction is active only if alt key is pressed */ condition: ol.events.condition.altKeyOnly, ...
4
votes
1answer
609 views

WFS Query Failing when using Logical OR

I'm having some difficulty when using a Logical OR in a WFS query to get multiple postcodes. This code works fine when it's only 1 PropertyIsEqualTo filter, but when I wrap the OR around more than one ...
3
votes
2answers
269 views

Displaying a GeoServer Map from a Java Mobile Application

How can I display a Map generated by GeoServer from a Java Mobile Application? I would like to display it inside a Java App instead of a android application. Is this possible?
3
votes
1answer
925 views

Serving 4 band GeoTIFF in GeoServer 2.1.4

I have an uncompressed GeoTIFF file (figure 1) with the following band information: Image Structure Metadata: INTERLEAVE=PIXEL Band 1 Block=5000x1 Type=Byte, ColorInterp=Red Band 2 Block=5000x1 ...
3
votes
1answer
5k views

GetFeatureInfo Request with GeoServer and OpenLayers.loadURL Not Working

I'm making a simple GetFeatureInfo request against a GeoServer WMS, but it returns empty responses. The request utility I'm using is OpenLayers.loadURL. The funny thing is, I can paste the generated ...
3
votes
2answers
3k views

Using REST service with GeoServer

I have downloaded and installed GeoServer 2.1-RC1 which shipped with RESTconfig. How can i check whether REST service is installed with GeoServer or Not ? I put this ...
2
votes
1answer
1k views

Problem with WFS-T save strategy in Openlayers

In my web map application, I have added the editable wfs vector layer for feature editing. But in save strategy method, Insert and Update Geometry is working fine.But Update Attributes is not saved in ...
2
votes
2answers
572 views

GeoServer WFS Row Level Security?

I'm trying to implement row level security with GeoServer. I know out of the box it supports service, layer and REST security and not row level. However I'm sure there must be a work around. Has ...
2
votes
2answers
4k views

Can WMS be used to get a local copy of raster data?

I have tried reading up on WMS on wiki and other sources but haven't managed to get my head around a couple of points. 1) Using WMS is it possible to get a local copy of the raster data (say a tiff ...
2
votes
2answers
4k views

Access-Control-Allow-Origin error in web map

I am having trouble getting a WFS layer working using Geoserver, OpenLayers and GeoExt. I get the following error: XMLHttpRequest cannot load http://10.0.0.155/geoserver/wfs. Origin ...
1
vote
1answer
363 views

OpenLayers 3 - submit SLD text in wms call

Earlier versions of OpenLayers allowed for the submission of the text of an SLD in a call to the server side WMS. This describes the procedure, and cautions that, if your sld is too long, you ...
1
vote
2answers
212 views

Prepare raster data for wms using geoserver!

I have some orthophoto of different resolution (urban 8cm pixel, hill 20cm pixel, mountain 35 cm pixel) which cover an area of 28000 km2. Those are in jpg format, already georeferenced. I need to ...
1
vote
1answer
619 views

QGIS SLD in GeoServer

I rendert a beautiful with QGIS based on OSM data. Now I want to publish it via GeoServer. I am new to GeoServer but as far as I it does not accept SLD files created by QGIS. My GeoServer cannot ...
1
vote
1answer
515 views

Display data from geoserver on click map with openlayers

I tried to display data with popup from Geoserver or Postgres to my map, but it dosen't work at all. Can anyone please help me? I used this code: function Info(e) { if ...
1
vote
0answers
385 views

Editing PostGIS data in ArcGIS Desktop?

Quick question regarding editing PostGIS data in ArcMap 10.0. Far as I can tell, this can only be accomplished through third-party plugins like GISSquirrel or ST-Links. Does anyone know of an ...
1
vote
1answer
2k views

How can I style OSM data in geoserver? [closed]

I've been trying to style OSM data imported using osm2pgsql and served through geoserver. The tables generated by osm2pgsql are: planet_osm_line, planet_osm_point, planet_osm_polygon, apart from the ...
1
vote
1answer
1k views

How to insert a list of parameters from a parametric view in OpenLayers?

After successfully (with the precious help of members from stackexchange) creating a Geoserver parametric view that works as it should, now i'm facing another problem: How to pass a list of parameters ...
1
vote
1answer
424 views

GeoServer - set declared SRS with rest api

I am using a c# application that creates and update featuretypes in Geoserver via REST. I need to set the declared srs, but I couldn't find how to do so.
1
vote
2answers
457 views

How to publish shapefiles with GeoServer?

I have multiple shape files of my country, its states and cities. I want them to display in map i.e. First layer is country, then states-layer and then cities layer. I only know that to do this, first ...
1
vote
1answer
802 views

GeoServer WPS Aggregation Functions Example

The scenario: I want to present a user with names of polygons from a layer in GeoServer. I then display the polygon(s) whose name(s) the user selected. What I've done: I have a search box, which ...
0
votes
0answers
50 views

Edit features (Add ,Delete and Update)

I'm using Geoserver 2.7, Openlayers 2.10 and PostgreSQL 9.3 for web-mapping application. I need to allow users to save polygons drawn in the database, delete and modify them.
0
votes
0answers
236 views

Proxy.cgi for OpenLayers reading from GeoRSS but not from WFS

I'm having trouble with the standard proxy.cgi written in Python for OpenLayers. Here's my code: #!C:/Python27/python.exe -u """This is a blind proxy that we use to get around browser restrictions ...
0
votes
0answers
53 views

Publish rasters stored in PostGreSQL with GeoServer [duplicate]

we are trying to publish some raster images stored in our Postgres database. First, they were generated from satellite images (spectral indexes). Then we uploaded them with raster2psql as tables. So ...
0
votes
2answers
442 views

Python Geoserver gsconfig create resource from Postgis store table

I've working Workspace and PostGIS store in GeoServer. I would like to use python and gsconfig to create new resource/new layer from existing PostGIS table, with: computing bbox, adding abstract, ...
0
votes
1answer
559 views

GeoServer + dynamic datapath layer

My app based on Mapserver contains dynamic layers and using PHPMapscript I modify MAPFILE->LAYER->DATA value based on a parameter that comes via GET. Or I could even use RegEXP in the LAYER->DATA ...
0
votes
0answers
97 views

not able to view imported .tif file in geoserver

I am using geoserver. I have imported a .tif file using postgis, which has been saved in vector type layer in geoserver. Now, whenever, I preview it, the layer gets automatically downloaded as wms ...