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
0answers
310 views

Geoserver Tile Generating

I'm a complete newbie at this so please excuse my lack of knowledge. I need to be able to place hundreds of thousands of points on a map. I'm using OpenLayers with Google Maps base layer and I just ...
1
vote
1answer
151 views

Geoserver Cascading WMS, Wrong Projection

I configured a geoserver store with an external WMS. I used the following WMS url http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?VERSION=1.1.0&REQUEST=GetCapabilities Once I saved the store, ...
5
votes
1answer
1k views

Calculating distance in WGS84 (MySQL and Geoserver)

Here is the environment in which I work: An application using geo-referenced data Database MySQL 5.5, storing georeferenced points A Geoserver server, connected to the MySQL database Here is the ...
5
votes
2answers
788 views

Problem with Styles having a Workspace

I've encountered a little problem with my styles having an assigned workspace. For one, I've got to admit that I'm not really sure what good does it make to put a certain style inside a workspace. I ...
0
votes
1answer
1k views

Not Found proxy.cgi file

I have a problem with proxy.cgi. I read other posts but didn't find a solution. When I make my WFS request in console, the following error comes up: "POST http:// ...
3
votes
0answers
698 views

Add SLDs to GeoServer using REST API Fails

I have been writing some python code to automatically add data layers from PostGIS to GeoServer and attach a suitable SLD as default. I got this working using the following code: ...
6
votes
2answers
805 views

“Poor” quality when zooming out a WMS-Layer based on GeoTiff data

i am having some issues when using the Geoserver Web Mapping Service to display GeoTIFF-Files. When zooming out (in an OpenLayers-Client or in the Geoserver Layer Preview for instance) the quality ...
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 ...
3
votes
1answer
1k views

Openlayers: OGC Filter problem

I have a problem with OGC filter. My layer in OpenLayers has this filter: filter: new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.BETWEEN, property: ...
5
votes
1answer
6k views

How to set up a layer control using Leaflet?

I have been working on a mapping application using Leaflet. I am using a WMS on Geoserver to get my layers, which are overlaid on a cloudmade basemap. I tried to use the layer control on my map by ...
3
votes
0answers
141 views

Display house numbers on the street corners

I have a street map (MuliLineString geom and house numbers min and max, left and right). I would like to show this numbers on the street corners. I use GeoServer. If I use the TextSymbolizer with ...
1
vote
0answers
554 views

GeoServer timestamp format

In my app, I use GeoServer to serve my features and OpenLayers as a client. My data contains dates info in this format: 'yyy-mm-dd hh-mm-ss' but when it comes from GeoServer, it appears like: ...
4
votes
0answers
254 views

How to get exact featureinfo in wms layer Geoserver [closed]

I got neighbor polygon feature info instated of clicked polygon feature info. In My Code: getfeaturenfo :function(e) { coordinates=e; var params = { ...
3
votes
1answer
756 views

How to set up a background map in WGS84 projection for interactive map?

I've started developing my own interactive map and I have some things which are not clear to me. I heard that OSM, Google maps and all similar maps use Google Mercator projection. But if I use that ...
2
votes
0answers
267 views

How can you parameterize ColorMapEntry in a style?

Is is possible to parameterize ColorMapEntry in a style. I want to be able to specify different values for "quantity" in ColorMapEntry when I request a raster layer. Thanks!
3
votes
1answer
2k 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
0answers
516 views

SLD filter with embedded strTrim function in Geoserver

Using Geoserver 2.2.2 (GeoTools Version 8.4) on Windows 7, I'm trying to create a SLD that trims the leading and trailing spaces of a string property (using the strTrim function) and compares it to a ...
7
votes
3answers
2k views

Is it possible to install GeoServer on a web server?

Is it possible to install and use GeoServer with PostgreSQL on a website which is hosted by a web server provider? I am using a web server for my website. I want to add mapping feature on my website. ...
3
votes
3answers
828 views

Geoserver, PostGIS and Postgres setup better on which web server?

Is it better to have Jetty or Apache as a Webserver for GIS stack?
9
votes
2answers
2k views

Only return the NumberOfFeatures in a WFS query

I'm running a GetFeature WFS query in Geoserver (looking for features within a polygon) but all I actually want is the total number of features. Is there a way of just returning this info (in the hope ...
1
vote
0answers
56 views

How can I change the size of labels and points in GeoServer? [closed]

I am beginner in GeoServer. I was able to do some task by my professor they want me to change different size of points in map of GeoServer example I have my database named "PLACES" then these are the ...
6
votes
1answer
3k views

Problem with WFS filters (BBOX, INTERSECTS)

I'm trying to get a feature/features from a small area using the BBOX (or INTERSECTS) filter in my WFS query. I should be expecting only a small set of features or a single feature and yet the query ...
2
votes
0answers
1k views

HelloWPS Tutorial GeoServer [closed]

I have a problem with creating WPS-Processes for GeoServer. I followed the "Hello World Tutorial": When I want to start GeoServer, the application doesn't work anymore ("The requested resource is ...
2
votes
1answer
112 views

How to save the edited features on a layer back to postgis table?

I have postgis + openlayer+ geoserver. I have developed an app which can show layers from postgis DB, allow user to edit,add,view features on a vector layer. Now, my need is to save the edited or ...
2
votes
1answer
181 views

Geoserver Exception Handling [closed]

I'm implementing an application that uses GeoServer deployed on apache tomcat. I would like to know if there is a way to handle an error case, such as when GeoServer is hung. For example, I'd like to ...
1
vote
2answers
458 views

Priority labelling in geoserver

Good day can i ask something about geoserver 2.2.1? I have my maps then i want to see the largest cities before the small cities but i don't have population instead i have my PLACE column its not a ...
1
vote
0answers
128 views

What solution is there to project google/bing layers to another EPSG (e.g. 3844)?

I am using Geoserver and Openlayers. The Openlayers map has all the layers in EPSG:3844. I need to overlay Google/Bing layers. I am currently trying to do it with proj4js, mapproxy.org as openlayers ...
7
votes
1answer
1k views

In SLD, how do I add a string to a label describing a property?

Using Geoserver, is there any way that I can add a predefined string: "No. " to a property: postalnumber? <sld:Label> <ogc:PropertyName>postalnumber</ogc:PropertyName> ...
7
votes
3answers
8k views

How to make geoserver return JSON for WMS GetFeatureInfo?

I wish to get the results of a WMS GetFeatureInfo request as a JSON instead of the table that comes up by default. Out of the box, the only options for the response from a WMS GetFeatureInfo are the ...
1
vote
2answers
2k views

How to style a shapefile in GeoServer?

I have a shapefile data of buildings. I added it to GeoServer and serve it as a WMS layer. When I check my own maps in the browser my polygons of building appear black color and I want to change it's ...
1
vote
2answers
992 views

OSM data imported. Next?

The data was imported using the following command: osmosis --read-pbf file="/usr/local/lib/geoserver-2.1.3/data_dir/argentina.osm.pbf" --write-pgsql database="argosm" password="1234.5" user="argosm" ...
2
votes
2answers
403 views

Why does GeoServer copy my PostGIS tables?

I have some geospatial data in a PostGIS database. I want to serve that data to a web map app with GeoServer. But every time I add a table as a layer in GeoServer, it creates a duplicate table in ...
3
votes
1answer
912 views

Dynamic SLD styling - unique colours for linestrings

I have a postGIS table that looks like this: (plus a 'track' geometry column, a linestring for the vessel's track) sampling_interval | voyage_name | start_time_utc | id | ship_name | ...
3
votes
1answer
410 views

Best practice for serving data to OpenLayers client

We have some polyline and point data in SHP format and would like to serve that data to an OpenLayers client. First we thought about converting the data to GeoJSON and send it to the client as a ...
1
vote
1answer
760 views

Error on Geoserver Web Admin Page

When i click on Geoserver Web Admin Page gives Message as 'Bad Request (Invalid Hostname)' in web page. I have already data of on going project in geoserver. I have started Geoserver. My geoserver ...
5
votes
2answers
743 views

How to display a lot of images with OpenLayers?

I would like to display a lot of images at same time. The images are georeferenced (they have extents), with some labels on top of it which, on click, open popup. I can not say how many exactly ...
1
vote
1answer
245 views

Can I use GeoWebCache with GeoServer Layers which have different native and declared SRS?

We are using GeoServer to serve raster tiles with a native SRS of 27700, but are forcing use of a declared SRS of 900913. When I try to seed these tiles using GeoWebCache through the GeoServer web ...
2
votes
1answer
613 views

Why does Geoserver not serve my primary key/ id?

I have a postgres/postgis table with the columns: gid [PK] serial NOT NULL, geom geometry(MultiPolygon,900913), crop text My layer in Geoserver however only shows me the feature types "geom" and ...
1
vote
0answers
133 views

GeoServer and PostGIS connection technology

Does anybody know how GeoServer connects to PostGIS. Which technology is used? Is it JDBC? Thanks
1
vote
1answer
1k views

How to make Stored Queries for WFS 2.0.0 in Geoserver

I am a new user of Geoserver. I have created a WFS and also could connect it with the QGIS WFS 2.0.0 Client plugin available now. But as like the default WFS link in that plugin I am not able to make ...
2
votes
2answers
1k 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
461 views

Raster Over Layer in Leaflet from GeoServer

I want to add a raster over layer onto the base layer and the raster layer is published by a Geoserver WMS. I set the raster layer's geographic coordinate system as the same as the cloudmate tiles. ...
1
vote
0answers
120 views

Why does the map take so long to display and appear distorted?

I have map rendered from geoserver but it takes too much time, again shown map is half-shown and distorted as the following image, SOMETIMES THE MAP DOES NOT EVEN DISPLAY My JAI setting is as below ...
3
votes
1answer
957 views

Best way to create tiles

Within a GeoServer framework, does anybody know how I might best create/cache tiles based on layers stored in PostGIS? I am aware of Mapnik and have created a simple TMS using python (+ Django) but ...
1
vote
1answer
309 views

How to use CQL_FILTER for the highest value in a layer field?

I need to query/filter my wms in openlayers to only see the polygons classified with the highest values in a given field. Would be something like: wms_layer.mergeNewParams({'CQL_FILTER': "ND = ...
1
vote
1answer
668 views

Cache tiles doesn't seems to work in GeoServer

I've grouped some vector layers (from SHP files) in GeoServer (they are EPSG:2039) and created cache for them (GeoWebCache lets you choose EPSG:4326 OR EPSG:900913) Once I've fired my App it didn't ...
1
vote
0answers
97 views

Is it possible to automate creating an image pyramid store with Geoserver?

Geoserver has a REST API to automate Geoserver commands, however I do not see any examples of how to automatically create an Image Pyramid store and associated layer. Is that possible? Can anyone ...
4
votes
4answers
857 views

Caching / Preloading data for use with WMS queries

Hoping someone can help me with this issue. I've got a map implemented in my web application using OpenLayers that makes WMS queries to GeoServer that in turn queries a Postgres (PostGIS) database to ...
0
votes
0answers
384 views

How to embed an OpenLayers map in a blog post?

I have a map in GeoServer which I need to publish in a blog post. I'm pretty sure this is possible but I am not managing to make it work. I'm posting the html source code from the openlayers layer ...
0
votes
3answers
1k views

Proxy Issues for WFS and GeoServer - Running on Local Machine

I see that a number of similar questions have been asked, but I cannot find the answer to mine so I will be as specific as I can. I am trying to create an OpenLayers map that can run without an ...