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)

4
votes
0answers
65 views

Connect data from two different layers

I'm trying to connect data from two different layers to combine them in one new layer and continue working with them. Let me explain that a bit more detailed: The first layer contains data (and ...
1
vote
1answer
32 views

how to extract OSM data to as many layers as possible in DXF( or multiple DXF file) as path for illustrator use?

So i am just touching QGIS, mainly to explorer way to use map data for my animation. Here's my first try to make it clear to understand what I am aiming for: https://www.youtube.com/watch?v=jhC-C5f-...
9
votes
4answers
6k 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.
2
votes
2answers
53 views

Using QGIS shapefile layer in ArcMap project?

I created a QGIS shapefile layer in QGIS that I want to give to a friend of mine for his ArcMap project. Will he be able to open and use my work?
0
votes
1answer
21 views

Mapbox Opacity Example Touchscreens

In Mapbox, this example works on a PC but not on a touchscreen Android/iPhone/iPad https://www.mapbox.com/mapbox.js/example/v1.0.0/opacity/ Is there a simple change to the code below to make it work ...
1
vote
2answers
58 views

How to insert layer excluding MXD files using arcpy?

I'm working on 24 MXD files. Several maps include "roads" layer in them, the other maps don't have this layer. I'm trying to add "roads" layer to all the maps that do not have this layer by using this ...
2
votes
1answer
20 views

Setting (above/under) priority order of layer in leaflet

When I add a layer in leaflet it stays automatically above all layers I want layers to be ordered wich one stays above the other in way that last added layer will not stays above and hide the other ...
3
votes
1answer
298 views

How do I open GRASS layers in QGIS

I'm quite a newbie to QGIS and GRASS.. I have installed QGIS 2.10.1 with GRASS 6.4.3 on my Windows 7 laptop and wish to open GRASS layers in QGIS. If I got it right, you can use the QGIS built-in ...
7
votes
1answer
120 views

Duplicate layer using Control button on keyboard

I noticed in QGIS 2.14 I can hold Ctrl key and drag to duplicate a layer. But this seems to create a copy linked from source layer. Unlike if I use "Duplicate" in context menu this procedure reflects ...
0
votes
0answers
16 views

Regroup layers in Configurable Map Viewer (CMV)

Please, how can I group layers by topic in CMV and change operationalLayer = [ ] array automatically into Viewer.js: I want to regroup feature layers by topic. I failed to create an other ...
-3
votes
1answer
32 views

Insert layer using Arcpy- Code error [closed]

I'm trying to add "roads" layer to all the maps that do not have this layer in the table of content, by using this code: import arcpy,os,sys,fnmatch from arcpy import env env.workspace = r"G:\...
4
votes
1answer
86 views

QGIS: Batch export multiple layers to DXF

I have only had limited experience with QGIS. What i have: I currently have many different layers (water mains, sewer mains, drainage etc.). These layers are TAB files with attributed data. What i ...
3
votes
1answer
19 views

Point feature changes over time?

QGIS strategy for denoting point feature changes over time? My project file has a shape file layer (point symbols) geolocating 50 historic street name mosaics embedded in concrete sidewalks ...
1
vote
1answer
25 views

How to work with Baccini et al.'s biomass map from ArcGIS?

Baccini et al. (2012) has produced one of the best biomass maps available for the world. One can find the map from one of ArcGIS repositories here. I downloaded the .pkinfo file for that map but I ...
0
votes
3answers
87 views

Searching for changes of 2 layers based on geometry, Arcgis for desktop (ArcEditor

I´m trying to make a tool that would be able to compare 2 layers of any type (polygon, point, polyline) and find differences between them. Lets say i have a layer of roads (Polyline) from 2005 (layer ...
1
vote
0answers
45 views

How to find a layer by name in the QGIS layer panel? [duplicate]

I have a large QGIS project organized with several groups in the QGIS layer panel. It happend to me a couple of times that, when the computer is operating with low resources (low free memory-high CPU ...
1
vote
1answer
42 views

Adding infowindow to cartodb map using api

I think this should be easy, but I just can't work it out. I am building a multi-layer map using cartodb (own opensource server). Layers display well. but I have two problems. 1) the layer select ...
2
votes
1answer
270 views

Mapbox GL JS, self hosted vector tiles with missing levels

Using Mapbox GL JS with self hosted vector tiles in protobuf format where it looks for tiles using {z}/{x}/{y}.pb paths. I have a scenario where I only have data for zoom levels 9, 11 and 13. Is ...
2
votes
0answers
27 views

PyQGIS: intersection of one node layer with two polygon layers

I´m new with the use of PyQGIS and I´m working in a problem applied to a water supply systems modelling, where I need to distribute the water demand in about 5000 nodes (network junctions). I´m ...
0
votes
0answers
15 views

Loading Data into Vector Layer Polygon

My first layer is a map. My second layer consists of points: bars with GPS coordinates (.cvs file). My third layer consists polygons, creating different area's for the bars. So, the points of the ...
3
votes
1answer
71 views

Application of preset properties QGIS layer to another imported shp

In QGIS I import the same shp files during days (continuously fieldwork). For processing in QGIS I set the properties of layer (imported shp)- Style, Labels, Actions, Display. In these days I have to ...
1
vote
0answers
79 views

Map gear's OL3-Google-Maps not showing the google layer even after adding google layer

I am using Map Gear's OL3-Google-Maps in order to load the google base map in OL3, I am adding like this //Before adding this i am removing the OSM base map tile layer and adding it. var googleLayer =...
3
votes
1answer
43 views

Empty a layer for each QGIS project

I have a layer with a customized form. Dropdowns, checkboxes, etc. in a QGIS project which is kind of a template. This QGIS project will be copied and pasted every time a new study has to be done (...
17
votes
3answers
9k views

How can I iterate over map layers in QGIS python

I'm having trouble figuring out how to iterate over map layers. I can access the currently highlighted layer in the table of contents via iface.activeLayer() but I want my code to operate on all ...
2
votes
1answer
63 views

Changing Query Layer's SQL Expression with Python

I use query layers in ArcMap 10.4. The maps need to be done/repeated periodically. The easiest way is to copy the map, change the source's SQL expression (e.g. from select * from TABLE where Period = '...
2
votes
1answer
31 views

Is there a way to apply the “Select features by rectangle\polygon…” function on multiple layers simultaneously?

I have put a map together using openstreemap data that is intended to be used as a base for different projects. However due to the amount of information (number of layers) the loading time is rather ...
3
votes
1answer
20 views

Quartiles from Raster Layer band

I'm building a plugin from QGIS, and I need to extract the values from the quartiles from a band in a raster layer. Does anyone knows how it is done?
1
vote
0answers
23 views

QGIS Composer keep reference after reloading layers

I have written a plugin which loads a bunch of geojson data via REST for a specific region, which is selected by the user, afterwards generates some vector grids over the extend and styles all the ...
0
votes
1answer
24 views

Spatialite union more than two layers / tables

Is there a way to union or collect any number of layer geometries with Spatialite (or another spatial database)? Two is simple enough, but more than that becomes convoluted. For example, if all I want ...
0
votes
1answer
45 views

Geotools : adding multiple points to the same layer

I've got a java Swing application which loads a shapefile and draw a map. Now I need to allow the user to click on the map and add points. I've successfully completed that with the following code. ...
4
votes
2answers
61 views

How to get layers in x number of subgroups?

I have a project which has dozens of groups and subgroups. E.g.: Main_Group > Sub_Group_1 > Sub_Group_1A > Layer_1A > Layer_2A How can I access ...
1
vote
2answers
33 views

Repair data source for all layers simultaneously using QGIS

In QGIS 2.12 i opened a map after i changed it location in the hard disk. Hence, all layers must be repair. I know the option to fix every layer separate, but i didn't find an option to "repair data ...
1
vote
0answers
50 views

Changing order layers are displayed in using MMQGIS?

I am dealing with hundreds of different layers, all of which have one of 6 names - not by choice, that's just the way they show up when I import them. I am trying to merge all those with the same ...
1
vote
1answer
32 views

Creating new layer using selection from attribute table in QGIS?

How do I create a new layer using a selection from an attribute table in QGIS 2.10.1? Previous answers on this topic do not help -perhaps because they relate to older versions of QGIS
0
votes
1answer
48 views

Remove layers using python- path orientation

Expanding on my previous question Code error - remove layer using python, i try to remove layers from mxd's (in ArcMap 10.3, python 2.7.8), that don't appear in the data frame with this code: import ...
2
votes
2answers
722 views

Add multiple Layer files in subdirectories to mxd using python

I have more than 300 layer files located in many sub-Folders and sub-sub-Folders. All Sub Folders are located in one large directory.I read Use python to add layers to TOC and I try, with arcpy, to ...
2
votes
3answers
2k views

Adding shapefile as layer in ArcMap via Python scripting?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shapefile to the current map. (And then do stuff to it, but that's ...
-1
votes
3answers
421 views

Insert layer file to specific data frame

I have a folder that contain mxd's projects. Each mxd has 3 and more data frame. I want to insert layer file to a specific data frame with position in the TOC. I don't know how to do it. I'm trying ...
-3
votes
3answers
41 views

Cannot find data source to set data source for layers in MXD?

I got some data in mxd format and when i try to open it: I tried to set data source but i cannot find the data source because the orginal file was saved in H:\drive and i do not have h drive on my ...
0
votes
0answers
12 views

How to divide bitmap into differnet layers by RGB color code in MapInfo

I have got bmp file with 7 colors. How to get from this bitmap 7 different vector layers depending on RGB color code? For example first layer is water space with blue color, second is buildings with ...
16
votes
3answers
5k views

Using ArcPy to get layer symbology?

Since ArcGIS 10 comes with ArcPy package, i'm wondering it is possible to use ArcPy functions to get Symbology (i.e color, width...) of a layer?
2
votes
1answer
37 views

Turning Text into Layer in ArcGIS for Desktop?

I am using ArcGIS 10.2.2 for Desktop. Can I turn the text boxes which I have inserted on my map into a layer which keeps the same aspect ratio with the map?
1
vote
1answer
35 views

Leaflet: Panes and Popups

I have a leaflet map with a circleMarker layer that has a popup. This works as expected. dotLayer = new L.geoJson(dots, { pointToLayer: function (feature, latlng) { return L.circleMarker(latlng,...
2
votes
1answer
36 views

save as Layer script not working

I've created script in Python for ArcGIS to save shape file as layer file..the code throws an error ERROR 000732: Input Layer: Dataset D:\core i 5 data\symon assignment\Swat\clipped\buffer.shp ...
0
votes
1answer
22 views

Geotools : A layer to draw the traffic volume of a road

I have developed a standalone swing application loaded with a shapefile of a road network using geotools (v.14.3). Now I would like to implement a feature where the user may zoom the map, and at a pre-...
-1
votes
2answers
19 views

Exporting waypoints layers from ArcGIS for Desktop to Google Earth?

Is it possible to export waypoints Layer (ArcGIS) directly to Google Earth? I can export waypoints tables from MapINFO directly to Google Earth via EXPORT MAP TO GOOGLE EARTH tab.
1
vote
1answer
304 views

Turning off all layers in MXD using ArcPy?

I tried this standalone script to turn off all layers in the MXD: print "This script turns off the following layers:" try: arcpy except NameError: import arcpy mxd = ...
1
vote
0answers
15 views

Geotools : Getting currently click layer from MapLayerTable

I've added a MapLayerTable to my application, and I'm loading multiple layers using shape files successfully. Now I would like to select features on the map of the selected layer. For this, I would ...
0
votes
0answers
11 views

ILayerFile.Open - The maximum record length has been exceeded

I have been able to use ILayerFile layerFile = new LayerFileClass(); layerFile.Open(layerFilePath); with out any problems until it just started giving me an error. Error: -2147220646 ...
4
votes
2answers
1k views

Setting layer visibility in QGIS Python API

Im having a problem toggling the visibility of map layers in pyqgis (2.4). I have a simple interface, just the map canvas, no legend, and basically a radio button that toggles between two raster ...