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

learn more… | top users | synonyms

4
votes
1answer
2k views

How to get bbox from capabilities?

I have WMS layer and want use zoomToExtent after CQL filter. So i gonna get bbox from geoserver. wms = new OpenLayers.Format.WMSCapabilities(); OpenLayers.Request.GET({ ...
2
votes
1answer
953 views

Publishing oracle spatial table in geoserver

I published oracle view in geoserver. using this link. But when I see this in layer preview I get following xml response: <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ...
2
votes
0answers
462 views

Zooming the map after filter

I have wms layer and after i do cql filter on this. And now i want to see result. I want map zoomed to this result. My code. ex=layer.getExtent(); map.zoomToExtent(ex); But getExtent() returns ...
0
votes
3answers
1k views

How to zoom map after CQL_Filter?

I have WMS map, after applying CQL filter to layer how can I zoom map to see filter result? UPDATE: Here is my code what I'm trying to do var layerArray = map.layers; var someLayer; for (var i = ...
3
votes
1answer
1k views

GeoWebCache OpenLayers WMS request structure

I'm developing a GIS app that makes use of GeoServer and GeoWebCache for serving requests, and OpenLayers for frontend. WMS requests to the GeoServer are served with no issues. But when I make a ...
5
votes
1answer
1k 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 ...
2
votes
0answers
98 views

network related issues arising when running an arcpy script

Essentially I wrote an arcpy script that is within a toolbox that I ported over to a different machine to test out after the script worked locally. The script essentially utilizes the psycopg module ...
3
votes
3answers
1k views

Adding shapefile directly to geoserver

I have py script which is creating shapefiles using shapefile.py. Once the shapefile is created I have to add them manually to the geoserver. Is there a way to add it dynamically to the geoserver? ...
4
votes
3answers
2k 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. ...
0
votes
3answers
2k views

Unable to Import Data

I am following this tutorial, but i am not able to get the right username and password to import data. How do I know what the username password is? By default I see tomcat6 as database and username ...
2
votes
2answers
2k views

LayerSwitcher() not working with Group Layers from Geoserver

i have used LayerSwitcher() before and it has worked fine but I am now trying to use it with the group layers in Geoserver and the map blanks out. tiled = new OpenLayers.Layer.WMS( ...
2
votes
1answer
825 views

Which web application framework is easiest for building website displaying lot of geospatial data?

I am building a simple website that displays a lot of geospatial data (which is routed through Geoserver). I was trying to use Drupal-6 to build the website component (non geospatial descriptions) but ...
5
votes
3answers
8k views

How to get the layer name?

I am using OpenLayers, Geoserver 2.1 CQL language. The problem is that I do not know how to address the layer. I am trying to call a function like this: var createWmsLayer = function(name, url, ...
2
votes
0answers
205 views

GeoServer + ImagePyramid: Request is empty where data exists

I have set up an image pyramid based on 5 levels of tiling. The data is served using the ImagePyramid plugin for GeoServer. When I do a layer preview the data is visualized just like I expect them to ...
1
vote
2answers
273 views

Configuring a WorldImage data store starting from a folder containing tif and tfw files

i have a folder of tif and tfw files and i'd like to show the raster in a map using geoserver. Even reading the geoserver tutorial for this kind of datastore ...
4
votes
1answer
499 views

Hosting geoprocessing tool on geoserver

Like ArcGIS Server, is there a way to host, geoprocessing tools onto Geoserver?
1
vote
1answer
466 views

How to get CQL_FILTER parameters from vector polygon

map projection is EPSG:900913, displayprojection for map EPSG:4326. vector layer is polygonLayer = new OpenLayers.Layer.Vector("Polygon Layer"); with draw polygoon option with following code I get ...
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 ...
2
votes
1answer
818 views

How to find Drawn Polygon intersection with layer elements in OpenLayers

I draw polygon vectors and I can find intersection to each other: vactorTest.features[0].geometry.intersects(vactorTest.features[1].geometry) but I want to find which layer elements this polygon ...
4
votes
2answers
1k views

Beginner needs suggestions on map clicks and geojson

I'm a beginner with programming, and javascript. I went to the FOSS4G-NA conference and was very inspired to learn more. I'm trying to learn PostGIS, and have come across a very useful tutorial for ...
0
votes
1answer
562 views

Changes made using wfs-t and GeoExt don't get saved to PostGIS

I'm using GeoExt to display and edit a vector layer from GeoServer (running with Apache Tomcat) but if I modify the shape of an existing polygon (or create a new one but I'm trying not to leap ahead ...
1
vote
1answer
701 views

How to use rotated text labels in GeoServer based on attribute value?

I have several text layers in GeoServer, which are now shown as point layers with tiny graphic size and with labels (As mentioned in my previous question). All thses labels are, as expected, drawn ...
2
votes
2answers
2k views

Text layer styling in GeoServer?

I am wondering what is the best approach to use for text layers in GeoServer. AFAIK, there is no text layer in GeoServer. But in many occassions we need to use text layers and not simply label for ...
1
vote
2answers
1k views

How to add pictures to OpenLayers map using GeoServer?

I have web map showing land parcel and buildings.I am using GeoServer WMS and OpenLayers. My buildings are showing as point on map.Then I want to add some images to those points to show when ...
4
votes
2answers
2k views

How to create an animated map?

I am seeking to create an animated map illustrating the simultaneous movement of different objects across a large area over time. The display should be capable of playing automatically, or by ...
0
votes
1answer
1k views

Adding MySQL to Geoserver for Non-Spatial Data

I need to connect to a MySql table, which has all the attribute values and the lat & long. I am using a GeoServer Suite to host my raster and so felt the best way to go about it would be to add ...
1
vote
1answer
3k views

How to display pop up image when click point in open layer web map

I have basic WMS web map showing parcels and points layer which representing buildings of parcel.Then I want to add building images for each and every point. Then when a user clicks on a point image ...
3
votes
1answer
1k views

How to install GeoServer on Ubuntu 11.10 64 bit?

I borrowed the user name from friend. I need to install GeoServer on Ubuntu 11.10 64 bit. first, I installed Oracle Java 7 (JRE/JDK) successfully. then, i thought i need to install JAI and ...
3
votes
1answer
947 views

Problems serving GeoTiff using GeoServer and ImageMosaic

Goal: I am trying to serve a large (1GB+) GeoTiff file using GeoServer and ImageMosaic. Process: iant have written a simple guide for this, which he proposed as an answer for a previous and similar ...
6
votes
4answers
5k views

How do I use base layer of two different projection Spherical Mercator and WGS84?

How do I add baselayer with two different projection? I have added overlayer with a different projection(EPSG:4326), but I need to add base layer with various projection Google Map My vector layer ...
1
vote
0answers
344 views

“Session has expired” Problem in Geoserver as WAR in Tomcat

I have Geoserver installed as WAR in Tomcat. My html/openlayers files are served from the www folder of /webapps/geoserver/data and I had "beautiful moments" experiencing WMS from there. The problem ...
6
votes
4answers
4k views

WMS GetFeatureInfo and CQL on Multiple Layers

I am having issues with querying CQL filtered layers with OpenLayers and GeoServer, using the GetFeatureInfo control. It is ignoring the CQL filter and just querying the entire layer (as evidenced by ...
2
votes
1answer
328 views

Geoserver proxying custom tiles through a WMS

I have a set of tiles that I was given via disk (So no way to recreate them, they are already generated/cached). There is a clear pattern/style to the naming of the tiles (zoomLevel-x-y.gif). The ...
3
votes
1answer
423 views

How to migrate a Geoserver setup to Tomcat?

I have some problems with tomcat/geoserver. I was create project in stand-alone geoserver and all works fine. This is my code. <%@ page language="java" contentType="text/html; charset=UTF-8" ...
1
vote
1answer
1k views

To get FeatureInfo in OpenLayers

I am new to OpenLayers and I want to add OpenLayers.Control.WMSGetFeatureInfo to get feature info to website.But i can't figure out right method. I also see the source code of GeoServer OpenLayers ...
0
votes
0answers
240 views

session id changing ; tomcat and apache web serevr

I'm using a WFS protocol on Vector layer. also I'm working on 2 servers, tomcat (to deploy GeoServer) and Apache web server(because i use php) I have an HTML page works on Tomcat and login.php and ...
1
vote
0answers
83 views

SLD for OSM data in GeoServer [duplicate]

Possible Duplicate: Standard SLDs for OpenStreetMaps? I can't find a good SLD for OSM. I downloaded the OSM data and imported it to PostGIS. With GeoServer I use it as a data source to ...
10
votes
6answers
3k views

Should I use a CMS for my web mapping application?

For my web mapping app, I am using GeoServer as server, PostGIS as spatial DB and OpenLayers on client side (as well as other JS libraries). The map is composed of base maps and vector layers. One of ...
7
votes
4answers
1k views

Output PostGIS geometry data as centroid or polygon depending on zoom level (GeoServer)

This is what I want: when I zoom out, cities of the country should appear as points and at a certain level when I zoom in, I want them to appear as polygons (showing the area of the city and ...
2
votes
1answer
3k views

Why does Geoserver WMS not work in OpenLayers?

I am relay new to webGIS and these days i trying to develop webmap using FOSS software. This is my codes of open layers and it is not working. Geoserver URL ...
3
votes
2answers
747 views

OSM To Postgis & WGS84 Newbie confusion

Hi I wonder if someone can clarify as I'm confused. I need to load planet OSM data into Postgis so I downloaded a small data set of a UK County and followed the instructions here loading the Google ...
7
votes
1answer
630 views

Geoserver with SQL server consuming all my CPU

This question is long please bear me and my problem. SQL Server Query profiler The Sample Query from profiler that geoserver is running that corresponds to SLD I am using and not the SQL SERVER view I ...
5
votes
2answers
3k 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 ...
1
vote
1answer
63 views

Doubts about Manipulation of Layers

I'm working with OpenLayers, I created a new plugin to perform a selection feature. But every event I perform in my plugin button it creates a new layers. (Attached is a print). Of the attempts that ...
5
votes
2answers
2k views

How to migrate geoserver? [duplicate]

I have a geoserver installed on a server and I want to move the geoserver to another server. What is the easiest way to do that?
2
votes
2answers
2k views

OpenLayers GetFeatureInfo Error in Geoserver

I was advised in a previous post to ask this question again using a small data sample My base layer is a postgis vector dataset in WGS84 When I click on the map I get the following an error in the ...
7
votes
1answer
1k views

Geoserver GET request to the REST API without authentication

I am using Geoserver to serve a number of WMS layers. I am using jQuery's $.getJson('/geoserver/rest//featuretype.json') to programmatically populate a table with the available layers and their ...
2
votes
1answer
425 views

OpenLayers WPS function fails in IE

I am making a WPS call in OpenLayers which works successfully in Chrome and Firefox but not in IE9. The response from IE tells me "Process failed during execution\nCould not convert to target type ...
2
votes
2answers
728 views

Geoserver uses geometry, not geography

When using a SQL database as the store, Geoserver requires that the spatial data are stored in a geometry, not geography column. Naturally, as we are dealing with geospatial features and not just ...
1
vote
1answer
559 views

How to cast box3d_extent to geometry (Rare problem with Geoserver and Postgis)

I use Geoserver 2.1.3 and "POSTGIS="1.5.3" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.7.1, 23 September 2009" LIBXML="2.7.6" USE_STATS" on PostgreSQL 9.1 From time to time (well - today I can't get around ...