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
0answers
28 views

Deleted Layer tool box [closed]

I have managed to delete the layers toolbox from the sidebar and cant work out how to bring it back. Can someone point me in the correct direction please?
2
votes
3answers
51 views

Filling polygon with 2 different colours representing 2 different sets of data using QGIS

I have a map of England where counties are polygons. I would like to fill them with 2 colours; each half corresponding to a specific set of data. Is there a way to do that? I have included an example ...
0
votes
0answers
26 views

Setting layer properties through PyQGIS [closed]

I have to config several project files with many layers in each one, many of those layers have similar fields which should have the same forms configs. Is there a way to config forms attributes to ...
1
vote
1answer
23 views

Select by attribute on shapefile works when added to ToC but not when pointing to workspace

I'm trying to build a script that uses select by attribute and select by location to do some operations on a couple of shapefiles containing a large amount of points and polygons. Preferably, I want ...
0
votes
1answer
31 views

Apply transparency on a WFS layer (PyQGIS)

I'm trying to make a wfs layer transparent, but it gives me a mistake, but I can't solve it until now. This is my code: uri ='http://gstore.unm.edu/apps/rgis/datasets/6ca5428a-a78c-4c82-8120-...
1
vote
1answer
30 views

From several polygons of one layer to several layers/files

I'm new in QGIS and I have a question. I am sampling an onion crop from a geottif: I need to export each single rectangle/polygon into a single tiff file. Is there a plug-in for doing so?
4
votes
2answers
101 views

Renaming multiple layers in the legend from an attribute in each layer in QGIS

I have 72 layers that have been generated via affine transform of a single layer that has 72 categories. But the 72 layers have been given names that are sequential numeric. The original categories ...
0
votes
0answers
12 views

SIGABRT when calling QgsMeshLayer class (QGIS)

I am working on a C++ application that uses the QGIS API to overlay weather data from NetCDF files onto a KDE Marble map. I am using version 5.11.3 of Qt and 3.8 of QGIS on Fedora 28. When trying to ...
0
votes
0answers
30 views

WPF using Web Map displays layers on first run but not second, then third but not fourth

Having a very strange issue with ArcGIS .NET Runtime 100.9 when the WPF app runs for the first time the requested web map and all layers display correctly but when the app is closed and rerun, the web ...
0
votes
0answers
59 views

Shapefile has feature that I cannot edit on QGIS 3.10.13 on Windows 10

I am editing a map with multiple layers. The project includes a shapefile for buildings that has numerous rectangles in black with 100% transparency as a single symbol, The layer file is at the top of ...
0
votes
0answers
36 views

Export layers to PDF

I have created a layer and using the category option have created lots of 'sub layers' is there a way to convert these to real layers so I can export each layer to a PDF?
2
votes
0answers
30 views

Generate Radio Channel Number Keeping 2km Buffer

I have point data and each point has a serial number (as shown in the screenshot) Each of my points is like a wireless access point and cannot be on the same radio channel as another wireless access ...
4
votes
1answer
42 views

Listing the raster layers on the canvas for selection by user

I am creating a processing script that will take input from the user. The input parameter is to be a raster layer. Using the method described at https://www.qgistutorials.com/en/docs/3/...
0
votes
0answers
20 views

Saving WMS layers in ArcGIS Pro so that they are accessible offline

How do I save WMS data, specifically WMS layers, so that they may be accessible online? I am using these two databases: one with layers containing map information: ( https://ags.cga.harvard.edu/...
2
votes
1answer
27 views

Leaflet: mutually exclusive overlay layers: “overlayadd” event firing twice

LeafletJS. I am trying to have two overlay layers be mutually exclusive. Full example here on jsfiddle I guess it comes down to this bit of code: map.on('overlayadd', function(event) { ...
0
votes
0answers
26 views

Intermittent problem in GeoServer 2.13

Frequently my GeoServer in production stops working in intermittently. I could not found a pattern of cause of this problem but this occurs with much frequency in production. A interesting point is, ...
-2
votes
1answer
93 views

What causes the “could not create destination layer” error when creating a heatmap?

I'm using QGIS 3.16.1. When I try to make a heatmap I got an error message saying "Could not create destination layer." I then tried using a smaller row and column size, and it runs the ...
0
votes
0answers
54 views

map.getLayers().getArray() doesn't show all layers in OpenLayers

This is my code : console.log(map.getLayers().getArray()); Output in console is correct (I have 7 layers) But when I open the array I see only two layers. What I make wrong? All layers are active. ...
1
vote
1answer
42 views

Use multiple colors in the same OpenLayers label

I made the following code that assigns a style to the field labels. Now I would like each word or group of words in the label to be a different color previously selected by the user. For example if we ...
1
vote
0answers
14 views

Use OS-specific file dialog to relink layer when file moves?

When I move a file out from under QGIS, of course I have to tell the program where it moved to. If you close a QGIS project and then move or rename a layer source file, you get a prompt when you ...
1
vote
1answer
15 views

Land usage radius from different layer

I am very new to using QGIS but what I am trying to do is: Load a WFS of 'land usages' in the netherlands (PDOK) plot store locations over the land usages take a 750 meter radius around the store see ...
0
votes
1answer
16 views

Combining information from two point layers based on the nearest neighbour relationship

I have two layers: One a modeled dataset with points on a 1x1km grid across the globe. I also have another layer which is my own data points which are scattered across the globe. What I want to do is ...
0
votes
0answers
25 views

Change color single layers OpenLayers

I want to change the color to a layers after the user has selected the color from the interface what have I done so far: var imobile = new ol.layer.Vector({ source: vectorSource.teren }); $('...
0
votes
0answers
46 views

GeoServer is deleting my shapefiles when I upload them

GeoServer version: 2.17.2 Host: GCP e2-medium (2 vCPUs, 4 GB memory) Disk: Standard Persistent Disk 100GB OS: Debian, Debian GNU/Linux, 10 (buster), amd64 built on 20200902 I am uploading a zip file ...
1
vote
0answers
23 views

Shifting multipart labels for an entire layer results into disappearing labels

When I attempt to move a multipart label, all of the labels asides the one I am moving disappear. How can I manually move a label and preserve all of the corresponding multipart labels using QGIS 3.60?...
2
votes
1answer
46 views

One popup for multiple layers in ArcGIS JS API

I am trying to have multiple feature layers that all share one popup in an ArcGIS JS map. As far as I know, the only way to define a popup is on a specific layer, when you do something like: const ...
0
votes
0answers
18 views

QGIS - Create custom layer of polygons with eligible areas

I have two layers : Regions, which shows the boundaries of different neighborhoods within a city (107 features in total). Areas, which represent different polygons around this city that are ...
0
votes
0answers
20 views

Layers projected the same not lining up

I have a map with many different layers all lining up fine and projected the same, but a new layer I've recently added is not lining up exactly. It's not off by a lot but you can definitely see the ...
0
votes
0answers
10 views

How to add legend to layer downloaded from arcgis.com?

I have downloaded a layer from arcgis.com that has a legend but when i view the layer in ArcMap, the legend is not there. How do i add the legend to the layer in ArcMap? The map i have downloaded is: ...
1
vote
3answers
56 views

Writing MakeFeatureLayer_management Where Clause With Multiple Mixed Values using ArcPy

I am trying to select certain points in a shape file using three different fields. Two fields don't need to vary, but the third one (the analog_years variable below) does. I want to be able to select ...
3
votes
1answer
35 views

Find the Position of a Layer in the TOC PyQGIS3

I need to find a layer in the TOC and get its position (which can vary) so that I can add a group after that layer. I can get the layer I want to reference easily enough: root = QgsProject.instance()....
0
votes
0answers
15 views

Multiple Layer viewing in ArcGIS Online

I am creating an interactive map using ArcGIS online of which I will share the link for people to view and interact with the map. I have 7 layers and will want the viewers to be able to turn on as ...
0
votes
0answers
23 views

QGIS 3.12 Toolbox Vector Creation - Create points layer from table corrupting field data

I'm fairly new to this I have imported a table from Excel with coordinates and wanted to convert it to a points layer using the above tool. But it appears to corrupt fields that are real numbers for ...
0
votes
0answers
7 views

AIS KMZ layer mapCanvas auto refresh

I have a marine AIS feed that is being decoded and written to a Google Earth KMZ file using aisDispatcher software. I am trying to get QGIS 3 to update the layer automatically, but am constantly ...
0
votes
0answers
18 views

Turning layers on/off in web map published to ArcGIS Online from ArcMap

I am trying to create a web service from ArcMap, but I am unable to have the layers turn on and off. I haven't been able to see anything using the Service Editor.
2
votes
1answer
47 views

Setting max/min values of Singleband grey layer using PyQGIS

I have a raster layer in QGIS and I would like to write Python code to change it's max and min values that would normally be under Layer Properties> Symbology> Band Rendering. The layer has a ...
0
votes
0answers
26 views

Disable pop-ups by attribute in ArcGIS Pro

Is there a way to disable pop-ups in ArcGIS Pro by attribute? I have a layer on an indoor floorplan and would like to disable popups for the "corridor/vestibule/locker/entrance" attribute, ...
0
votes
0answers
21 views

Overlay layers on different displays from the same coordinate system

I have vector layers from digitizing in Google Earth and vector layers from digitizing of a pdf document. All the layers were projected in the same UTM zone 30N system (EPSG code 32630). However, ...
0
votes
1answer
104 views

Red exclamation mark next to layer

I had a raster layer in my map document that suddenly became invisible in the map even though it is still in my table of contents. There is now a red exclamation mark next to it in the table of ...
0
votes
0answers
24 views

Open Layers get WMS Layer attributes without single click event

I am using javascript open layers v6.4.3 to load data from postgreSQL database. Here is my code to create feature layer and the click event to get identify feature: roads3Layer = new ol.layer.Tile({ ...
1
vote
1answer
40 views

Can I select a datasource for all layers in QGIS?

I received a zip file with a QGZ map and all the layers that go into the map. When I open the map, it is not recognizing the sources for any of the layers, so I have to go through and individually ...
1
vote
0answers
32 views

How to save a GeoJSON layer with the select option for the items in a field in QGIS

I have a GeoJSON layers with many items. If you open the attribute table you can select an option in one field clicking over the field and the choosing one of the displayed options. The problem is ...
0
votes
1answer
43 views

Change Layer in OpenLayers, GeoServer

Wish I could change the layers according to a certain selection criterion. For this I made a select that acts an onchange event that normally should change what is seen on the map .... But ...
9
votes
0answers
334 views

Remove reference to raster layer object PyQGIS

I am developing a plugin to load a set of raster files on QGIS. When there are a large number of files to be loaded, the main UI is freeze. So I use QgsTask to move the creation of raster layers to a ...
1
vote
1answer
35 views

Rule-Based Symbology Label disappers from Layers Panel

Attached is a screenshot of my project. As you can see from the 'Layer Styling' panel I have labels for my 'sensor.udl' symbols. However, they are only visible on the 'Layers' panel when I re-start ...
1
vote
1answer
29 views

Does ArcGIS Server support querying multiple layers of service in single request?

I am using ArcGIS REST services from a server-side app and parsing the JSON response. I need information from several different layers on the same service, and my queries are always for points. Is ...
1
vote
1answer
338 views

Roads not showing in Google Earth Pro

The road names are no longer showing on my Google Earth Pro. The only general layers available in the bottom left panel are "primary Database " and "terrain". I have tried turning ...
0
votes
1answer
35 views

Open Layers 3 Click in a layer

I'm trying to work with lots of layers and each one of them need a different click action but, with all my layers this code is starting to get confuse and messed up. I found out that in Open Layers 2 ...
0
votes
0answers
27 views

Adding annotation colors the points in red

I wanted to add annotations programmatically to my layers. But the trouble is that after adding annotations, the points become red and I can't make difference between the layers. Here is the code I ...
3
votes
1answer
77 views

Several QGIS layers sharing single shapefile

Is it possible for several QGIS layers to share a single attribute file, but each layer containing a different set of features from that one shapefile based on the value of an attribute?

1
2 3 4 5
35