1
vote
0answers
3 views

Parameters in a SQL View (Geoserver) and WFS Layer (Openlayers): can't get them to work properly

I'm relatively new to GIS, openlayers, geoserver and javascript in general. I have the following problem: I need to display a choropleth map by coloring the different areas in my map based on a ...
0
votes
1answer
17 views

How can I add google map layer as additional layer (OpenLayer, OSM)?

I am total newbie when it comes to Geoserver, JavaScript etc. I have managed to get my map working and the layers from my localhost are showing on the map. Base layer is OSM but I would like to add ...
1
vote
0answers
19 views

How to add a WFS layer to an OSM base layer from GeoServer

I'm sorry if I'm repeating what has been asked several times! I'm a novice in open layers and java script , please can some one tell me where i am making a mistake , below is the code which i used ...
1
vote
0answers
12 views

Retrieve list of all features and values from raster layer (Geoserver and Openlayers)

I'm trying to retrieve a list of all values from a raster layer (GeoTIFF) in geoserver (2.5.x). I tried to modify the code from http://trac.osgeo.org/openlayers/wiki/GetFeatureInfo but I can't seem ...
0
votes
2answers
18 views

Adding Drawn Feature to existing Layer

-A layer that contains multiple features - I want to draw new features with new OpenLayers.Control.DrawFeature and to add them to my layer. var control = new ...
0
votes
0answers
13 views

Inserting newly drawn polygon as feature in existing layer

I draw a polygon that I want to save in the existing WFS layer as soon as it gets created. var control = new OpenLayers.Control.DrawFeature(existing_layer,OpenLayers.Handler.RegularPolygon); ...
0
votes
0answers
4 views

OpenLayers gx_geocodercombo returns syntax error

I try to implement a gx_geocoder combobox... { xtype: "gx_geocodercombo", hideTrigger: true, emptyText: 'Enter address (streetname housenumber municipality)', width: 350, layer: ...
2
votes
1answer
41 views

Save Polygons as new Features in geoserver

I enabled the functionality to draw Polygons, as in the example. http://dev.openlayers.org/examples/draw-feature.html Now I want that, once I created a polygon, this polygon is saved as a feature ...
1
vote
0answers
35 views

What is wrong with my WFS-T protocol setup?

So I want to transfer some Vector Layer Features from javascript code to my geoserver and then to postGIS, my code looks like this: saveStrategy = new OpenLayers.Strategy.Save(); ...
2
votes
0answers
25 views

geoserver and openlayers select rectangle pixel values

I'm running a geoserver (2.5.x) with 1 raster file (GeoTIFF) as a layer. From my application I can access a single pixel value when clicked (through WMS), but what I'm really interested in is to get a ...
1
vote
0answers
24 views

Add WMS from geoserver to openlayers with OSM baselayer

I am new to javascript/the openlayer. Maybe you can provide me with some help. I would like to add a wms layer (BLD_504) from dwasa (workspace) locally. The code is as follows: <title> ...
0
votes
1answer
56 views

How to transfer a WKT string from OpenLayers to Geoserver or PostGIS?

Supposing I have created a Vector Layer in OpenLayers and then transformed it to WKT or GeoJson, how can I export it from OpenLayers, and possible import it to PostGIS or GeoServer?
2
votes
0answers
38 views

How to plot heatmap/locations in Geoserver & Openlayers map from the Lat/Lon data of PostGIS table?

I am using Geoserver, Openlayers, PostGIS for Geospatial web implemenation. I have an Indian map shape files for States, Districts, Talukas. I am able to generate a map with states, districts, ...
1
vote
0answers
23 views

Saving Changed Features from OpenLayers does not work because GeoServer claims Layer to be read-only

Trying to save a few changed Features in OpenLayers back to my geoserver (2.4.4) with saveStrategy.save(). Features don’t change. What I get in the geoserver protocol is: ...
1
vote
1answer
44 views

How to set an x-offset for my whole linestring/layer?

Supposing I have a layer imported from GeoServer succesfully, and it looks like this: (some will remember me from my previous question. And, yes, that is my city Volos, Greece. There is a map and a ...
0
votes
1answer
49 views

geoserver wms capabilities URL for google maps

I like to use google map in my application and also i want to get that by wms cascading of geoserver. To make use of cascading I want to know the capabilities url. So please any one guide me where i ...
1
vote
0answers
31 views

Get info from WMS layer with Openlayers mobile jquery? [closed]

How to get feature info from WMS layer (geoserver)? I am using openlayer jQuery mobile. I've already called the WMS in jQuery mobile, but how to get feature information when clicking the attribute.
4
votes
3answers
58 views

Connection between OpenLayers and GeoServer is faulty

Hello so I have connected my Geoserver to my OpenLayers website and it seems like something is wrong about the connection. I added a WMS layer in Javascript like this: But when I load the page ...
1
vote
0answers
19 views

Openlayers permalink not working

Basically I have a permalink which contains the co-ordinates of a temporary layer when I enter this permalink into the browser the layer shoes and then goes. I used use a vector layer the permalink ...
0
votes
1answer
22 views

Geoserver security and application security separation

I am using geoserver that publises WMS, WFS services to clients. I am using geoserver services in an OpenLayers application. My application will requiere username and password authentication. 1 - ...
2
votes
0answers
26 views

PointStacker - Random locations at different zoom level

I'm applying PointStacker transformation on one of my layers using Geoserver 2.5.2 and OpenLayers 2. I know, that I have 7 datapoints located on the exact same location. However, when I change the ...
0
votes
1answer
26 views

Geowebcache tiles hiding vector layers

I'm using Openlayer 2.13, Geoserver 2.3.5 for Development. I have a Geowebcache layer as base layer And one vector layer for showing route(Please check the attached image). If I drag or zoom in to ...
1
vote
1answer
47 views

Building web application to get PostGIS query from user and view result map using GeoServer via OpenLayers?

I'm a newbie in web-map application area. I just found the small application in this tutorial interesting I am a bit confused, because when i publish a map using geoserver and openlayer, I have to ...
0
votes
0answers
19 views

Clustering on Geoserver layer appearing out of the map

We are using Geoserver and openlayers to display maps. Geosever layer provides list of sites, since there were many we did a clsutering using Styles. But the problem is when we zoom out completely ...
1
vote
0answers
37 views

LayerSwitcher() not working with Group Layers in Geoserver

I created a layer group. then previewed the layer using the GeoServer Layer Previewer and it all worked nicely.But Layer switcher is not working properly.layer switcher doesn't show any layers Here is ...
0
votes
0answers
17 views

Using the OpenLayers.Control.LayerSwitcher

I'm using Geoserver and Open Layers. I'm trying to serve up a polygons (counties) and lines (roads). I can bring both of these elements in together fine. I'm trying to implement the LayerSwitcher, ...
0
votes
0answers
12 views

openlayer wfs protocall reset on map zoom

By considering wfs-example example. I have added one layer on map with BBOX and savestrtegy and add controls(add,delete,modify and save). wfs = new OpenLayers.Layer.Vector("Editable Features", { ...
2
votes
1answer
25 views

Zoom to spatial cordinate in openlayer load

I am working on a project that uses openlayer to show shapefiles from the Geoserver and then show them on google map. The only problem is when the page loads, I want to go to the spatial cordinate and ...
1
vote
1answer
64 views

Display data from geoserver on click map with openlayers

I tried to display data with popup from Geoserver or Postgres to my map, but it dosen't work at all. Can anyone please help me? I used this code: function Info(e) { if ...
1
vote
0answers
40 views

Using Geoserver

I am new to GIS and interested in using Geoserver. I have had a look at tutorials and read some books on this but still feeling clueless. I intend to use C# to accomplish some tasks eg, plot points on ...
1
vote
1answer
29 views

Display data from postgresql on click map [duplicate]

I work with openlayers and geoserver. I'm searching for code that when I click on a point of a layer on the map, a popup window appears that contains information from the database (postgres) for this ...
1
vote
0answers
52 views

Openlayers proxy.php Curl settings for geoserver

We have to use a proxy to send a request to geoserver. I created a php file like this. OpenLayers.ProxyHost = "proxy.php?url="; is Openlayers settings. localhost/myapp/proxy.php is my proxy ...
1
vote
1answer
33 views

Get a list of property elements using GeoServer

I'm using GeoServer with openlayers and I want to build a filter check-box dynamically, depending on the elements of this column: How can I query GeoServer so that I get a list of the different ...
2
votes
1answer
118 views

How to draw WMS layer with Attribute-Based Dynamic SLD to HTML Canvas?

I'm working on an app using geoserver and openlayers 2.13.1. I have several wms layers and I need to export whatever in my openlayers map div as an image. After researching, I found this blog: ...
1
vote
0answers
41 views

Trying to display GeoServer layer controls but nothing is coming?

I am a beginner with GeoServer trying to display layer controls but nothing is coming. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>GeoServer Layer</title> ...
0
votes
0answers
74 views

Proxy.cgi for OpenLayers reading from GeoRSS but not from WFS

I'm having trouble with the standard proxy.cgi written in Python for OpenLayers. Here's my code: #!C:/Python27/python.exe -u """This is a blind proxy that we use to get around browser restrictions ...
0
votes
0answers
12 views

Working with different source WMS data

I have a geoserver and WMS services on it. For example my water valve layer is point data and published from geoserver. (I am using postgis to saving data.) An external WMS service publishes polygon ...
0
votes
0answers
125 views

GeoServer, OpenLayers and updatable views: unable to edit data of WFS-T feature layer

I am developing an web application, where the user is able to view and update some feature attribute of a WFS layer. My problem: the edited data is not saved at all. Here's the situation: GeoServer ...
1
vote
1answer
31 views

featureId filtering in wfs openlayers

I want to define a featureId fiter for wfs layer like below: wfs = new OpenLayers.Layer.Vector("WFS Vectore", { strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy], projection: ...
1
vote
0answers
44 views

edit openlayers feature attribute and save in geoserver

I have a layer in geoserver and I want to get this layer with WMS in OpenLayers. population = new OpenLayers.Layer.WMS("population", "http://localhost:8080/geoserver/world/wms", {'layers': ...
2
votes
1answer
85 views

Problem saving added point to GeoServer WFS-T via OpenLayers?

I want to add a point and then with WFS-T, save this to db. I work with Openlayers and GeoServer. saveStrategy = new OpenLayers.Strategy.Save(); wfs = new OpenLayers.Layer.Vector( "WFS Vectore", { ...
2
votes
0answers
39 views

Adding feature to GeoServer vector layer using WFS-T in absence of fid index?

I want to add a feature to GeoServer vector layer with WFS-T. When I use saveStrategy.save(), an error returned that said: java.io.IOException: current fid index is null, next must be called ...
2
votes
1answer
43 views

How to get public access to edit a layer in geoserver [closed]

I want to develop a GIS system with OpenLayers and GeoServer which is installed with OpenGeo Suite 4.1 and I need to edit a layer with no GeoServer authentication. This means that guest members should ...
1
vote
0answers
27 views

Geolocation Ptojection Transform is not working for custom coordinate system

I am using Openlayers API and I have a custom projection and I defined it to my geoserver named "EPSG:51100". I have a custom tile map. var tms2013 = new OpenLayers.Layer.TMS("2013", ...
2
votes
0answers
31 views

How can I use WFS-T in openlayers?

How can I use WFS-T in openlayers? My server is geoserver and I want to edit a feature.
3
votes
0answers
34 views

Option for 360 degree movie embedded in Open Source GIS software?

Is there any Open Source GIS software available to embed 360 degree movies with the map? For a COTS example, there is the Active Link Vision (ALV) extension for ArcGIS from IWANE.
2
votes
1answer
53 views

Converting .multiple shapefiles into Image Pyramid?

I have multiple shapefiles, and I want to import them as image tiles. How do I convert a shapefile into image format and then convert that single image file into an image pyramid such as that of ...
1
vote
0answers
33 views

Print preview showing distortion in layers from GeoServer via MapFish and OpenLayers?

I have an application which shows the print preview before printing the map and the problem is that the layer is distorted in the first image but when I zoom into the map the distortion goes away. I ...
2
votes
1answer
30 views

Openlayer function(mergeNewParams) is overwriting previous function call

I am trying to parse both the values to the corresponding words to fetch data from GeoServer and return me the value, like this: route.mergeNewParams({viewparams: "'word1:+source;word2:+target"}); ...
0
votes
1answer
47 views

How to query a PostGIS database through Geoserver and OpenLayers

I've built a web application using OpenLayers, which is connected to my PostGIS database through Geoserver. Now that I'm able to successfully display all of the layers, I'd like to add ...