The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
6 views

Parse WKT and zoom to polygon extent using openlayers

I'm having trouble getting Openlayers to zoom to a polygon extent using "map.zoomToExtent(vector.getDataExtent());" The object parsed as WKT loads and displays fine but I want to zoom to the polygon ...
0
votes
1answer
13 views

Drag issue on an OpenLayers map inside a jquery ui draggable div

I'm trying to put an OpenLayers map inside a draggable(); div. The issue is that when I try to drag the map, all the containers drag too. Any ideas? Example: http://jsfiddle.net/0njnady6/
0
votes
0answers
2 views

Clip & save layer using OpenLayers 2

I ma currently developing a web mapping app. How do I make it possible for my app to clip and save area of interests or area I am working on. I can create a vector layer, modify it and delete if I ...
0
votes
0answers
7 views

How to specify the lat/long and bounding box of MapServer WMS layer in Openlayers

I am using MapServer to add a WMS layer on a basemap using OpenLayers 3. The mapserver generates a png image from a shapefile, which I need to overlay on a basemap. Below is the code which I used to ...
0
votes
0answers
8 views

OpenLayers, onSelect event does not work with markers

I'm creating different Layer to draw marker : function Init(){ markers = new OpenLayers.Layer.Vector("Marker Layer"); selectControl = new OpenLayers.Control.SelectFeature(markers); ...
0
votes
0answers
27 views

How to create buffer around points stored in PostGIS and served through geoserver [on hold]

I have a PostGIS database with a table with point geometry. I am showing these points through Geoserver using OpenLayer2.13. What I want to do is to create a buffer around these points. How can I do ...
0
votes
1answer
18 views

In OpenLayers, how to set feature.style when using attribute-dependent symbolizers?

I am using dynamic (attribute-dependent) symbolizers on a vector layer. In this CodePen example, we have the colors of the states depeding on the PERSONS attribute, which given the number of ...
2
votes
1answer
33 views

WGS84 conversion to EPSG:3067

I'm trying to convert coordinates from WGS84 to EPSG:3067 with proj4js and Openlayers, but can't get the conversion right. When I run proj4('EPSG:3067',[-24.9993393, -60.184716]); it gives ...
1
vote
0answers
12 views

Using cubiccurve in OpenLayers 2?

I want to use cubiccurve in openlayers 2.13, And I have added the necessary files, But when drawing the line is drawn instead of the curve. Files are available on the website: ...
-1
votes
1answer
38 views

Best JavaScript library for Web Mapping using the ArcGIS for Server [closed]

I'm working on a web-based mapping system and I'm trying to figure out the best appropriate library to use for interactive web maps (querying, editing, interaction with external WebServices (popup's ...
0
votes
0answers
19 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
7 views

Adding a layer in Openlayers returns error [closed]

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
9 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
17 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
18 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
33 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
37 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 ...
0
votes
1answer
17 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
12 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
30 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
23 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
53 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
30 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
17 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
12 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
22 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
33 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
13 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
42 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
64 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
35 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
55 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
13 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
29 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
24 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
75 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 = ...
1
vote
0answers
41 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
23 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
80 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
44 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
25 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
25 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
17 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: ...
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
52 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
47 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 ...