Questions tagged [layers]

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
8 views

How to snap a graphic to a vector basemap layer

I'm using the Sketch Wdget in a map for drawing graphics. Is it possible to snap the drawings (polygons for example) to the roads that are part of the vector tile layer i'm using as a base map?
user avatar
  • 113
5 votes
1 answer
90 views

Deleting the same column(s) from different shapefiles in QGIS

In QGIS, I have a problem deleting the same column out of different shapefiles, is there a way to do this? I want to delete several columns out of all these layers, is there a way to do this without ...
user avatar
  • 115
0 votes
0 answers
22 views

QGIS 3.22.6 Add letters to check boxes instead of ticks when using value relation widget

I am using QGIS 3.22.6. I have added a species list to a polygon layer using the value relation widget. For each feature I am able to tick/select which species are present within the polygon. Rather ...
user avatar
0 votes
1 answer
19 views

Split Polygon in one layer based on boundaries in second layer

I have two different polygon layers, 1 and 2. Now i want to split polygons in layer 1 taking reference from polygons in layer 2. Is it possible in qgis???? Please find attached image as reference ...
user avatar
  • 259
0 votes
0 answers
16 views

Saving layers from ArcSDE to layer file using ArcMap

I have an MXD with layers sourced to SDE feature classes. I am trying to save the layers as layer files. However, I can't get arcpy.SaveToLayerFile_management to do its job. Here's the code I use in ...
user avatar
0 votes
1 answer
35 views

Turn Leaflet Layers On or Off Based on Zoom Levels

I have a point layer that I'd like to turn off past a certain zoom level. It's being added with an AJAX request from json and calling the drawMap function I've seen many examples using 'zoomend' but I ...
user avatar
2 votes
1 answer
76 views

Why some layers are not available in QGIS? [closed]

I am using QGIS Desktop 3.22.5. How can I resolve the issue with unavailable layers?
user avatar
  • 29
1 vote
1 answer
44 views

Leaflet geoJSON - function within setStyle()

I have 2 styling methods for countries on my map: style_init() for the initial style of a country, style_new() for when a country changes and I want to re-style it on the map: style_init(feature: any) ...
user avatar
0 votes
2 answers
28 views

Disable "world hillshade" layer from esri/map in JS

I'm using arcGis on the web with js api. I'm creating a new map: new Map({ basemap: 'topo-vector', } when i observe the map, i see that besides the 'topo-vector' the is another layer: "world ...
user avatar
  • 113
0 votes
0 answers
9 views

How to use ArcGIS dynamiclayer

I want to display separate layers from this ArcGIS Server with LeafletJS from this server https://gis.blm.gov/arcgis/rest/services/lands/BLM_Natl_SMA_Cached_with_PriUnk/MapServer I can display all ...
user avatar
  • 233
3 votes
0 answers
45 views

Unavailable layer saved on computer as .txt file in my all projects (.qgz)

I have a problem with all my saved .qgz projects. I always worked with layers in projects only as .txt files, not saving them as shapefile, because I can make changes in .txt files (eg. add more ...
user avatar
1 vote
0 answers
42 views

Function for layering two rasters in R

I am trying to layer a raster over a hillshade raster in the same way that I would do using the base R plot function (example code below) and export as a GeoTiff. col_rmp <- c('#0180FF', '#0101FF', ...
user avatar
  • 121
1 vote
1 answer
25 views

How to get layers name added to OpenLayers map v6.14.1?

I'm trying to get name of layers added to OpenLayers v6.14.1, I found some methods but they were very old for instance: "map.layers" and one other method I found was : let addLayers = map....
user avatar
  • 791
3 votes
1 answer
95 views

Creating separate layers from single CSV file in QGIS

I would like to add a single CSV file, which can then be separated within QGIS into separate layers. With the aim of being able to turn off all layers except for 1 area that I am working on. I ...
user avatar
  • 39
0 votes
0 answers
43 views

Displaying a CSV layer and a .shp layer in the same project

I'm a newbie to GIS and particularly to QGIS. I am using QGIS 3.22.5 on MacOS 12.3.1 Monterey. I want my project to display two layers. One layer is sourced from a CSV delimited text file. The other ...
user avatar
2 votes
1 answer
36 views

Issue with saved scratch layers in QGIS, index higher than new scratch layer with the same name?

I'm using a plugin that creates scratch layers with the same name each time I start it. It's not an issue on a session basis, proj.mapLayersByName('scratch_layer_name')[-1] works fine to get the ...
user avatar
  • 319
7 votes
2 answers
137 views

Selecting items in the attribute column based on items of the other layer in QGIS

I have the items in my data attribute table, which were selected. What I want to do is make the object with the same value to be selected in the attribute table, which belongs to another layer. In ...
user avatar
  • 3,594
2 votes
1 answer
63 views

Duplicate layer in QGIS (change data in base-layer does not change data in copy?)

I was wondering for a time what Duplicate a layer in QGIS actually does. Reading this question: Duplicating layers in QGIS 3.4 I was assuming that when duplicating a layer I could style each ...
user avatar
  • 657
0 votes
0 answers
38 views

Calculation problem

Trying to calculate terms and failing.I'm trying to figure out what's the problem? Indicates that all documents are on an external disk and not on the computer. if("area" <=1000, $...
user avatar
0 votes
0 answers
22 views

Importing an output layer variable from one file/script to another

In the first script a layer is created, then the user can manually mark areas. In the second script the marked areas should be saved. I wonder if I can import the created layer from the first script ...
user avatar
  • 159
1 vote
2 answers
34 views

Persistent shapes in project not attached to layer

I am running QGIS LTR. I was attempting to digitize some shapes to fix geometry. Selected the layer, toggled edit, used the add polygon feature to trace, then right clicked to end. I see where it ...
user avatar
  • 21
0 votes
0 answers
22 views

Description of all layers in a QGIS project

Is there a way to view the properties of each layer (especially Route and CRS) of a project, all together in a list? (I am using QGIS 3.8.3) The same way that in the Project Properties > Source of ...
user avatar
  • 746
0 votes
2 answers
43 views

Loading specific layer by its name from GeoPackage

How can I load a specific layer by its name from a GeoPackage into the project. I tried the graphical model designer, but it always loads a layer from the geopackage and labels it with my layer name (...
user avatar
  • 159
4 votes
2 answers
80 views

Change color of different lines in same layer QGIS

Is there a way to manually change color of single lines under the same layer? i know that there's a way to change them via the categorized tab in the layer style properties, but the color change that ...
user avatar
0 votes
0 answers
16 views

What is the difference between pasting into a layer or a template?

ArcGIS Pro When using paste special, what is the difference between pasting into a Template and pasting into a Layer? I've read the help page but it hasn't clarified what the functional differences ...
user avatar
  • 1
4 votes
3 answers
125 views

Selecting features in one layer based on mutual field with another layer in QGIS

I have two layers in QGIS, each one with a field called "Name". I need to select the features in 'layer2' whose name exists in 'layer1' (totally or partially). For example, in the images ...
user avatar
3 votes
2 answers
71 views

Selecting attributes from multiple vector layers in QGIS

I'm looking for a way to select multiple attributes from about 9-13 vector layers. I downloaded the "Multiple layer selection" plugin, but I get an error. 2022-03-22T14:01:20 WARNING ...
user avatar
3 votes
1 answer
65 views

Default Layer in the Inputfield in QGIS processing script

I am writing a script and I would like to let the user choose the layer but i would like to default a layer (when it is open in the project) in the input field and if the user changes it he can choose ...
user avatar
  • 159
0 votes
0 answers
35 views

Using arcpy.mapping.UpdateLayer

I am trying to replace an existing script that uses arcpy.ApplySymbologyFromLayer_management to update the symbology of a layer with arcpy.mapping.UpdateLayer so that the symbology and the label ...
user avatar
0 votes
0 answers
30 views

Polyline featureclass as water network [duplicate]

I use ArcGIS Pro. I have a polyline featureclass of a water network. I want to create polygon layer around these lines to became a coverage layer but I want that to be automated and not manual. Can ...
user avatar
2 votes
1 answer
29 views

Undo move layer in QGIS 3

My map projects often incorporate many different layers in many different groups and subgroups. I keep copies of layers in groups specifically ordered and symbolized for a particular map layout. ...
user avatar
0 votes
0 answers
16 views

Split Overpass result (QuickOSM) into different layers categorized by tag in QGIS

I am trying to split different content that I download via QuickOSM within one big Overpass Turbo query into different layers in QGIS so that I can edit and style them individually afterwards. I have ...
user avatar
  • 1
3 votes
1 answer
90 views

Accessing layers offered by an ArcGIS REST Server via Python Console?

Vindbrukskollen has a nice map of wind turbines. From the source of that webpage, I get this link to an ArcGIS REST Server Layer: https://ext-geodata-nationella.lansstyrelsen.se/arcgis/rest/services/ ...
user avatar
  • 250
2 votes
1 answer
52 views

Loading windmill layer from Vindbrukskollen's map to QGIS

My aim is to visualize the windmill locations at QGIS from Vindbrukskollen's map. To achieve this, right click on the map, select Inspect. I find this link (highlighted in blue, cursor over it): ...
user avatar
  • 250
1 vote
1 answer
38 views

QGIS layers shown darker under same setting

I am working on some layers and changing the symbology to represent the values into 5 different colors. For this, I change the symbology to Graduated, pick a color scale, and set it to 5 intervals. I ...
user avatar
4 votes
2 answers
78 views

Directly exporting rule-based count results in QGIS

I have hundreds of rules specifying ranges of polygon areas. I would like to create a table of the ranges and their values outside of QGIS and since these results are exactly what I am after I would ...
user avatar
  • 51
1 vote
1 answer
36 views

Loading layer into QGIS via Python [closed]

I am trying to load in a layer to QGIS via Python but a weird "unicode error" - message appears. Dont know what that message means nor what the problem is. Do any of you know?
user avatar
  • 59
2 votes
2 answers
114 views

Retrieving raster layer names from a raster stack R

I have a raster stack with many layers and I want to compare the layers that contain the maximum value using cell by cell comparison and finally retrieve the layer names from the raster stack on each ...
user avatar
  • 51
0 votes
1 answer
41 views

How to obtain the SRID of a GDB layer using ogr_layer_SRID with ogrinfo?

I would like to use ogrinfo.exe through a command line to query the SRID of a layer (e.g., polygon layer) inside an ESRI GDB. Similarly to SpatialReference.GetAuthorityCode() when using GDAL Python ...
user avatar
  • 53
4 votes
5 answers
325 views

Increasing the size of layer in QGIS

On QGIS, I have a worldwide basemap on which I selected Australia and I saved this selected layer. Now, I would like to increase the size of my layer while keeping the continent boundaries and the ...
user avatar
  • 41
3 votes
1 answer
39 views

Merging features of the same class in QGIS

I am running with a problem that I want to merge all the features of the same vector class into one attribute. Below the green layer is the forest layer that has more than 11 thousand features, I want ...
user avatar
1 vote
1 answer
36 views

Replacing data source only if feature exists using ArcPy

What would I need to add to my code to check that a data source exists first before running layer.replacedatasource? I have been supplied with an example that uses the os.path.isfile to check if a ...
user avatar
4 votes
1 answer
120 views

Show/hide all tooltips at once in Leaflet

I use a for loop to add tooltips to my Leaflet map by reading the lat and lon coordinates from a .txt file. for (var i = 0; i < lines.length; i++) { ... L.tooltip({ permanent: ...
user avatar
  • 43
4 votes
1 answer
58 views

Accessing aggregate functions on another layer in QGIS

I am using QGIS where I have: Layer 1 STREETS : lines each of one representing a street (one line one street), with different fields, with a unique id called "Name" (string) Layer 2 STAKES :...
user avatar
  • 418
2 votes
1 answer
165 views

Where are OSM tile servers corresponding to its supported layers?

On OpenStreetMap's main site (like here), there are 6 different layer options to choose from (like Standard, Transport Map, Cycle OSM, etc): However, on OSM's wiki on Tile Servers, not all of these ...
user avatar
2 votes
0 answers
45 views

Deleting layer with its source in QGIS 3

When I remove a layer, I usually don't need the source anymore either. If now using the QGIS remove layer... command, the layer, of course, is gone, but the source file remains in the data and has to ...
user avatar
  • 427
0 votes
1 answer
40 views

Getting detailed city/region names from OpenStreetMap (OSM) tile API

I want a tile for a region. I have the coordinates. I used a calculator webservice to convert lat/long to z/x/y. I'm using the OSM service like this: https://tile.openstreetmap.org/8/137/83.png : curl ...
user avatar
0 votes
0 answers
25 views

OpenLayers custom VectorSource based on protobufs?

I've been having some difficulty finding the answer to this, but is it possible to have custom VectorSources for a WebGLPointsLayer in OpenLayers? I have a gRPC stream that my React client is ...
user avatar
2 votes
1 answer
61 views

Adding an entry in contextmenu of QGIS Legend Layer Tree

Like this answer there was in QGIS 2 the possibility to extend the contextmenu of a layer from Python code. Now I'm searching for this feature in QGIS 3. I'm looking for this in QgsLayerTreeNode class ...
user avatar
  • 1,186
4 votes
1 answer
60 views

Listing name of overlapping polygon in QGIS

In QGIS, I would like to assign polygons in one layer (ZIP codes) to polygons in another layer (counties). Specifically, I would like to know, for each ZIP code, in which county it is located. In case ...
user avatar

1
2 3 4 5
40