0
votes
0answers
22 views

Openlayers edit feature attributes via popup

I need help. I am working on web map with openlayers. I'm not a programmer and I've never used openlayes before, so my knowledge is limited. My map contains WFS protocol and everything in connection ...
-2
votes
0answers
31 views

problem in accessing wfs layer

I am running openlayers app on tomcat on localhost:8080 in windows plateform and trying to access wfs layer from server system 103.8.40.126:8585/ but i am facing problem, wfs layer is not accessible ...
0
votes
0answers
27 views

Openlayers not displaying WFS layer

First, I realize there are a number of very similar posts on this site and others, but none have resolved the issue I'm having. I have a layer I'm trying to serve via WFS in Geoserver/OpenLayers ...
0
votes
0answers
91 views

how to access vector layer from localhost:8085

My environment is as below. Server A contained the web application, I used win7,tomcat 7.0,eclipse Kepler Service Release 1 Server B contained geoserver and my sph data,the geoserver2.4.4 works ...
0
votes
1answer
51 views

Add features to vector layer from WFS protocol read response

Im trying to add the features i get from a WFS query using the WFS protocol. But something doesnt work. I have looked at other post with people having similar problems, but their solution dont fit ...
0
votes
2answers
45 views

OpenLayers request a WFS feature

I am trying to request features of a wfs layer and then zoom to them. The wfs layer is defined as follows: wfsLayer = new OpenLayers.Layer.Vector("University", { strategies : [new ...
-3
votes
1answer
69 views

Is it possible to access geoserver wfs layer from localhost:8080 in to web application? [closed]

I want to add a WFS layer. I am trying to get WFS layer from localhost:8080 geoserver. but I am getting eoserver DateLineWrap in Openlayers.js file...
2
votes
1answer
52 views

OpenLayers: add WFS layer from GeoServer and OSM

in a OpenLayers HTML file, i'd like to request the default tasmania data of my GeoServer (runs on localhost) and add them as an WFS Layer. The second layer should be an OSM-layer. This is my code up ...
0
votes
0answers
50 views

OpenLayers displays nothing when I try to add WFS Layer from Geoserver - can't work out where the problem is occurring!

I hope someone can help me with this problem as I'm very confused! I recently downloaded the IHO Sea Areas shape file from http://www.marineregions.org/downloads.php One of my colleagues has ...
0
votes
1answer
46 views

WFS not in position when using a Google Base Layer

I use two base layers and user can switch from OSM Mapquest to Google from a drop down list. However my WFS layer is not in position (shift of about 5 degrees to the East) when the base layers is a ...
1
vote
1answer
56 views

GeoJSOn or WFS service to view, edit and save geometries

To view, edit and save in postgis geometries using OpenLayers + Geoserver what is recomenadado use GeoJSON or serivços WFS? I ask this for performance and additionally want the edition is recorded ...
0
votes
0answers
30 views

Openlayers WFS change featureType

I am trying to change wfs featuretype "on the fly" in openlayers. (This method http://dev.openlayers.org/docs/files/OpenLayers/Protocol/WFS/v1-js.html#OpenLayers.Protocol.WFS.v1.setFeatureType) This ...
0
votes
0answers
70 views

CQl Filter Don't work with WFS layer in Open Layers

I used a WFS layer from geoserver in open Layers it's shown on MAP but when I want to use a filter it doesn't work I don't know where the error this is the code : <script ...
0
votes
0answers
41 views

OpenLayers on a Tablet running Win 8 - WFS and Doubleclick-Zoom and Zoom-gesture doesn´t work

we have our Website (OpenLayers/GeoServer with WMS and WFS) tested on mobile devices (Android mobile, iPhone, iPad and a tablet running Win 8). On the Android and Apple devices this page works fine, ...
0
votes
0answers
52 views

Empty FeatureCollection using TinyOWS and OpenLayers

I'm using TinyOWS and OpenLayers following this sample but when I open the page I can't see anything. I suppose that is becouse I get an empty FeatureCollection from the response server ...
0
votes
1answer
49 views

How to Update Multiple Fields of one Layer Using WFS Service

Trying to update two fields of a shapefile using a WFS update service published from GeoServer 2.4.3 with OpenLayers 2.13.1. I have a JavaScript with all the OpenLayers fun and a HTML document with ...
0
votes
1answer
175 views

Issue with a point insertion into a Geoserver points layer. WFS-T

How is the best way to insert a feature from the client side into an existing GeoServer layer? Maybe using an ajax call and JSONP? Or OpenLayers (i can't figure out how to have the proxy working)? ...
0
votes
1answer
174 views

WFS-T demo with local Geoserver not responding

i have installed the geoserver in my local system and i tried to run the example code from openlayers the code as below <!DOCTYPE html> <html> <head> <meta ...
1
vote
2answers
135 views

Printing possible for openlayers GeoJson WFS with Mapfish printing service and wkhtmltopdf?

I searched lots of places but i couldn't find proper examples or documentation to do printing using Mapfish Printing service or Wkhtmltopdf. My application got few WFS layers from openlayers and ...
0
votes
1answer
87 views

Geomedia WebMap WFS to vector marker layer in Openlayers

Looking for minimal example/advice on getting a WFS service to show up as a vector layer with markers/icons in Openlayers map. I have created the WFS service in Geomedia WebMap 6.01.11.19 and the ...
0
votes
1answer
136 views

Check if property exists on features in layer

I was wondering if there is a good way to check to see if a property exists on a particular feature layer in GeoServer? My use case is that I have a bunch of features I want to display on a map. Some ...
1
vote
2answers
198 views

WFS layer doesn't display in OpenLayers

I have a few layers in a PostGIS database that I serve through Geoserver and that I try to display in OpenLayers. When I had the geoserver installed on localhost, it worked flawlessly. Now that I ...
1
vote
1answer
95 views

JSONP working with Geoserver and OpenLayers

I'm in this scenario (fighting with the same origin police issue): I have a map initialized with OpenLayers and a WFS request trough the Protocol.Script object that is giving me this error: ...
2
votes
1answer
133 views

How can one read the response of a GetFeature request with Openlayers?

I am using Openlayers to send a GetFeature request to Geoserver. With the help of Firebug I can see that the response contains some of the attribute data I need. I am interested in showing some ...
0
votes
0answers
35 views

Openlayers getFeature from WFS with Specific ID

I'm working with OpenLayers and have the NHDPlus Catchments for the North Atlantic. I have built a web mapping application in Javascript for viewing and delineating basins from these catchments, ...
0
votes
2answers
1k views

Geoserver Access-Control-Allow-Origin

I have web client on Apache and WFS service on Geoserver, both on same computer! Web client is (Apache) running on port 89, and Geoserver is running on 8181 port! I do following settings in Apache ...
2
votes
0answers
63 views

Save WFS layers multiple records with geoext editor grid

How can I save multiple records after modification with geoext editor grid? The saving is working fine if I modify only one of the records, but it fails when I try to save multiple modifications. I ...
0
votes
0answers
80 views

Draw point on google map

i try to add google map on my own wms and wfs layer. everything works but when i create point, i intersect point geometry and my geojson data. So without googlemap it was run. But when add google map, ...
1
vote
1answer
129 views

overlay wfs google in openlayers

map = new OpenLayers.Map('map', options); // BASELAYER var google_maps = new OpenLayers.Layer.Google( "Google Maps", { numZoomLevels: 20 } ); var ...
0
votes
0answers
171 views

Openlayers map save feature SRID error into PostGis

OpenLayers.ProxyHost = "proxy.ashx?url="; //set up the modification tools var DeleteFeature = OpenLayers.Class(OpenLayers.Control, { initialize: function(layer, options) { ...
0
votes
0answers
50 views

openlayers set wfs layer

error Could not determine geoserver request from http request org.geoserver.platform.AdvancedDispatchFilter$AdvancedDispatchHttpRequest@74f148 wfs layer initalize ...
0
votes
0answers
178 views

CQL Filter contradiction between WFS getFeature request and WMS mergeNewParams

I am developing a web map application by using Geoserver 2.4.0. In my application, I have developed a module like Arcgis Query builder as shown below screenshot. In that, while I am using CQL ...
1
vote
1answer
409 views

WFS Layer Not displaying in Openlayers

I've been pulling my hair out for a week trying to figure this problem out. perhaps you can help. I'm trying to display a shapefile in the browser. It works great if I use WMS, but recently I've ...
0
votes
1answer
119 views

Openlayers Select Feature: avoiding the on/off aspect of selecting a feature: want to be able to click, then click again

Map here: http://tinyurl.com/potjxlu I can click an orange icon, popup appears, hit the X button to exit out of the popup.That is OK. But if I want to bring that popup again for the same point, I ...
2
votes
3answers
307 views

Creating a Clickable Map with OpenLayers?

My girlfriend is trying to create a webmap using OpenLayers that is similar to this one, which was done in ArcGIS Server. I thought I'd be able to help her as I have GIS and some coding experience but ...
1
vote
1answer
53 views

Openlayers WFS events: click or hover functionality not registering [closed]

I've successfully gotten this to work before so I am confused as to why it's not working this time. Everything seems to be in place: no mapfile errors, no js errors in the console. Here's a gist of ...
5
votes
3answers
543 views

Advantages of WFS over GeoJSON/KML?

I'm planning to create an online map with openlayers (2 or 3) or leaflet. I have to show some points/markers (~30.000), polygons (~500) and lines on top of an OSM map in several layers. Those points ...
0
votes
0answers
64 views

Openlayers WFS and Mapfile: Possible to specify multiple online resources and generic URL/variables in OpenLayers file?

I have a working mapfile with an associated working OpenLayers file. The mapfile has a wfs_onlineresource like so: "http://one_of_my_servers:8190/cgi-bin/mapserv.exe?" Then in the OpenLayers ...
0
votes
2answers
432 views

Openlayers WFS Vector Layer with Popups: how to setCenter on point when you click it?

Working code I have so far is below. Lots of airports on the map, you click an airport icon, the popup appears. No problems there. Goal: to click a popup, and based on the lat/long data of that ...
1
vote
1answer
250 views

Openlayers vector layer with WFS protocol not refreshed properly after Insert,Update and Delete operations

In my web map application, I have added the wfs vector layer for feature editing. Everything is working fine except the refresh function of wfs vector layer. Refresh function with force ture option ...
2
votes
1answer
668 views

Problem with WFS-T save strategy in Openlayers

In my web map application, I have added the editable wfs vector layer for feature editing. But in save strategy method, Insert and Update Geometry is working fine.But Update Attributes is not saved in ...
1
vote
1answer
141 views

Openlayers map projection not working while saving the features into PostGis

In my web map application, I have added the wfs vector layer for feature editing. There is no issue When I save the feature in postgis after editing. But when I refresh the wfs layer, its showing the ...
1
vote
1answer
154 views

OpenLayers and WFS: Using a mapfile correctly with featureType and featureNS

For starters, I went off the example at http://openlayers.org/dev/examples/wfs-reprojection.js and got that working just fine with the states vector layer showing up. Now I'm trying to use my own ...
4
votes
2answers
252 views

Adding control to wfs layer disable panning and zooming on double click

I can zoom and pan wfs layer when I don't have added control but I can't pan the map or zoom the layer with double click when I add a control to map: code for control is : var select = new ...
2
votes
1answer
1k views

Activating and deactivating of button control not working properly

I have got two buttons, one for editing purposes and one just to see all the information related to the polygon I selected. Also I added these two buttons on my panel using OpenLayers control. I am ...
2
votes
0answers
136 views

How can I create a WFS from netCDF file(s)?

Currently I'm working on a project that uses OpenLayers and Geoserver to view data from a postGIS server (both on a map through a WMS, and as data through a WFS). Now, I'd like to be able to compare ...
1
vote
1answer
86 views

Can't solve “OperationNotSupported” error on WFS GetFeature request

I'm working on a web map viewer using OpenLayers, ExtJS, GeoExt and GXP. I've added a LayerTree (gxp_layertree) that shows layers from various WMS servers from different GeoServer versions. I've also ...
0
votes
1answer
386 views

Add features to vector layer from WFS query

I am trying to add the resulting WFS features (xml format) to my selected items vector layer but can't get it to work. I am querying my WFS layer with the following: showFeatureLink.on('click', ...
1
vote
1answer
135 views

openlayers: reading polygon attributes

I'm quite new to ogc webservices and I need some guidance. I have a shapefile in geoserver lmes.shp (WMS, WCS and WFS are activated), with attribute LME_ID for each polygon of lmes.shp. I need to ...
0
votes
1answer
234 views

XMLHttpRequest cannot load error When we have GeoServer and WebServer on same domain

I have Geoserver and webserver on same domain (Windows XP with IIS). But when i tried to get WMS feature info, i got this error in chrome. If Geoserver and webserver on same orgin, no need of proxy i ...