0
votes
0answers
21 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
25 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
23 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
60 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
50 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
73 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
37 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
63 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
79 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
66 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
58 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
28 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
676 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
44 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
55 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
92 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
138 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
38 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
123 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
171 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
88 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 ...
1
vote
2answers
214 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
40 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 ...
4
votes
3answers
324 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
50 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
262 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
202 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
449 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
109 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
115 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
186 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
735 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
97 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
76 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
215 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
122 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
194 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 ...
-1
votes
2answers
979 views

How to configure Proxy.cgi file for Geoserver On Tomcat?

I have a web map application in my local machine(windows xp and dont have IIS) and I have postgis data in Geoserver on Tomcat (Ubuntu). To get the WMSgetfeatureInfo, I have configured the proxy.cgi ...
0
votes
1answer
85 views

Error in displaying wfs layer from mapserver/postgis

I have read and tested all the relative posts but I still don't have a solution for my problem. I have a layer suscribers (points) stored in postgis database with srid=32232. I would like to display ...
1
vote
1answer
266 views

OpenLayers: cache WFS Request for Vector Layer

In our mobile application, we'd like to use the map offline. Actually, we don't care about tiles, but we want the user to be able to see some Vector layers. Here is a piece of code: ...
0
votes
0answers
71 views

Transforming WFS Projection

I am trying to overlay features from a WFS using OpenLayers, my geometries in database are in EPSG:27700 and my map's projection is EPSG:3857. My mapfile returns data in EPSG:27700. Is there any way ...
2
votes
2answers
69 views

How to check WFS error

I'm adding a layer to an OpenLayers Map which includes data from GeoServer retrieved using WFS. The layer is created like following: var saveStrategy = new OpenLayers.Strategy.Save(); var wfs = new ...
2
votes
2answers
327 views

Using Mapserver WFS with Openlayers: shows empty map

UMN Mapserver 6.1.2 and Openlayers 2.13 are running on the same local host. At the moment, I merely try to display restaurants and cafes of a local region as points/symbols on a map. Later, I would ...
1
vote
1answer
150 views

Splitting polygons in OpenLayers is not working

I have some WFS layers in OpenLayers, containing Polygons. I try to make a tool to split these polygnos and save them to db. //The layer which I want spliting work on var contract_layer = ...
1
vote
1answer
117 views

Anything similar to TMS or WMTS for WFS?

I've been working with OpenLayers for a while, but problem got a question with WFS. Not sure if it's supported by WFS, or OpenLayers, I want to achieve something like this, mostly for cache purpose: ...
0
votes
0answers
36 views

Getting longtitude lattitude from wfs on geoserver

i am making campus information system using geoserver, postgis and openlayers. on the javascript side i want to zoom selected classroom longtitude and lattitude (as google maps done--when you type any ...
0
votes
0answers
65 views

Loading GeoServer Map via Webapp

I have my web app developed using hibernate, struts, spring, etc and am using dojo for UI and postgres for db. I have my geo server configured and in place. I have configured WMS and WFS in a map.js ...
0
votes
0answers
84 views

Grouping WFS records by attribute in GeoExt layer tree

I have a layer in Geoserver composed of many linestrings which I issue a WFS request for using OpenLayers and GeoExt. The linestrings display fine and I am able to add the layer to a layer-tree (with ...
1
vote
1answer
64 views

Can I use geoserver to bring sql layer as vector so I can edit it?

I've updated geoserver with SQL Store and published a table of geometries. When using WMS I get the LineStrings as img so I can't edit them. I've read that WFS bring the data as vector (features) but ...
0
votes
0answers
393 views

Show vector external graphic .svg or .png in map units with vector style?

Is possible define vector style to show vector external graphic file on map in map units? My vector is shown in fixed size. External graphic are from .svg and .png file. I tried both of file. I ...