Questions tagged [geoserver]

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

Filter by
Sorted by
Tagged with
5
votes
1answer
4k views

Getting Transaction Support enabled in WFS on GeoServer (Boundless OpenGeoSuite)?

I am trying to publish my feature service using the Boundless GeoServer. It appears that in order to have edit capabilities (I want to be able to add new points to an existing point layer tied to my ...
5
votes
1answer
4k views

Geoserver init.d script

I am trying to write an script which will start the Geoserver service on system boot. A good manual is given here. I am on Ubuntu14.04 and using Geoserver-2.6.1. I have edited the following lines ...
5
votes
1answer
3k views

Get bounding box of WMS

Is it possible to request the bounding box of a WMS from GeoServer? In my case I have a WMS that I show with L.TileLayer.WMS in a Leaflet map. I like to center and zoom my map to the WMS.
5
votes
1answer
3k views

How to configure base layers in Geonetwork

I am trying to get an instance of Geonetwork configured but I can't get base layers to display in the Map Viewer as shown below: I think problem has to do with the fact that I installed Geoserver ...
5
votes
4answers
24k views

How to add WMS layer in OpenLayers from GeoServer?

How to overlay a WMS layer from GeoServer (localhost)in OpenLayers? What is the basic syntax of a GeoServer WMS layer? Details are as follows: workspace name: india layer name:hospitals <...
5
votes
2answers
1k 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 cannot say how many exactly because ...
5
votes
2answers
9k views

WFS Request Layer (GML) with Filter

Is there a solution to request the GML layer from Geoserver with filter like using bbox: http://localhost:8080/geoserver/tiger/ows?service=WFS&version=1.0.0 &request=GetFeature&typeName=...
5
votes
1answer
3k views

grib2 to raster? (grib2 -> raster2pgsql -> PostGIS 2.0 -> GeoServer)

I'm looking to implement import of US National Weather Service data for doing various sorts of models (www.soils.wisc.edu/uwex_agwx if you're curious about what we're doing with the data). The ...
5
votes
3answers
2k views

Displaying geometry returned from ST_Buffer in PostGIS with OpenLayers?

I'm using PostGIS, GeoServer and OpenLayers, and the thing is that I want to display the geometry result from a query like this: SELECT ST_Buffer(ST_GeomFromText('POINT(100 100)'), 500); To perform ...
5
votes
2answers
3k views

Clicking on a polygon-opening a page/link

I have a many polygons on my map serving through WMS from geoserver. I want to implement the task such that when the user clicks on a particular polygon , he should be directed to a html page about ...
5
votes
3answers
1k views

Create circles using a formula

I am doing a project for a telecom company. I have to render circles on the map(assuming the center of the circle as tower and circle as the area covered by that signal), I am using base layers as ...
5
votes
1answer
8k views

Access-Control-Allow-Origin Openlayers WFS

I try to use a WFS service with OpenStreetMap to request GeoServer GeoJSON file. First I had a error message on the Firefox Cross-Origin Request Blocked: The Same Origin Policy disallows reading the ...
5
votes
3answers
1k views

Geoserver : add extra style (SLD) with Curl

In my geoserver I have a layer with a default style (SLD) and i want to add another style to this layer with Curl. I tried command below with <style></style> instead of <defaultStyle&...
5
votes
3answers
626 views

GIN/GiST Full Text searches through openlayers, geoserver and postgres

I have a a web app that automatically maps recent tweets and allows you to search for certain keywords. it uses Postgres for the database, geoserver as the server, and openlayers as the cartographic ...
5
votes
2answers
1k views

Radar data - animated gif in GeoServer

I have 7 animated gifs (5 animations in each gif) with bounding coordinates of real time radar data. The number of these will grow significantly over the next year or so. We are currently serving ...
5
votes
1answer
9k 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 ...
5
votes
3answers
2k views

Why is the curl syntax unable to create datastore?

I am implementing the following code to upload an existing shapefile as per the documentation, curl -u admi PUT 'Content-type: application/zip' \ --data-binary @/var/www/geo/shapefile/zip/...
5
votes
3answers
3k views

Should I use gdal_retile.py or gdal2tiles.py?

I have many GeoTif files that I want to display in google earth with Geoserver. I am wondering if I want to use gdal_retile.py or gdal2tiles.py to create the image pyramids for them to be usable in ...
5
votes
3answers
371 views

How to serve both WFS and WFS-T from one server?

In GeoServer, how can I serve two types of WFS from one server? Setting the type of the service is done once in global settings. Is it possible to have WFS from workspace A and WFS-T from workspace B?
5
votes
2answers
2k views

Adding an external WMS service using REST service with Geoserver

I'm trying to add an External WMS layer to geoserver with a PHP page, using the REST service of Geoserver. I've already read the tutorials for creating the geoserver features (http://docs.geoserver....
5
votes
1answer
469 views

Dynamic label in SLD Style

I have a dynamic style in Geoserver, like below: <sld:ColorMap> <sld:ColorMapEntry color="#2c7bb6" quantity="${env('low',0)}" label="${env('low',0)}"/> <sld:...
5
votes
2answers
340 views

SLD - break in hatch

When I use rotated horline or vertline like @Ian Turton suggested in his answer to question Rendering sld style(buffer) SEVERE null java.lang.NegativeArraySizeException, then I get breaks in the hatch,...
5
votes
1answer
2k views

Using Conditional Statement in SLD GeoServer

Is there any way to use the conditional statement in SLD? somehow using if_then_else like this Pseudocode: if (10 =< variable =< 100) { then Multiply variable by 2 } else { then ...
5
votes
1answer
3k views

How to add WMS legend in leaflet from Geoserver?

Can anyone explain me how I can include a legend within the layer control for any individual WMS layers in leaflet? The wms service works fine. I just want assign the symbol label to each layer of ...
5
votes
1answer
707 views

SLD - Is it possible to create a Rule that stylise only the first and last point of a Line?

I've read the SLD doc, but I can't find any clue on how to create an SLD file to add a graphic symboliser on the first and last point of a line. Does someone know how to do that ? Thanks.
5
votes
1answer
873 views

Difference between server and geospatial server

I have been working with Geoserver and ArcGIS Server but I am still not sure what make these geospatial server handle the spatial data transfer compared to the normal server, like apache & jetty, ...
5
votes
2answers
798 views

Best strategy for polygon search?

I have a fairly simple question. What is the best strategy to do the following scenario? I think this is a very common scenario: I have a several thousands of dataset with polygon/points. Each ...
5
votes
1answer
344 views

Mapbox vector tiles version 2 MVTv2 and Geoserver 2.13.x

I use WMS on Geoserver to display MVTs in conjunction with mapboxgl.js v0.45.0. A OSM road layer renders 1:1 on top of the Mapbox base layer, so far so good. However, I got a warning from the js ...
5
votes
1answer
446 views

EPSG:31254 to WGS84 Transformation Parameters

The official transformation parameters from EPSG:31254 to WGS84 are: towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 (EPSG:1618) (defined here and used by ArcGIS MGI_To_WGS_1984_3 ...
5
votes
2answers
439 views

Geoserver Dynamic Data Interpolation

I'm hoping to get some feedback on styling strategies in Geoserver WMS when dealing with dynamic (e.g. not stored with the layer) data and layers that have a large number of features. We've tried a ...
5
votes
3answers
488 views

leaflet problems displaying postgis table geoserver wms

I have a published postgis county table on geoserver. In the layer preview it looks like this in my very simple JS code <!DOCTYPE html> <html> <head> <meta ...
5
votes
2answers
238 views

How to make style in Geoserver different for last X hours?

When I want to set style for points (for example) representing events I would like to achieve that points created in last hour have different color than others. Is there any easy way to achieve it? ...
5
votes
1answer
1k views

Developing Geoserver Extension

I want to develop geoserver extension that intercepts wms request, checks specific url parameter, builds clusters of points and generate the response image with clusters. I've studied a little the ...
5
votes
1answer
4k views

Hardware requirements for one instance Geoserver/PostGIS

What hardware minimun requirements do you recomend for one instance of geoserver and postgis and 20 concurrent users? Vectorial data stored in PostGIS is around 20 MB only. I need the ammount of RAM, ...
5
votes
2answers
6k views

Adding GeoTIFF image to GeoServer: failed to create reader from file

I'm trying to add a GeoTiff-file to GeoServer through adding a raster data source, but whenever I try to add my file, I get the error 'Could not list layers for this store, an error occurred ...
5
votes
1answer
493 views

Does WMS GetFeatureInfo takes into account the applied Style (SLD)?

As the title says, does WMS GetFeatureInfo takes into account the applied style to a layer? For example I have layer of all US States and I applied the following SLD: <PropertyIsEqualTo> <...
5
votes
3answers
1k 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 ...
5
votes
1answer
1k views

Can geoserver limit layer access to clients by credentials?

I have 2 clients which don't want to host geoserver on their systems and use my server. Since I can encode their js , is there a way to limit the workspace for each client do other can't call it using ...
5
votes
4answers
8k views

Android native app - Geoserver

I am involved in a bigger university mobile application project and my task is to design and develop a mobile module regarding map and location-based services in a native Android application. ...
5
votes
1answer
481 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
1k views

Determining suitable server specification?

I am looking for server specifications for a moderately sized habitat mapping project. My current server is about to reach its storage capacity, so I am researching buying a new one that I can ...
5
votes
1answer
1k views

Openlayers and Geoserver fail to reproject while editing Vector with WFS-T

I can't get the Openlayers and Geoserver work with WFS-T editing a vector layer. I have a layer of points where the Native SRS is EPSG:32639. After trying a lot of combinations, I ended up with two ...
5
votes
1answer
1k views

Efficient Outputs for GeoServer Vector Data

Ok, here's our problem. We have a mapping application at http://explorer.geowessex.com which uses OpenLayers and GeoServer for delivering the data. The data is potentially endless and we have very ...
5
votes
1answer
1k views

Creating animation point using openlayers and geoserver

Before getting started on creating points that are animated like this using flash http://adventure.nationalgeographic.com/adventure/trips/americas-best-adventures/map/ I would like to know if it is ...
5
votes
2answers
12k views

Geoserver SLD using PropertyIsEqualTo And PropertyIsLike

I have two SLD rules one using PropertyIsEqualTo and another using PropertyIsLike Using PropertyIsEqualTo <Rule> <Name>Vendor FirstVendor</Name> <...
5
votes
2answers
4k views

WFS GetFeature control doesn't take 'viewparams' into account

I use GeoServer to get my WMS data. Everything works great for showing data in OpenLayers. GeoServer has the ability to create SQL views and use parameters to return certain geometry. These ...
5
votes
1answer
3k views

How to use geoserver to display data on hosted website [closed]

I am using geoserver to display GIS data on my hosted website when geoserver is running I can see my data on my website in both firefox and Internet explorer but only on my laptop where I have ...
5
votes
2answers
960 views

BBOX and Projections of WMS services in Geoserver

we have tried to overlay a raster layer on Google map and have some difficulties to align the raster images onto the base map. When it is on the overview (Zoom level 1), it looks like this: On a ...
5
votes
1answer
950 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
2answers
797 views

Does GeoServer and/or MapServer have a services directory similar to ArcGIS's services directory?

Does GeoServer or MapServer have anything analogous to the ArcGIS Server services directory? Is there a convenient endpoint where you can see all the services hosted on a particular machine? Edit: ...