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
2answers
488 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
130 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
2k 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> </sld:...
7
votes
3answers
9k 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
1k 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
409 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
958 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
414 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
790 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
771 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
247 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
676 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
135 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
472 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
121 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
1k 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
316 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 = max(...
1
vote
1answer
695 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
98 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
889 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
401 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 ...
1
vote
1answer
653 views

GeoServer Layer Preview Stopped Working

I got GeoServer up and running today and created a store that is linked to my postgis database, with a layer corresponding to one of the tables in the database. I then previewed the layer using the ...
3
votes
1answer
965 views

How to pragmatically upload a shapefile to geoserver using cURL? I'm having problems

I'm building the curl command in a python script, but when I run the script I get this error: * Connected to localhost (127.0.0.1) port 8081 * Server auth using Basic with user 'admin' > PUT /...
2
votes
3answers
697 views

Scripting (with) WPS?

As far as I understand WPS (web processing service) can be used to execute geospatial operations on the server side. Is it possible to create scripts with WPS? For example something like: 'check in ...
1
vote
0answers
274 views

How to config geoserver to read style of vector layer from postgis/SQL store?

I've imported vector layers from map info pro to both SQL server and post gis using easy loader. In both cases I've included style column in the exported table. When I create new store in geoserver ...
2
votes
1answer
2k views

Building a thin mapping client with OpenLayers

I have installed GeoServer, inside of tomcat, imported my postgis tables into geoserver and have created my styles etc. I can preview them using openlayers in geoserver. Now, i want to build a simple ...
0
votes
1answer
1k views

What do I need in order to show offline map (tile cached based) of area from OSM using Openlayers?

I want to make an offline map with certain zoom levels of an area from OSM (preferably keeping the styles of OSM). Client will use OpenLayers , If needed I can install Geoserver/Mapserver and MS-SQL ...
2
votes
0answers
106 views

SLD file already exists

Using Geoserver 2.1.3 I do delete sld using rest api with manually delete the sld file. But when I issue a POST new sld with the same name I got an error "SLD file test.sld already exists." Event ...
3
votes
2answers
2k views

General GeoDjango Opinion

I'm forced to crawl out of my intranet and create a public GIS site with quite an extensive dataset. All of my data is contained within PostGIS. I started dabbling with Geoserver/Postgis/OpenLayers ...
4
votes
3answers
2k views

What's the easiest way (style wise) to publish my MapInfo map as WMS?

I've downloaded data for my country from OSM and let a GIS expert to style it for me in MapInfo pro. (I have TAB files and .wor - workspace). When I tried converting them to SHP (for QGIS) I've ...
2
votes
0answers
849 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
299 views

GeoServer: Show (Random?) Subset of Features

Background We have a GeoServer layer backed by a PostGIS table with 22 million smallish features covering the continental US. We're using GeoServer to serve the features as a WMS layer to a client ...
1
vote
0answers
101 views

blank preview image for ImageMosaicJDBC (postgis raster) layer [duplicate]

In geoserver, while publishing ImageMosaicJDBC layer seems no problem, the preview of this layer does not give me an meaningful overview image, only a blank image with the correct lat lon extend. Also ...
1
vote
1answer
146 views

OSM labels look as red point in geoserver preview layer. Why?

I've imported shp directory files of OSM to geoserver and the city label layer look like red dots instead of showing labels of street names. Is there a fix for this ? (should I declare this layer kml ...
3
votes
1answer
2k views

Is there up to date OSM SLD file for GeoServer?

I've tried looking for some but only found old from 2009 which are apparently out of date. Any help will be welcome. This is the sld I was looking at: https://github.com/mitchelljj/openstreetmap-sld
6
votes
1answer
536 views

How to download GeoTIFFs using the REST API in GeoServer 2.2?

I am using GeoServer (Version 2.2 Git Revision f5b5c35076b52d02eb9cca3fa3232bc17b5f6d80 Build Date 19-Sep-2012 18:33 GeoTools Version 8.2 (rev 704570474295e339c08d1ca140d884f23a8a03a3)) and I have a ...
6
votes
1answer
745 views

Geometry errors when importing data from ESRI file geodatabase to PostGIS

When I run the following command to import by data from an ESRI fgdb to postgis... ogr2ogr -f "PostgreSQL" -a_srs "EPSG:28355" -t_srs "EPSG:3857" PG:"dbname=tp_test user=postgres port=54321 password=...
1
vote
0answers
109 views

How to make labels appear in Geoserver? (WMS) [duplicate]

Possible Duplicate: How to avoid duplicate labels on each tile? I have an Annotation Shapefile. I added it into GeoServer as point Shapefile and set its label with the help of the style ...
2
votes
1answer
397 views

Uploading 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 ...
4
votes
2answers
557 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
2answers
3k views

How do I project my WMS tilelayer in leaflet if I want it to display as an overlay on my basemap if they have different EPSG?

So my basemap is a world Mercator projection and in wfs format and I'm trying to put a WMS overlay in a different projection over it? Leaflet's API didn't give me much info on changing the epsg so is ...
1
vote
0answers
409 views

When I try to do a WMS request to geoserver using the leaflet API I am getting a format related error

This XML file does not appear to have any style information associated with it. The document tree is shown below. <ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1
vote
0answers
164 views

What is the best way to create polygons on a map and download files associated with the polygon?

My client wants to build a tourist site and for that he wants a backoffice for the map and the ability to draw polygons on the map (that user can see). When the user clicks on a polygon, he gets a ...
1
vote
1answer
318 views

Unable to add PostGIS table to Geoserver

I am able to add individual tables to Geoserver using, curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml' -d '<featureType><name>quadrella_indica</name></featureType&...
1
vote
2answers
976 views

WFS layer not visible in openlayers

I'm trying to add a WFS layer in openlayers and it's not working. Can anyone point me in the right direction. The data is stored in postgis and I've added it to geoserver. I am aware that I'm using ...
2
votes
1answer
496 views

Key authentication module Geoserver - authkey

I have a problem with this Geoserver plugin. I have done the following: downloaded the plugin from http://gridlock.opengeo.org/geoserver/2.2.x/community-latest/ extracted archive to /var/lib/...