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
4
votes
1answer
121 views

Turning on/off ALL selected layers in QGIS?

When I select few layers in the QGIS 3 Layers Panel and press Space - only one of the selected layers is turned off/on. I want to turn them all. How to do that?
0
votes
0answers
20 views

Fields lost/disappeared from Source Field List/Attributes Form?

I'm at a loss to describe how/why my issue happened, and I'd lose several hours of wasted work if I'm unable to resolve it... I have a polygon layer representing renaturalization planting projects ...
3
votes
1answer
49 views

Specify an alternative URL for a “tileLayer” to use in Leaflet?

Let's say I have a: var myTileLayer = L.tileLayer('https://{s}.tile.SomeMapServer.com/{z}/{x}/{y}.png'); and if some tiles fail to load, I want them to be loaded from 'https://{s}.tile....
1
vote
0answers
17 views

Rename layer result from PyQGIS QgsProcessing.TEMPORARY_OUTPUT to something else

I have a PyQGIS script that I exported from a QGIS process model. I have set output layer names that make sense in the model but when I export and run the model in PyQGIS it outputs the temporary ...
1
vote
1answer
34 views

Sort and create attribute field to the shapefile

I am creating a shapefile layer and adding an 'Area' attribute field using the following script: # Create shapefile layer drv = ogr.GetDriverByName("ESRI Shapefile") dst_ds = drv.CreateDataSource(...
-1
votes
0answers
14 views

Having problems with SQL View using DVF [closed]

I'm working on a project as student and my goal is to create a web api for a real estate agency. Im using a database called DVF provided by the country (FRANCE). I'm new to geoserver and its been ...
1
vote
2answers
28 views

RAT and cell values in R's raster-objects

I really struggle to understand some basic concepts in the structure of how R's raster-objects save values. Namely the RasterLayer, the RasterBrick and the RasterStack. I understand that the values (...
1
vote
0answers
16 views

Layers and styles for all different geometric objects

I want to change the graphical style of my geoserver map. There are like 400 different geometric objects and 20 different zoom-levels. Do I have to create 8000 (400x20) different layers/styles and ...
0
votes
2answers
29 views

Change Drawing Order with Python in ArcGIS Pro? [closed]

Working on a Python script that does some routine table management of a couple of feature classes. In one step I define a table join and then export that to a GDB. When that runs, it will add it to ...
1
vote
2answers
58 views

Moving layer across map canvas

I would like to move my created layer across the map canvas. I found some solution here. And next tried to achieve something similar in QGIS 3.10. Unfortunately, this step couldn't be achieved, as I ...
0
votes
0answers
21 views

Iteration between different polygons in one layer

I am trying to create a code that will calculte the mean NDVI value for each polygon,the standard deviation , then std/2 and then will classify the pixels inside each polygon according to the next ...
1
vote
0answers
33 views

To Iterate through all layers and all attributes for each layer

I am working in the Python console in QGIS 3.10. I want to iterate through all layers and for each layer iterate through all attributes and set them all to 'Hidden'. I want to do this in ...
2
votes
1answer
63 views

Symbol's size huge in the layer tree legend in QGIS

When I use Type of symbol -> Generator of Geometry of a vector layer that the symbol has a huge size in the layer tree legend of a QGIS projet. I use this formula wedge_buffer($geometry, "fyd" , "...
0
votes
0answers
25 views

Download OSM tiles footprints as a layer

Is it possible to download a shape layer (or similar) with the OSM tile bounds from somewhere? Not the actual tiles, but only their polygon representations (for example-some area have about n tiles in ...
0
votes
0answers
31 views

Select and Delete from Multiple Layers at once in QGIS

I have imported a CAD drawing into QGIS as a GPK. It has imported everything that was in CAD. Now I want to delete features that I don't need. See below: I know how to turn each layer on and then ...
3
votes
1answer
112 views

Seeking tutorial to split group of layers in QGIS

I am trying to split a group of layers, but I can't find anything online about it. I have a layer with a paper clip on it (in the sidebar). I can't figure out how to break it. Could you link me to a ...
2
votes
2answers
75 views

Populate field in one layer with corresponding value from another layer

I have 2 existing vector layers: 1 point, 1 polygon. In almost all cases the points overlap a polygon. The point layer has multiple features (1,000+) with an existing field which I need to ...
0
votes
1answer
42 views

arcpy.Mapping.UpdateLayer not working

The layer to be updated (ul) does not get applied with the style from the source layer (sl) and the code executes without throwing any error. import os import csv import arcpy #Set home geodatabase. ...
1
vote
0answers
30 views

Converting QGIS vector layer to single track that can be used in Garmin Basecamp

I would like to export a vector layer from QGIS into a GPX file consisting just of a single track. I can export the layer, which in QGIS shows a cycle route, i.e. a single line, in GPX format. I think ...
0
votes
0answers
29 views

Plot different layers from RasterStack object in R

Is there any way to automatically plot each layer from a RasterStack in R. I'm a little bit lost in the vast amount of options. There is tmap, mapview and also leaflet... For example if you have a ...
0
votes
1answer
21 views

arcpy.MakeFeatureLayer_management function not creating feature layer in ArcGIS Pro

I'm attempting to run a simple tool script in ArcGIS Pro 2.4 that creates a feature layer from an existing layer. The script creates the feature layer just fine if running the script in PyCharm, as ...
0
votes
0answers
62 views

'Layer is not valid' error in QGIS for delimited text layer

I am trying to add a CSV that contains lat/long coordinates as a layer to a project in QGIS but I keep getting a 'layer is not valid' error. Here is a picture of the data preview before I click Add: ...
1
vote
1answer
45 views

Reset particular layer in Google Earth Engine

I have two layers in my GEE and I want to reset one of them base on my selector. I have the code as following: Map.layers().reset(['UHI']); Map.addLayer(UHIAdded, {opacity: 0.5}, 'layer1'); Map....
0
votes
2answers
42 views

PyQGIS: hide a layers-group by uncheking it in the legend [duplicate]

I have a group of layers that contain itself other groups (as shown in picture). I need to hide one group by uncheking the checkbox in the legend. is there any way to do it programatically using ...
0
votes
0answers
12 views

Problem extracting sub-layers from certain geospatial PDFs

I have been extracting certain data from geospatial PDFs using Bluebeam Revu but have run into some issues with a couple specific PDFs. For the sake of this question consider the 2019 Aspen/Sopris ...
1
vote
1answer
45 views

Spatial reference data from all layers in MXD

I have a MXD with many group which has many layers. I have tried to get coordinate system data from all layers with the code from Iterating through layers in mxd and describing coordinate system. So ...
2
votes
2answers
49 views

Dissolving layer with two or more fields in QGIS 3

I want to dissolve the layer based on two or more fields through "Processing modeler". How to set and where to set those fields? When I use "Dissolve" tool separately I can choose fields that I want, ...
2
votes
0answers
43 views

QGIS layer blending: keep polygon outline un-blended?

Version 3.8.3. QGIS' layer blending is a spectacular feature that I use often. For example, when displaying a polygon layer over a satellite image background I'll set the polygon layer blend mode = "...
1
vote
1answer
39 views

Ordering FeatureGroups

I'm using Leaflet right now and I have issues on ordering a list of FeatureGroups. Each feature group is either an imageOverlay or a list of Features I tried using bringToFront / bringToBack and it's ...
1
vote
1answer
72 views

OpenLayers - remove all layers of map apart from base map layer?

What i need is to delete all layers from the map without removing the base one (in my case OSM) Here is some code new Map({ layers: [ new TileLayer({ source: new OSM() }) // <== ...
1
vote
1answer
101 views

ArcPy - List layers and list fields in one code

I am trying to combine ListDataframes, ListLayers and ListFields in one ArcPy code. I can do it one by one (first list layers in one code, and then list fields in second code), but I am trying to do ...
2
votes
1answer
30 views

Road Names - Multiple Lines and Single Lines [closed]

Fairly new to the GIS world. I have been creating maps for my employer using OS Vector map data. Up until recently everything has been going smoothly - I only use vector based data so that I can ...
1
vote
2answers
46 views

Adding label to OpenStreetMap

I've eaten at this amazing Brazilian BBQ restaurant in Calgary and I noticed its not on OpenStreetMap (OSM). How do I add a label to OSM? I am currently in the process of learning how to use QGIS ...
0
votes
0answers
26 views

Open QGIS Project in both Linux/Windows

My company has workers that use Windows and Linux to manage a QGIS project. However, when we use the same project created in different operate systems the layers lose file paths. Is there ...
1
vote
0answers
58 views

Determining if layer is visible using PyQGIS

I am working on a plugin 'Stripchartdrawer' current commit https://github.com/sickel/qgisstripchart/tree/ba3afd7184e33331b5af38111e91dbb9b6a2d1c0. One of the features in this plugin is to be able to ...
1
vote
1answer
38 views

QGIS 3.4. Saving Layer Status (ON/OFF) for printing different Layouts

if i have a project with a lot layers (20-30) and i want to print different map layouts is there a possibility to save different status of which layer is on or off? So for example: Map Layout 1: ...
1
vote
1answer
55 views

Designing small letters under words in QGIS

I want to design small letters under words in QGIS when I designed the labels (attach picture). Is there any way to do it?
2
votes
1answer
35 views

Identifying layers under cursor in QGIS?

In QGIS 3.8, I've loaded hundreds of layers (georeferenced individual images), which are named by filename. I'm looking for a way to click on the map and query what image (i.e. what layer in the "...
3
votes
1answer
39 views

Getting list of layers when opening a QGIS project on a standalone app?

I am trying to make a standalone QGIS app to read a .qgs file for rendering an image based on the vectors using LayoutManager. The problem is that when I try to print project.mapLayers() I get an ...
1
vote
1answer
25 views

Features disappear from layer

I have a problem with my newly created layers. I have drawn a lot of features and most of them disappeared during the weekend while the pc was turned off. They are not visible in the drawing, in the ...
3
votes
1answer
62 views

QGIS 3.8 - forest leaftype symbols

I'm pulling forest data from OSM through overpass API to QGIS 3.8. Then I have a new layer with a simple fill (filled with color). I would like to use the same symbols as in OSM instead of simple ...
1
vote
2answers
60 views

PyQGIS Close Layout Window

I have a script that iterates through layer subgroups in QGIS 3.6, opens a layout with the with the same name as the subgroup and exports a PDF. What I am struggling with is to close the active layout ...
0
votes
0answers
13 views

Aggregate layer not loaded on GeoNetwork

I try to load an aggregate layer WMS from GeoServer on my GeoNetwork as base-map (i have changed the config-viewer.xml file) but an error displays that the tile is not found. Moreover when I try to ...
1
vote
0answers
26 views

GeoServer - compute from native bounds does not work correctly [closed]

I am currently working on the topic GeoServer, so I am very new. For some layers it is not possible to calculate the BBox via the button "compute from native bounds". What can be the problem? What ...
2
votes
2answers
63 views

DEM and vector data won't match using QGIS

I have just started using QGIS for my research at university. I have a DEM comprising Italian regions of Lazio, Tuscany and Umbria. I then have a set of vector data from surveys carried out in these ...
0
votes
1answer
34 views

Deleting values minor of 0.31 in NDVI raster layer in QGIS

In my research I have a Ndvi raster layer, and I want to delete the values corresponding to bare soil, which are those minor of 0.31. Therefore, I will obtain a new raster layer with those values ...
1
vote
1answer
39 views

Exctracting values and their coordinates from a raster layer in QGIS?

I would like to extract the pixel value and coordinates of each of them from a ndvi raster layer. I don't have a point layer from where I can extract those values, as I read in other posts. ...
0
votes
0answers
13 views

After using Apply Symbology From Layer in ArcGIS Pro layer becomes invisible

The layer still exists, i can open the attribute table, zoom to the layer etc. And if i change the Symbology manually, it reappears. Anyone knows why and how to fix it?
2
votes
1answer
87 views

Loading layer styles; (*.qml file) is there a shortcut or toolbar icon

Currently, to load a saved style you have to open the layer properties, scroll to the bottom and click on the style tab. As this is a regular thing I need to do when creating new maps I was wondering ...
1
vote
0answers
30 views

Using layer style in PostgreSQL

I have a db with two schemes "public" and "versioned" (the latter generated with the fastversion plugin). In the "public" scheme I have shp with related styles_table, in "versioned" I have other shp ...