Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [geoserver]

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

15
votes
5answers
14k views

Enabling CORS in GeoServer (jetty)?

I hope somebody has already figured this one out. I just installed Geoserver 2.9 on a vanilla Ubuntu 16.04 distro. The Geoserver 2.8 method of enabling CORS with the shanbe.hezoun class does no longer ...
27
votes
5answers
53k views

Converting ArcGIS layer style to Styled Layer Descriptor (SLD) file?

I am putting together a GIS server using GeoServer and need some help with importing my layer styles from ArcGIS 10 to SLD format. I have one layer in ArcMap properly symbolized and labeled, how ...
19
votes
5answers
43k views

How to add a simple WFS layer from GeoServer to OpenLayers map?

I'm trying to add one of the included datasets with GeoServer to an OpenLayers map. I've followed the OpenGeo tutorials, seen similar thread on here, but I can't seem to crack it. Can somebody take a ...
4
votes
4answers
8k views

Problems with OpenLayers and WFS - proxy.cgi issues

I am having problems getting WFS data to display on a map using OpenLayers/GeoExt/GeoServer. I created a proxy script like on this page: http://trac.osgeo.org/openlayers/browser/trunk/openlayers/...
8
votes
5answers
23k views

OpenLayers 3: Cross-Origin Request Blocked: The Same Origin Policy disallows

Using OpenLayers 3, I cannot get this message to go away: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://myserver:8085/geoserver/sf/ows?service=...
14
votes
2answers
13k views

GeoServer 2.3 how to enable jsonp

I'd like to enable jsonp on GeoServer 2.3.0. The docs say to set ENABLE_JSONP to true. A response from the GeoServer users list says to edit web.xml, (set System variable ENABLE_JSONP=true and ...
8
votes
3answers
3k views

When do I need to use a proxy with OpenLayers2?

When exactly do I need to use a proxy with openlayers? I've done a lot of reading on this but can't seem to find a definitive answer. Wondering if this is the route of my problems. For instance, if I ...
29
votes
5answers
10k views

How to put GeoServer layers behind authentication?

I want to publish map layers using OpenLayers and GeoServer. While this is easy enough to set up, I'm a bit lost when it comes to authentication possibilities. What I want is to create different users ...
10
votes
5answers
7k views

Seeking GeoServer tutorials? [closed]

What are sources where I can learn how to use GeoServer? I know of these two sites: http://geoserver.org/ - which in fact is not working (at least at the moment) http://workshops.opengeo.org/...
3
votes
1answer
11k views

How to add GeoServer wfs layer on OpenLayers?

I can't seem to add a WFS layer like this. It works when i copy all this code locally but as soon as i change the values to point to my own layer within my own GeoServer this is the response viewed ...
8
votes
1answer
22k 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: http://wfs-kbhkort.kk.dk/k101/wms?service=WMS&version=1.1.0&request=GetMap&...
12
votes
8answers
7k 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. ...
7
votes
2answers
6k views

How to avoid duplicate labels on each tile? [duplicate]

When I display my map using tiles a label gets drawn on each tile - is there any way to avoid this? I have attached an example image to show the problem:
4
votes
2answers
13k views

Display a WFS layer with OpenLayers2

I have some troubles displaying a WFS layer with OpenLayers and hope someone here can give me a hint. Before moving on, I precise that I have already checked other posts, like here and here but, for ...
8
votes
2answers
4k views

Performance of Shapefile and PostGIS with GeoServer?

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. What is the recommended choice ...
4
votes
3answers
3k views

Unable to create WFS successfully

I know there has been lots of WFS assistant and I did follow this one word by word, which I found was the best in the entire gis stack but still no clue why I am unbale to render a WFS on base map. ...
3
votes
1answer
7k views

XMLHttpRequest cannot load http://localhost: /geoserver/wfs. Origin http://localhost is not allowed by Access-Control-Allow-Origin [duplicate]

Possible Duplicate: Setup own Openlayers Proxyhost Error WFS Request, PROXY problems I have this error: XMLHttpRequest cannot load http:// localhost: /geoserver/wfs Origin http:// localhost is ...
13
votes
2answers
7k views

GeoServer: Best way to publish 2500 TIFF or 71 ECW files?

I have ortophotos of an area that I need to serve as a background map for my vectors. I got it as 2500 files (71,5MB each) in raw TIFF format with corresponding TFW word file - 180GB of data. ...
15
votes
2answers
7k views

Programming Geoserver 2.0.2 to add a raster data store and layer without the UI

I have a directory of raster imagery that will be updated continually. From this imagery, I am making Image Pyramids using the Geotool's PyramidBuilder utility. I need to setup a cron job to ...
8
votes
2answers
17k views

How to calculate the scale of current Zoom Level with parameters like extent, resolution?

I got the following parameters: Width and height of Map: 450px, 560px units : 'meters' maxExtent : new OpenLayers.Bounds(806677.9759,802420.9858,8876817.5647,853497.8186405064) resolutions: [199....
16
votes
1answer
19k views

Passing Filter Parameters to GeoServer WFS via URL?

I'm trying to use PHP's CURL function to fetch geoJSON information from a GeoServer instance. I'm doing this using url variables rather than trying to construct a full xml GetFeature request. However,...
15
votes
5answers
19k 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 ...
9
votes
2answers
12k views

How to proxy Geoserver through Apache in Windows

i am using apache web server on localhost:80 and geoserver served from jetty servlet on localhost:8888. i want to setup a proxy to redirect the requests such that requests to localhost/geoserver are ...
10
votes
2answers
13k views

How to add Geoserver WFS to Leaflet JS Application

I have a PostGIS database and have successfully consumed a table into GeoServer and published a WFS. Are there REST endpoints available for these WFS' akin to ESRI's feature services? How are ...
4
votes
1answer
12k views

How do I get GeoJSON data from GeoServer into show up on my Leaflet map?

I'm trying to create a simple "Green" map for my city. The idea being that it is a website with a map and layers you can turn on and off. I am serving the data through GeoServer and am using GeoJOSN ...
11
votes
3answers
4k views

Why do we need Mapserver/Geoserver to present data from spatial database to web browser?

I was trying "How I set up GeoServer on an old machine" and By @iant I was setting up Tomcat and all. I suddenly had a question ... why do we need MapServer and GeoServer? Can these servers pull ...
2
votes
1answer
1k views

GeoServer Callback Function Undefinded

Any idea why the function loadThis() comes back as undefined? I've tried adding jsonp: false which doesn't help either. The json object is returned properly, I can view it in FireBug, but I can't get ...
6
votes
4answers
4k views

geoserver xml header for cors xmlhttprequest [duplicate]

I'm running geoserver-2.5.2. From an external server i would like to call it as a wfs source with ol3. For this I would like to allow this external server to access the data. It seams I need a header ...
6
votes
1answer
931 views

How to get layer list of layers that are published?

I'm stuck. I've been using geoserver with python extension gsconfig library for a while now. Almost everything works as it should be. While there are little things like publish raster images are ...
10
votes
4answers
7k views

How to avoid Pink tiles when DB view/Table is empty?

I have views that are spatial in a sense that they select some spatial column from other table. This table is published using geoserver. This table is live and sometime has no data at all. When the ...
7
votes
2answers
4k views

geoserver support to proxy other tiling services?

I'd like to use a central server to provide a common location for all of our mapping / imagery resources. Our data is primarily in the form of geotiffs with a variety of base layers from various ...
6
votes
3answers
6k views

WFS-T Edit using OpenLayers, Geoserver, PostgreSQL (“error performing insert”)

I tried following the tutorials: http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html and: http://apps.who.int/tools/...
4
votes
2answers
3k views

Passing list to viewparams variables in GeoServer SQL views? [duplicate]

I have a sql view which take only one parameter, but this parameter is a list, and a need to know how can i pass this parameter in the url Here is my sql view SELECT * FROM shop WHERE id IN %list% ...
7
votes
2answers
5k views

Drawing arrow on line using SLD of GeoServer?

I have a line layer in geoserver as in the 1st image. How can I draw an arrow on the line like in the 2nd image? The line.rar includes a shapefile and a sld file. Can edit a sample for me? line....
3
votes
2answers
4k views

Could not list layers for this store error when creating new ImageMosaic

When I try to save a new imagemosaic store I get the following error: Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:///home/jswitzer/...
1
vote
1answer
3k views

Showing Two Labels of One feature In GeoServer?

I have prepared a Web GIS Map using Geoserver-Openlayers_Postgis....For One Feature I need to show two labels such as "premise_no' & "bld_name'... The following is the xml I used for styling(in ...
23
votes
3answers
17k views

Mapnik, Mapserver or Geoserver

I'm currently developing an ArcGIS based flex web viewer. ArcGIS is great for most of the things but there are some issues like performance and license costs. That's why I'm looking into possible ...
8
votes
4answers
26k views

Getting WFS data from Geoserver into leaflet

I'm trying to use a ajax call to load WFS data from geoserver into a GeoJson layer in leaflet. When I do the following message in the console: XMLHttpRequest cannot load http://localhost:8080/...
23
votes
7answers
15k views

Comparing Google Earth Enterprise to ArcGIS for Server and GeoServer? [closed]

I'm working on a web app that includes mapping capabilities (currently just markers and KML overlays on an embedded Google Map). We're starting to outgrow the limitations of Google's free stuff, and ...
21
votes
2answers
5k views

Publishing PostGIS Rasters in GeoServer?

How do I publish PostGIS rasters using GeoServer? I have spent a lot of time trying to create a Raster datasource using Image Mosaic JDBC but with no luck. Steps performed: 1. Downloaded and ...
8
votes
2answers
4k views

Can I do custom styling on GeoServer

I want to use GeoServer WMS server for custom styling. Let's say I have an area as polygon in a shapefile, but I don't have this area's temperature as an attribute. From a web service I gather ...
4
votes
1answer
587 views

Geoserver Clustering. where can i find activemqBroker.war?

I am completely new to clustering setup and I am following this tutorial to setup geoserver cluster. But I am stuck at "HOWTO configure ActiveMQ broker" step, problem is i cannot find this ...
7
votes
4answers
16k views

How to get JSON from Geoserver using AJAX request

I am building a web mapping application using Leaflet and a sort of customized WFS-T API to place and retrieve features from PostGIS. I have the script for putting features in PostGIS tables down ...
7
votes
3answers
16k 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 ...
6
votes
2answers
5k views

ECW support in GeoServer?

I am trying to add ECW support into Geoserver 2.1.1 (also tried 1.7.7) but no luck so far. Does anyone have a step by step guide to add the ECW support ? (the one However, my understanding is that ...
5
votes
4answers
15k views

Geoserver/java out of heap space - how do I increase it?

I'm new to Geoserver, Ubuntu and Java, but have downloaded a virtual machine from gisvm.com and am getting up to speed. I got as far as configuring it with some fairly large shapefiles from a project ...
3
votes
2answers
353 views

Can I use “Web Map Service Module” and “Web Feature Service Module” of Geoserver in my project?

I'm developing a GIS application with java Spring Framework and GeoTools library. I have some vector layer. I want to get this layers with wms and wfs protocols. I've downloaded geoserver code. It ...
7
votes
1answer
8k views

Setting transparency in an SLD file for a 4 channel GEOTIFF

I'm struggling to set the a background colour to transparent in an SLD file for a 4-channel GEOTIFF using GeoServer 2.1.4. I think I've set my background colour to transparent alpha layer in a ...
7
votes
1answer
9k views

Openlayers2 and Geoserver: OSM/Google Maps and WMS Overlay

I am experiencing projection problems with the following set up: GeoServer with ESPG:4326 based shapefiles (*.shp) OpenJump to edit my shapefiles Openlayers with EPSG:900913 base layers GeoServer ...
3
votes
0answers
1k views

Doing crop coverage with WPS chain in SLD?

I had 2 layers: custom:Temperature: Point layer. custom:Region: Polygon layer. I would like to perform a gs:CropCoverage of the Raster Layer which is the result of gs:BarnesSurface of vector layer '...