A layer is a collection of information. It contains specific elements of a gis in a specific presentation method (e.g raster or vector layer). Layers can be edited separately in order to create individual toppics for a map.

learn more… | top users | synonyms (1)

6
votes
1answer
175 views

How to refer to another layer in the field calculator?

Is there a way to select an attribute from a polygon layer and insert the value into a virtual field of a point layer using "within" in the field calculator? CASE WHEN within($geometry, ...
1
vote
1answer
25 views

How to get programmatically selected layers from the QGIS legend?

My QGIS plugin exports all layers from QGIS to KML format. Now I'd like to export only selected layers. However, I can't find any hints in QGIS API. Is it possible to iterate over selected layers in ...
2
votes
1answer
28 views

Apply Symbology from a Layer

I am trying to update the symbology of a layer with another layer with a python script. I have written a code for this. But I am getting the following error message : ERROR 000732: Input Layer: ...
2
votes
1answer
19 views

Layer selection visibility unchecked in initial state in OpenLayers 3

I have this JSFiddle example that has two vector layers in it, 'Cities Layer 1' and 'Cities Layer 2'. As you can see from this example, cities layer 1 has a visibility set as the default of true and ...
0
votes
0answers
12 views

Toggling Layers in Image Service

A colleague of mine is trying to figure out why she is unable to turn some layers off in an image service hosted on our server. ArcMap gives an error along the lines of "cannot turn off layer" ...
1
vote
1answer
390 views

Get feature from two overlapping KML layers doesn't work

I did an implementation similar to http://openlayers.org/dev/examples/sundials.html The difference is that I have two or more kml layers at the same location and want to show their information ...
2
votes
1answer
231 views

How to load a *.qgs file in a C++ QGIS standalone app?

I'm using QGIS-2.4.0 API to develop a standalone app by C++. I saved a test.qgs file in QGIS Desktop software, in the project, there was one layer and it was visible. Then I loaded the test.qgs ...
1
vote
1answer
28 views

Geoprocessing breaks my data links after upgrade?

I've had this problem all day, and it's happened before, too. I am running desktop 10.3.1 and want to produce a very simple buffer from a single parcel. The output is assigned to the same .gdb that ...
0
votes
0answers
20 views

Filter geoJSON layer after it has been loaded

I'm declaring and defining a geoJSON layer first, like: var layer1 = L.geoJson(null, { onEachFeature: function(feature, layer) { ... } }); ..and then loading a CSV into it, like: ...
1
vote
0answers
45 views

QGIS python originalName() does not return actual original layer name

I am writing a Python QGIS Plugin, using QGIS version 2.6 as the basis for development. When loading data into the canvas programmatically, I am trying to maintain the spatialite table name as the ...
0
votes
1answer
1k views

Draw order (zIndex) of OpenLayers polygons and points in the same layer

My question is similar but slightly different from this one: http://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons ...
0
votes
0answers
37 views

What is corrupting my layer file?

I'm trying to save layer files from a colleague's mxd. As usual I right clicked on the layer and saved as layer file. Simple - but no - the layer files can't be opened. I get this message "Adding ...
2
votes
0answers
22 views

How does ArcGIS Pro choose default color for first layer added to Map?

When I add my first vector dataset to the Map in an ArcGIS Pro project that I created using Map.aptx, it always comes in using a gaudy brown color like in the graphic below. Doing the "equivalent" ...
1
vote
1answer
26 views

.net arcobjects retrieve user value from layer data source

I have a need to get the user value from a layer properties. The value is from: Layer Properties -> Source -> user in Data Source (sorry not enough score to attach the picture). I tried to check ...
0
votes
1answer
32 views

How do i match Layers in QGIS

am trying to create a map, which shall show NRW ( a part of Germany) with some extra gimmiks. Those Gimmiks are Coordinate based locations of several Manufacturers. Later on i want to adjust the ...
0
votes
1answer
29 views

Single WMS from single mapfile with several rasters in MapServer

I have several rasters in a single mapfile, I put them as layers like here: LAYER NAME "Layer 1" GROUP "All Layers" TYPE RASTER STATUS ON ...
2
votes
2answers
384 views

How do I reach a layer inside a GroupLayer?

I am having problems in ArcObjects. I am struggling to get to the individual (feature-)layers inside a GroupLayer. Does anyone know how to do that ?
2
votes
2answers
61 views

definition query with 3 plus variables to loop with python and save layer files

I have a script that takes an input feature class and uses a field within this class to create a definition query for each unique field. A question on how to do this is listed below saving layers for ...
2
votes
1answer
25 views

Postgis spatial query st_disjoint

I have 2 layers that I want to compare. I wish to retrieve the features in the layer 1 that have no part in common with the features in the layer 2. I try queries like that but do not returns me the ...
0
votes
0answers
21 views

Finding how many points are in polygon of layer in specific time using QGIS?

I have the layer that I created with the number of earthquakes in each region in the last 400 years. I want to know the number of earthquakes that occurred in one specific region prior to 1900. How ...
1
vote
1answer
23 views

Render or display only the boundary of a vector layer containing thousands of polygons

This might be a very basic question but my lack of experience makes it really hard to answer. To have a cleaner map to print I want to display only the boundary of a layer composed of more than ...
1
vote
0answers
24 views

C++ QGIS Conditional Label Colouring

I am using QGIS and C++. When I create a layer of polygons with labels in the center I am able to use a RuleBasedRenderer to control the background colour of the polygon. How do I similarly control ...
0
votes
2answers
34 views

How to convert KML file to layer , on an alrady existing map in arcgis

I have a map in arcGIS, and i want some kml data to be shown over that map. But if i convert kml to layer, the data is not visible on that map. Both the layers can be seen separately by "zoom to ...
2
votes
1answer
61 views

“No data available” on hover

I have the following map: https://aressk.cartodb.com/viz/408dd3ea-deea-11e4-9d17-0e9d821ea90d/embed_map It has two layers. On the Waypoints layer, I have Hover turned on for the Info Window. On the ...
2
votes
1answer
36 views

QGIS TimeManager with multiple features at one time?

Since the data I have to deal with is really large, it is not practical to separate every feature into one line in the CSV file. Is there any way to animate them as a whole layer? I have ...
0
votes
1answer
39 views

Copying the visual shapes from another layer to the current one, while keeping the current layers' database

There are 2 layers that have similar shapes but small differences. I want to keep the shape of layer 1 while having the data of layer 2, which includes more data and it will be animated using ...
0
votes
1answer
20 views

Pass coordinates parameters to geoserver pgrouting service from Leaflet wms tile layer

I've configurated a pgRouting service in Geoserver, following the steps on the documentation it's easy to accomplish. Reading the documentation, existing examples, etc.. I've come to undestand how ...
1
vote
1answer
178 views

Where to upload layers in geoexplorer?

I just install opengeo suite (boundless) in my machine and try to explore it. I followed the instruction in user manual and I encountered a problem. In "Load your data with GeoExplorer" part, after ...
1
vote
1answer
33 views

set the transparency layer group with Python

How can I set the transparency for all layers within a group of layers? I assume this will require the use of a FOR loop in the Python Console. Based on How to set the transparency for multiple ...
1
vote
1answer
278 views

Geoserver api: how to determine a layers respective workspace?

I am using the geoserver api to find information about layers that are available. I am using: http://localhost/geoserver/rest/layers.json to get a dynamic list of all layers. If I then select a ...
3
votes
1answer
1k views

legend groups and layer position/order qgis 1.8

I'm tring to programmatically create layer sequence also using groups. Simple python code: layer = QgsVectorLayer("004cp000.shp", "004cp000", "ogr") QgsMapLayerRegistry.instance().addMapLayer(layer) ...
5
votes
1answer
1k views

Layer loadstart & loadend events in OpenLayers 3

OpenLayers 2 has these layer events "loadstart & loadend." What is equivalent to them in OpenLayers 3? While a vector layer loads and is rendered, I need to show a loading icon.
1
vote
1answer
163 views

Why does Describe function fail on annotation layer with RuntimeError: Object: Describe input value is not valid type?

I am accessing layers in an mxd programatically and also accessing the layer properties using the Describe function lyr =arcpy.mapping.ListLayers(mxd) # gets me the list of layers in mxd desc= ...
1
vote
0answers
22 views

QGIS - Pop-up menu not displayed when right click on a layer in layer tree view

I'm developing a custom QGIS application using the QGIS API. I've been using the API provided with QGIS Brighton (Version 2.6.1) and have been developing the application in Python in a Windows 7 ...
2
votes
1answer
31 views

PyQGIS: How to get the list of valid layers in TOC?

To get the list of TOC layer names I used the approach suggested here: for layer in QgsMapLayerRegistry.instance().mapLayers().values(): print layer.name() But this method is not reliable due ...
2
votes
1answer
33 views

How to display map tips only for one layer?

I'm relatively new to QGIS. I added the hover labels to my map using the Map Tips. My issue is that it makes hover labels for EVERY layer on my map. I only want it to make labels for one layer. Is ...
2
votes
0answers
26 views

How to make a model with more than 2 input layers for buffering and merging?

Would it be possible to add more inputs to Buffer and Merge? From what I can see there is a limit of two input layers per both. As far as I know this is possible in ArcGIS's Model Builder but from the ...
2
votes
1answer
2k views

Layer visibility using maxscale minscale not working

I'm using Openlayer and Geoserver. I have a series of layers that have a scale parameter like: 1:50000-1:25000 where 50000 is the max scale while 25000 is the minscale. I have a map like in this ...
1
vote
1answer
23 views

Adding point layer in QGIS from SQL Server failing

I just downloaded QGIS a few days ago (version 2.8.2-Wien) but I am not able to get it to work as I thought it would. I tried pulling in spatial data from sql server (a "geometry" column containing ...
0
votes
1answer
1k views

Marker layer not responding to events in OpenLayers

I have multiple layers in OpenLayers: three vector layers, one google map layer, and a marker layer. I registered feature selected event to all three vector layers (which works fine, but btw is that a ...
0
votes
0answers
25 views

GDAL Create Layer WFS

So I'm trying to write a program that has the ability to read and write data from a WFS (Web Feature Service) I've managed to pull all the data I want from the WFS. Now I'm trying to write to it and ...
1
vote
2answers
175 views

How to request group of layers from Geoserver with turn off/on capabilities? Geoserver layer organizer

I would like to organize my layers by topics, and for each of them (if chosen on the client-side), I would like to request a single-tile image, which contains the predefined layers in the correct ...
0
votes
1answer
31 views

ArcObjects WPF Select layer in legend

Can I select a layer, by code, in the TOC/legend of a map in a WPF ArcGIS Runtime application? I develope in ArcGIS Runtime SDK 10.2.2 for .Net in C#.
0
votes
1answer
197 views

Openlayers event cluster feature id does not appear on layer vector feature id list

My application's objective is to click on a cluster and produce a popup with a list of all placemarks clustered there where every entry is a hyperlink that closes current popup and opens a new ...
2
votes
1answer
40 views

Replacing layer ArcSDE connection

I am very new to using Python... I have an MXD with all of my layer files in it. They are grouped by category etc. Each layer file references a dataset within my SDE. My SDE has two different ...
1
vote
1answer
149 views

Ordering Cartodb torque visualization over Google Maps heatmap layer

I am attempting to create a map with two layers: a CartoDB Torque visualization on top and a Google heatmap layer underneath. So far I have only been able to get them to draw in the opposite order ...
0
votes
1answer
39 views

Can you have layer control in Odyssey.js?

I've been playing around with odyssey.js and made a few map stories with it: http://www.burdgis.com/blog/archive/map-stories/ What I can't work out is how to toggle layers. I imagine you would need ...
3
votes
2answers
110 views

How to create multiple QGIS layers from multiple text files?

I have a few hundred txt files (each representing a line of a river bed profile) that I need to load as (point-) layers in QGIS. Partial example: 4504764.8331;5374251.3024;397.8871;2 ...
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 ...
7
votes
3answers
2k views

Z-index in OpenLayers 3: layer ordering in OL3

Is there a method to cjange Z-indexes of layers in OpenLayers3 like it was in old version? map.setLayerIndex(markers, 99); //set the marker layer to an arbitrarily high layer index and I need to ...