0
votes
1answer
42 views

Read GeoJSON with openlayers

I generated a GeoJSON a projected table in EPSG: 4326 domeu postgis SELECT ST_AsGeoJSON(geom) FROM "onibus" I put in the www folder on my server I'm running geoserver locally my pages are also in ...
0
votes
1answer
553 views

OpenLayers doesn't proxy WMS requests to Geoserver

I had an issue with WMS requests from OpenLayers to Geoserver via Proxy.php. My OL version is 2.12 and my Geoserver is 2.4.0. I set the variable OpenLayers.ProxyHost as shown in OL documentation, but ...
1
vote
0answers
31 views

Handling loading time for WMSGetFeatureInfo [closed]

I've got this code for a WMSGetFeatureInfo on Hover event: info.events.register("getfeatureinfo", this, function (evt){ ('#rastervalue').val(...)... }); my request to Geoserver takes ...
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
314 views

Could not determine geoserver request from http request org.geoserver.platform.AdvancedDispatchFilter$AdvancedDispatchHttpRequest@d31ba9

I have: Geoserver installed under Tomcat on port 8080 on a LAN server with a internal ip: 10.150.20.201 Openlayers Map on a public ip: www.example.com/mymap.html a proxy.php script as ...
4
votes
2answers
88 views

How do I parse getStyle request?

I am having problem parsing http://localhost:8080/geoserver/wms?request=GetStyles&layers=topp%3Astates&service=wms&version=1.1.1 getStyle response from geoserver of layer topp:states. ...
1
vote
0answers
443 views

Add wfs layer to openlayers map

(UPDATE QUESTION) Hi guys. I have a problem with WFS request, mine is follow: var wfs = new OpenLayers.Layer.Vector("WFS",{ strategies: [new OpenLayers.Strategy.Fixed()], ...
2
votes
0answers
326 views

OpenLayers BBOX sending double requests

I've implemented a openlayers bbox strategy on a vector layer. I have my server return a nice jsonp object wrapped in the callback given by the request. The problem is that during normal use of the ...
2
votes
3answers
3k views

OpenLayers WFS protocol: work with filters if the protocol is defined out of layer constructor

follow question:wfs-load-feature-check the scenario is: i am trying to load a WFS layer, since it takes a while to load all features, I want to give user a notice while waiting for response. the ...
5
votes
3answers
4k views

OpenLayers load WFS vector layer: how to check whether all features are returned from server?

My app takes several seconds to return all features of a WFS layer from server, I am wondering whether there is a way to check whether all features are returned in coding, so that we can add a ...