The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
3 views

Jquery attr() funciton returning “undefined” for GetCapabilities Request

On my webpage where I am displaying my maps, I want to add a link to the metadata of the selected map. I have specified the link in GeoServer in the MetaDataURL field, and should be able to retrieve ...
0
votes
0answers
5 views

Adding a layer in Openlayers returns error [on hold]

I am trying to understand why the following simple code of adding a layer in openlayers gives an error (adds the layer in layer switcher but everything gets pink): //alert(layerName); var ...
0
votes
0answers
5 views

Upgrading Heron to 1.0.5 to use with OpenLayers 2.13.1?

Can we use Openlayers 2.13.1 instead of openlayers 2.12 with heron 1.0.5 ? If yes, then what changes we have to make and if no then what are the possibilities of its up gradation in future. The ...
0
votes
0answers
16 views

How to access the Metadata link URL field of GeoServer using the OpenLayers Library?

Geoserver v: 2.4.4 OpenLayer v: 2.13 All maps are WMS. In my javascript I use "layer.name" to access the Title of the specific map as specified in my GeoServer layer. Using jquery I was able to ...
0
votes
0answers
16 views

Refresh Openlayers vectorLayer every 5 seconds with jQuery and Ruby

Ich want to refresh my vectorLayer in OpenLayers every 5 Seconds using a jQuery. How do I have to do this? The data for the Layer is stored in a Ruby KML. Just look at the Code. Ruby method for the ...
0
votes
2answers
24 views

OpenLayers Lat Lon Conversion

I've been trying to figure this out, but have come up with nothing. I have this code: .... var lat = 7486473; var lon = 4193332; var lonlat = new OpenLayers.LonLat(lon, lat); .... It uses floats ...
1
vote
1answer
31 views

GeoServer create map from image

Can i create a map using plain image(jpg or png) with GeoServer and OpenLayers? Scenario as i see it: I upload image(somehow) to GeoServer and it converts it to a map layer Then i create a simple ...
1
vote
0answers
7 views

Selenium Web Driver and OpenLayers 2.x: How to do an identify on a map?

I've to test a web mapping application that use OpenLayers 2.x, using Selenium Web Driver in Java and using Firefox (I'm on Windows 7). I've found only this issue ...
1
vote
0answers
11 views

Shifted point in pdf export on QGIS

When I print as PDF a work done with a shape point and OpenLayer plugin I notice that the point are shifted In the dual screen image you can see the pdf exported image (left) and the QGIS woriking ...
1
vote
1answer
26 views

GeoJSON and OSM layers with different projection

I have a GeoJSON from NaturalEarth for world state boundaries and I want to display it with only without backgroung. But also, I want to add a OSM layer as another baselayer option. The code I am ...
0
votes
0answers
10 views

Selenium Web Driver and OpenLayers 2.x: how to do a identify on a map?

I've to test a web mapping application that use OpenLayers 2.x, using Selenium Web Driver in Java and using Firefox (I'm on Windows 7). I've found only this issue ...
0
votes
0answers
19 views

How to find the area of a feature in OpenStreetMap, using overpass api and javascript

I am creating a calculator and I would like to know the area of parks/water bodies in a specific area. This would have to be dynamic. I have successfully requested all the features I need using the ...
0
votes
1answer
52 views

how can I join excel sheet with point shape file?

How can I join an excel sheet with shapefile (Point) and common field is station code. In excel one station code has multiple rows and I want to attach those values with shapefile.
1
vote
1answer
29 views

Rectangle Appears Distorted on Map

When displaying two features, a polygon a (see geoJSON) and its minimum bounding rectangle b (see geoJSON), I get the following result when viewing on geojson.io: The minimum bounding rectangle ...
1
vote
0answers
13 views

Adding Layers to Heron Template

I've got this piece of code below that is supposed to display two base layers but now the OSM_LAYER disables(becomes blurry and inactive in the layer tree) the WORLD_LAYER, I'm not sure what the ...
1
vote
1answer
10 views

Heron template toolbar problem

A couple of days ago, I went to this site heron-mc.org/examples.html and found some useful application templates. I viewed them, went to view source code and copied the source code to my editor to ...
0
votes
0answers
20 views

how to show coordinate on a geoexplorer map by moving the mouse?

I am new in developing a GIS webpage. I am using opengeo suit 4.6 at my work and I want to show the coordinate on the geoexplorer map. I know that openlayer use a code for showing the coordinate of ...
0
votes
0answers
29 views

openlayers 2 coloring a polygon layer based on a database ( postgresql ) table that is different from the attribute table of the layer

i have trouble coloring the polygons in my layer based on the values in certain field in another table in my postgresql database that is different from the attribute table of the layer itself , is ...
1
vote
1answer
12 views

Zoom To Layer Using EventListener

I have been struggling with zoom to layer functionality with event listeners. The code is working and zoom to layer whenever it is loaded but the problem is that once it is loaded, i can not zoom or ...
0
votes
0answers
40 views

GeoExt.tree.Panel with Action

I want a popup action in the same line behind/in front off my layer in the layertree. I tried this example: https://searchcode.com/codesearch/view/66045998/ but this is not working for my code. I ...
2
votes
0answers
63 views

saving Operations accidentally deletes geometry data

From time to times, the geographical coordinates of some features of my program get deleted on any update - without an obvious cause. The layer uses WFS 1.1.0 as protocol. The saving Operations ...
1
vote
1answer
22 views

Simple popup for multiple WMS

I have multiple WMS in openlayers with a layer switcher and can be turned on and off. Now i have an image of each WMS, what i want is to show image of each WMS on click OF that corresponding WMS. ...
0
votes
1answer
33 views

How to open layer using OpenLayers 2 and GeoServer?

I know it's a very basic question but I've been searching for an answer for over 4 hours and I can't get it to work. I have GeoServer running locally and I'm trying to open a layer in my browser ...
3
votes
0answers
49 views

Solution for Test Automation for web gis/mapping application?

I've to find a solution for test automation for web gis/mapping application that using OpenLayers 2.x or Leaflet as javascript libraries. I'm oriented on evaluate Selenium WebDriver (or other similar ...
0
votes
0answers
12 views

Storing gdal2tiles output directory in MongoDB, add as XYZ layer in OpenLayers

I am regularly running gdal2tiles.py which generates millions of XYZ image tiles for me. Right now I either store these tiles as flat files on a Windows Server file server or I upload a directory to ...
0
votes
1answer
28 views

Bing Aerial metadata in QGIS

I am using Bing Aerial imagery within QGIS through the openlayers plugin. How can I find the dates of the images that are within the map canvas? Thank you Becky
1
vote
1answer
23 views

Vector Click Event is not working

Actually I figured out some problems and corrected it. I declared the overlay just outside the init function. So now I got the 'featureselected' event working properly. But 'featureunselected' event ...
1
vote
1answer
63 views

Web menu not shown in QGis 2.8.2 [closed]

I have looked at the first answer and the answer to this question and I'm on QGIS 2.8.2 (Ubuntu 14.04) but the Web menu doesn't appear even if OpenLayer plugin is shown to be in the Installed plugins. ...
0
votes
1answer
22 views

Openlayers 2 getLonLatFromLayerPx() gives wrong coords after pan

I'm trying to display mouse position on external div (ExtJS based) using this code : map.events.register("mousemove", map, function(e) { position = ...
0
votes
0answers
30 views

Google maps not displaying until zoom in/out using openlayes2

I am using openlayers 2 for map displaying using following code, map = new OpenLayers.Map("mapDiv"); map.addLayer(new OpenLayers.Layer.Google("Google Streets",{numZoomLevels: 20})); ...
0
votes
0answers
32 views

OpenLayers vector are not filled

I've a small issue with openlayers vectors. I found an svg marker and I want to change the filling color. I found this example, but it doesn't work with my svg. Here is my example code: <html> ...
1
vote
2answers
21 views

Problem with MapServer WMS

Below code is showing the addition of mapserver file in openlayers 3, it is successfully showing me image in the browser but when i zoom that image it does not zoom. It comes back to originial view. ...
0
votes
1answer
69 views

3D Map Visualization in Geoserver

I am using Geoserver 2.4.0 to view the UK map in my web map application by using the openlayers and wms service. Now I am looking into view the terrain data in 3d with WebGL enabled browser and got ...
0
votes
0answers
42 views

Overlaying an image on a vector layer in openlayers 3

I have a bunch of images that are at an angle (from a satellite) so I can't use a normal image layer as that relies on a rectangle rather than a parallelogram. In OL2 I would use externalGraphic and ...
1
vote
0answers
22 views

W3DS in Geoserver

How can terrain data published using Geoserver's 2.4.0 wms and wfs services be viewed in 3d in WebGL enabled browsers? How to register/enable W3DS service in Geoserver 2.4 or above?
0
votes
1answer
24 views

Filter (no display) layers in GeoExt.LegendPanel with names LIKE some pattern

This works to avoid Basemap layers such as Google Maps and overlays such as WMS to appear in the GeoExt Legend Panel: var legendPanel = new GeoExt.LegendPanel({ border: false, filter: ...
0
votes
0answers
14 views

What wrong with this addfeatures (geojson) method into vector source object code?

The following code intends to load geojson objects into a vector source, these objects are previously created as the output of a php routine: var vectorSource = new ol.source.ServerVector({ format: ...
-1
votes
0answers
32 views

using OpenLayers but many times pink background

I am using OpenLayers 2.13.1 but the service is not stable at all, i am referring to WMS and most of time giving me the pink layer which means couldn't load the tile layer. Is there any similar JS ...
0
votes
0answers
18 views

Placing a WMS layer above a WFS layer makes WFS layer not selectable

I have two different layers which I call from Geoserver. The first one is a WMS layer with points and the second one is WFS layer with lines. I need to display the points above the lines and I also ...
0
votes
1answer
43 views

spatial query using GeoExt and openlayers

I want to allow the the User to make advanced custom queries against a layer.So he can search by name or another attribute and get zoomed to the requested feature ( hospital in my case) . I m ...
1
vote
0answers
41 views

Opengeo suite 4.6, gxp template, problem in adding print tool

I have checked this question here but it one of the link is missing and it was on suite 3.0 and i have no idea if it will work on suite 4.6.I have installed the print extension in opengeosuite then ...
0
votes
0answers
12 views

POIs Gauss Boaga text vector

How can I modify this script to read from a text file values Gauss Boaga? var map; var lon =9.10; var lat =45.46; var zoom =10; function ...
0
votes
1answer
26 views

Two layers have different zoom level

I have added to my OpenLayers-based app two layers. A google maps layer and another WMS layer. physical = new OpenLayers.Layer.Google( "Physical View", {type: ...
0
votes
0answers
15 views

GetFeature Pop-up appear on all layers independent if the are selected or not!

I do have an issue with getFeatureInfo. It works on all layers independent of their selection or not. I used the following code to getFeatureInfo from a layer. function myGetFeature(map,mylayer) { ...
0
votes
1answer
10 views

zoomToExtend openlayes 2.13.1 issue

my layers are in wgs84 and I need to zoomToExtend to specific Bound's but it seems I can not make it.... The code seems ok but nothing happens. map = new OpenLayers.Map({ div: "map", ...
0
votes
0answers
33 views

WFS GetFeature query where typeName is a Layer Group not a Layer

I am loading layers in openlayers, and dynamically building a a protocol for "identifying" elements in that layer when the user clicks the map, and that layer was the selected "Identify" layer. This ...
0
votes
0answers
27 views

base layer on openlayers 2.13 not showing Google if set first choice

I am working a ol 2.13.1 & i have a strange issue. As base maps I have OSM & Google. When I set as default Google it doesn't shows nothing. Only the OSM layer appears when selected. BUT if ...
0
votes
0answers
16 views

Can i change the width of a geoserver WMS layer through openlayers?

I have a layer in geoserver with an SLD style, which I display in a map web app using OpenLayers2. I want to know if there is a way to change part of the style (the width of the line geometry) through ...
0
votes
2answers
17 views

openlayers hide layer function

I need to hide a layer with a function, use this script: function hideLayer(layerName) { layerName.setVisibility(false); } I have this error: 'map' is null or undefined my code page var ...
1
vote
0answers
39 views

How to make symbolizers use attribute values in OpenLayers.Layer.WMS?

I know it works like a charm for vector layers. But considering that we can make the symbolizers use attribute values in the SLD, I think OpenLayers should support it. But apparently it doesn't. In ...