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
2answers
1k views

What is the SRS code for Lambert Conformal Conic projection and GCS Everest Definition 1962?

I have a shapefile with Geographic Coordinate System is "GCS_Everest Definition 1962" and the Projected Coordinate System is "Lambert_Conformal_Conic". I want to add this shapefile in Geoserver. But I ...
3
votes
3answers
2k views

How to access both IIS and Geoserver at port 80 from outside the production environment?

At production server, IIS and GeoServer are installed. I can access IIS at port 80 From out side the production environment. i also want to access GeoServer at the same port 80 from out side of ...
3
votes
1answer
2k 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
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
2k views

How to send WPS request using OpenLayers

I have generated the WPS request below using GeoServer's WPS Request Builder. I wish to append more parameters to this request (geometry selection), and then send it either using GET or POST from ...
3
votes
1answer
164 views

How to add time and elevation dimension attributes to Geoserver rasters?

In geoserver, when I edit a postgis raster layer and click on the Dimensions Tab, I can't enable either of the Time or Elevation dimensions. The following message appears next to each of the ...
3
votes
3answers
2k views

GeoServer layer preview shows only missing images for tiles

Just getting started with GeoServer and already running into problems. When I click on Layer Preview and view any of the preloaded data in OpenLayers (or any other format) it is just blank and has the ...
3
votes
3answers
2k views

How to start with Geoserver REST api?

i want to start use Geoserver REST api, but have no idea how to use it. In Geoserver docs i found some examples but then use cURL. Google says what cURL its console comand utilite. So i dont ...
3
votes
1answer
520 views

How to use stored procedure in Geoserver?

I have a MS SQL Server 2008 R2 with and have stored procedure in here. I want to create layer in GEoserver using this. I try: EXECUTE [dd_base].[dbo].[Request BaseSration] 'param1', 'param2', '...
3
votes
1answer
4k views

Reproject a vector layer (EPSG:27700) using WFS onto a googlemaps background (EPSG:900913)

I have the following HTML-javascript code and i have problems reprojecting the vector layer (WFS) from EPSG:27700 (British National Grid) to EPSG:900913 (googlemaps). I managed to project the WMS ...
2
votes
1answer
24k views

Uncaught SyntaxError: Unexpected token : when using ajax

I try to call json data from geoserver, but when i try to run it in chrome, it return this following error "Uncaught SyntaxError: Unexpected token :" This is my code, function initialize(){...
2
votes
2answers
2k views

GeoServer and OpenLayers in production - Securing WMS calls?

I've a mapping site where users have to login in with username and password. Once logged in the user gets a map of their data using WMS and WFS to display and edit data. This data is served using ...
2
votes
1answer
1k views

Problem in importing raster data from PostGIS to Geoserver

I am using Opengeo Suite 3.0.2, PostGIS 2.0.3 and PostgreSQl 9.2. I am trying to import raster data from PostGIS to Geoserver but facing an error. I follow this tutorial link to import the raster ...
2
votes
1answer
621 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 u="http://localhost:...
2
votes
1answer
372 views

Monitoring Geoserver for Production Environment

Is there any opensource server monitoring is available for Geoserver ? Like watchdog and nagios? Suppose if geoserver is stopped working whether mapmeter will automatically start it..Like the ...
2
votes
1answer
569 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 = "/cgi-bin/proxy.cgi?...
2
votes
1answer
3k views

Geoserver, OpenLayers so slow for WFS! Why?

I am displaying 100 000 points in a layer via WFS protocol. I need about 5 minutes. However, 100 000 does not seems so much... My points are stored in PostGIS, in a column defined this way : ...
2
votes
1answer
1k views

geoserver wfs insert error

I keep getting an insert error from geoserver when trying to save a point, poly etc etc to my postgis table. any ideas, my code is below var Projection = new OpenLayers.Projection("EPSG:4326"); ...
2
votes
2answers
442 views

Upgrade strategy for geoserver 2.1.4 to 2.5.x

I have a 2.1.4. geoserver installation and I wish to upgrade to the latest version which is currently 2.5.2. Can I do this at once by installing the latest version or is it wise to do an intermediate ...
2
votes
1answer
342 views

Geoserver: Georectification via SLD fails

Situation I have a raster image and the coordinates of its four corner pixels. My goal is to warp the image with respect to this coordinates ("georectify") on the fly when requested via GeoServer to ...
1
vote
1answer
320 views

Optimizing JVM for Geoserver running in Tomcat in Windows environment

I keep reading that I should set the JVM parameters for Catalina in my Catalina.sh file. I am running Tomcat 8 as a Windows service. There is no Catalina.sh file. I tried adding JVM optimizations ...
1
vote
1answer
1k 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 OpenLayers.Layer.Vector(...
1
vote
1answer
973 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
2answers
1k views

Is it required to use BBOX strategy with WFS protocol in OpenLayers?

is it a must to use BBOX strategy with WFS protocol in Vector layers ? I cannot display this layer without BBOX strategy: vLayer = new OpenLayers.Layer.Vector("Test", { styleMap: new ...
1
vote
1answer
76 views

can geoserver select one of many rasters from a postgis table

I have a postgis table with many different rasters in it. Is it possible for geoserver to grab only one of the rasters from the table based on something like a where clause?
1
vote
0answers
48 views

Cannot view WMS of GeoServer WFS unless logged in?

I'll use the import extension to import a KML file. When I go to Layer Preview and use the OpenLayers option (basically, a WMS GetMap url), it displays. When I try to use the url in a browser and I'm ...
1
vote
1answer
1k views

Dynamically adding WFS layer features with Geoserver

I am investigating using Geoserver to output new WFS layer features dynamically. We have a backend process that will be generating new WFS features periodically that will be placed in a datastore (...
1
vote
2answers
2k views

Looking for a MAP to SLD converter

Does anyone know where I can find the converter from .map to .sld? I have a big mapfile of styles for OSM and I have the styles mapnik.xml for OSM but I use Geoserver for my work. Or does anyone have ...
1
vote
2answers
3k views

GeoServer WMS Layer not working in OpenLayers

Here is my code: var map; function init() { var options = { maxExtent: new OpenLayers.Bounds(-135.326858520508,-30.5615100860596,179.357788085938,69.604377746582), units: 'm', projection: "...
1
vote
1answer
348 views

Proper way to create indoor map in GeoServer

I'm trying to create an indoor map(from floor plan) in GeoServer and display in via OpenLayers. The only way that I found is to create a Store in GeoServer(in my case, using ImagePyramid) from ...
1
vote
1answer
1k 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
144 views

What is the best possible configuration for opensource GIS web application to generate a war file?

I have developed a GIS web application using OpenGeoSuite for Electricity Asset Management System. It uses Geoserver, PostGIS/PostgreSQL, PHP, GeoExplorer for normal functioning. However, I need to ...
0
votes
3answers
175 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 ...
0
votes
1answer
1k 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 ...
6
votes
1answer
7k views

Custom marker/icon based on attribute data in leaflet/geojson

I would like to add different icons to my leaflet map based on attribute data. My layer is a geojson layer, it is coming from geoserver with jsnop. I can see my data with the default marker, but when ...
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 ...
5
votes
0answers
174 views

GeoServer ImageMosaic PostGIS index update

I use GeoServer where I created an ImageMosaic storage following this manual. When I create new datastore, all *.tif files are indexed into DB (PostgreSQL with PostGIS). How can I create new index in ...
5
votes
2answers
4k 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 ...
5
votes
1answer
119 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). http://trideg.server.de/tridec/wms?service=WMS&version=1.1.0&request=...
5
votes
1answer
789 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 ...
5
votes
3answers
2k views

Is Geoserver's “styler” plugin dead?

The "Styler" plugin for Geoserver promised flexible styling of your data, using the GeoExt library: The user guide tells you to first install the REST plugin, and then extract the styler zip file ...
5
votes
1answer
414 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 ...
4
votes
7answers
2k views

What map source/API/tools are recommended to create Web GIS/Mapping application utilising Microsoft technologies? [closed]

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 ...
4
votes
1answer
3k views

Layer visibility using maxscale minscale not working

I'm using Openlayer and Geoserver. I have a series of layers that have a scale parameter like: 1:50000-1:25000 where 50000 is the max scale while 25000 is the minscale. I have a map like in this ...
4
votes
6answers
240 views

String update - only first character gets stored

Client: OpenLayers / Server: Geoserver When I update a WFS Element, JAVASCRIPT: element.feature.attributes.ENAME = "Mystring"; saveStrategy.save(); HTTP-POST: <wfs:Property> <wfs:...
4
votes
2answers
892 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, ...
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 ...
4
votes
1answer
4k 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 OpenLayers.Projection(...
4
votes
2answers
559 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, ...
4
votes
1answer
891 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 ...