The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
41 views

How to interpret a Raw AIS data sample

I found a file that contains about 85,000 messages (3 minute live AISHub feed), but I can't make heads or tails of it. http://www.aishub.net/nmea-sample.html ...
0
votes
1answer
153 views

Error XMLHttpRequest cannot load openlayers geocode

I'll make a page for viewing routes with openlayers, postgresql / postgis and pgrouting. The part of the seat is already ok, I'm using OSM data. The image below is to illustrate what I'm doing now: a ...
0
votes
0answers
24 views

Mapserver: Change legend font color from CGI Request

As the post title says I´m needing to alter the legend color in mapserver in a cgi bin request. Actually I have a website created in OpenLayers and Mapserver and I use legends with white font color ...
0
votes
0answers
34 views

No 'Access-Control-Allow-Origin' header is present on the requested resource. Using Geoserver + Openlayers [duplicate]

This is my code to open a WFS layer from geoserver: <!DOCTYPE html> <html lang='en'> <head> <meta charset='utf-8' /> <title>My OpenLayers Map</title> ...
0
votes
1answer
371 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
0answers
53 views

check if mapquest geocoding return no values

I use mapquest's geocoding api. I want to check if the request is sucessfull, but returned no data. I type vdfsbvdf54vdfd (just a silly string) in a form field and nothing happens. I expect an ...
0
votes
1answer
881 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
1answer
46 views

GeoGratis API, joining categories in a single request

I am a developer trying to work with the GeoGratis web API, provided here: http://geogratis.gc.ca/api/en I am having difficulty with the use of catagories in the API, and am wondering who I could ...
1
vote
0answers
34 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
390 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: ...
3
votes
2answers
172 views

How to show just some labels based on feature intersection of layers?

I'm trying to use "expression based" labeling in QGIS, but I'm stuck with a particular case. I managed to use it for a project with the help of other topics and FAQ but I'm not skilled enough to ...
0
votes
1answer
443 views

OSRM API - nearest point fed into routing

I am using the OSRM API to (1) determine the nearest point on a road segment from a give random point with http://server:5000/nearest?loc=_lat_,_lon_ The returned coordinates are used then as an ...
1
vote
2answers
689 views

mapquest geocoding - i can not get the (lon,lat) returned from the API

I just started using the mapQuest Geocoding API and I created a code for searching addresses. The following code alerts "OK" but I can not alert the (lat, lon) coords, even I tried with so many ...
4
votes
2answers
128 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
480 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
1answer
652 views

How to preload tiles in Leaflet?

I'm trying to make a user controlled cross-layer animation in Leaflet. I have about 70 tileLayer.wms layers, that need to be preloaded on the map before animation can run. The question is - is there ...
2
votes
0answers
366 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 ...
1
vote
2answers
311 views

How can I tell mapserver to ignore a filter that is set in a mapfile?

How can I tell mapserver to ignore a filter that is set in a mapfile? I am displaying a wms layer with point features using mapserver. In one of the layers in my mapfile I have defined a filter ...
5
votes
1answer
702 views

Is it possible to setup fiddler to capture requests from QGIS

I want to know if it is possible setup fiddler to capture WMS/WFS requests from QGIS and how to do it. Fiddler is capturing the requests from MapInfo and I don't remember making any setup in fiddler ...
2
votes
3answers
4k 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
5k 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 ...