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.

355 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
26
votes
0answers
2k views

Leaflet v1 plugin: layer control for ungrouped, grouped, and nested-grouped layers

I need a Leaflet plugin which extends L.Control.Layers. I have the following requirements: works with Leaflet 1.x handles ungrouped layers alongside grouped ones handles nested layer groups does not ...
10
votes
0answers
352 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 ...
6
votes
1answer
977 views

How to load the layer style from Postgresql with Python?

I would like to write a python macro that upon opening my QGIS project file will reload the default style for each layer from the postgres 'layer_style' table. I have had a look at the documentation ...
4
votes
0answers
103 views

Applying graduated symbol renderer only on some features using PyQGIS

I have set up a graduate symbol renderer (QGIS cookbook - Graduated Symbol Renderer), and I am now trying to make it conditionally applied to some features only, depending on one (or more) attributes. ...
4
votes
0answers
98 views

How to render features that are just outside the map canvas extent in QGIS 3.4?

I am trying to generate a cloudy mask, following the recipe in "Qgis Map Design 2nd ed. Edition". For the most part, I have it working. But when panning around, the mask changes. And I think that ...
4
votes
1answer
200 views

Sharing properties for SQL server table in QGIS?

I have a project where most of the layers come from a SQL server. Most of the layers contain pointers to, and/or drop down list for, attributes so that there is consistency in data entry. This project ...
4
votes
0answers
266 views

Saving selected features by default in QGIS?

Is it possible in QGIS (2.14 or higher) to check by default "Save only selected features" when saving a layer and when features are selected ?
4
votes
0answers
781 views

calculate total Miles in a polygon using Google Map

I have an application that allows the users to create any custom polygon layer on top of google maps, i am interested to know if their is a way to select the road layer in this polygon and then ...
3
votes
0answers
391 views

How to develop responsive layer container in Leaflet?

I'm using leaflet.js to develop a drawing layer tool with the full-page map. Users will draw a group of layers to describe an industrial product's parts. The leaflet map and its layers should be fit ...
3
votes
0answers
1k views

Difficulty using ordinary kriging in QGIS 3

I have a shapefile with 65 data points. Each data point has a value for NO2 pollution. I would like to use kriging to create a grid of NO2 pollution values for the whole area. I have tried using ...
3
votes
0answers
70 views

How can I merge roads layers that do not align perfectly?

I have multiple roads layers for a given area and would like to merge them into one layer since they each have some unique roads the other layer does not show. However, the roads that these layers ...
3
votes
0answers
207 views

Adding layer with ArcObjects from Python script tool?

I would like to load an AFR file into a data frame in a currently open MXD and the IMap.AddLayer function is not working as expected if the data frame in which to load the AFR file is activate. And I ...
3
votes
0answers
241 views

Is there a way to ignore the “handle bad layers” error message without removing the layers from the project?

I have multiple QGIS projects that use the same base layers. I keep the QGIS projects on dropbox so I can access them from different computers. The base layers are scattered all over the place, on ...
3
votes
0answers
116 views

gdal_translate multiple GDAL_PDF_LAYERS_OFF entries gives error

The documentation says that GDAL_PDF_LAYERS_OFF takes a list of comma separated layers. Examples look just like what I am trying to do. Executing the following gives an error FAILURE: Too many ...
3
votes
0answers
638 views

QGIS Space Syntax plugin with OSM data?

I'd like to do a space syntax analysis for a city I observe, but when I use the Space Syntax Plugin, the desired shapelayer roads doesn't show up. It's an OSM vector layer, what do I have to do to ...
3
votes
0answers
239 views

OpenLayers WFS Multipoint

I am modifying a OpenLayers setup which uses WFS capabilities to create a vectorLayer on a map to support multipoints. GeoServer is setup to send points and multipoints however only points are ...
3
votes
0answers
766 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 ...
3
votes
0answers
702 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 ...
3
votes
0answers
697 views

Leaflet filtering existing featuregroup

I have a leftleat map and i would like to filter the featuregroup i am displaying. exp_colJSON = new L.geoJson(exp_col,{ onEachFeature: pop_col, pointToLayer: function (feature, latlng) { ...
3
votes
0answers
2k views

Batch export to shapefile by attribute field in QGIS

I have a project in QGIS where I am creating a map of plants over a large area. I want to take the "Genus" field (of which there are 100 hundred values) and essentially create 100 shapefiles based on ...
3
votes
0answers
435 views

Memory layer or QgsVectorFileWriter Error?

Currently this excerpt of code will not save to file (as it is supposed to). The memory layer is visible and editable. Yet even when manually saving the layer, any priorly added features (geometries)...
3
votes
0answers
713 views

Multiple image in OpenLayers

I'm trying to add multiple images to OpenLayers. I have the following (some code is excluded): var images = [image1,image2,image3] // these are url images on my server var image = new OpenLayers....
3
votes
0answers
560 views

Layer tick boxes embedded in PDF map

Maybe this is more of a PDF question than a GIS question. Today, I received a layered PDF map shown as a landscape A3, with a square map on the left, and with the map title, the legend, the scale, a ...
3
votes
0answers
513 views

Getting layers from SDE with vba

Im running arcmap 9.1. i have the code that lists feature classes in a list box from the SDE. The users select from one list box and adds it to another list box. How do i get it to show the layer name ...
2
votes
0answers
10 views

Automatically display any metadata credits for non-service layers in ArcGIS Pro?

By default, ArcGIS Pro displays credits for service layers in the bottom-right of the map frame. This can also be added to a layout as dynamic text (in which case the default bottom-right version of ...
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 ...
2
votes
0answers
33 views

Linked layers / virtually merge layers in QGIS?

I have 20 different regions (let’s say 20 provinces). For each province I have let’s say 50 different attribute tables / layers containing data for the province (roads, bridges, towers, …). I would ...
2
votes
0answers
18 views

Distinct styling of two merged layers lost

I merged two shape files of K-12 school districts and intermediate school districts in MI. Basically an ISD contains many K-12 districts within it. There is a field in the attributes table that ...
2
votes
0answers
30 views

File path in Layer Panel in QGIS

How can I disable file path balloon in Layer panel? When I pass the cursor in any object in Layer panel I see an annoying long text showing the file path. I would like to disable it.
2
votes
0answers
121 views

Open Feature form in multi edit mode using PyQGIS?

Is there a way to use PyQGIS to open the Feature form in the multi-edit mode for the active layer selected features? It's the "standalone" version of the one existing for the attribute table. https:/...
2
votes
0answers
56 views

Filtering value layer according to condition of other layer using QGIS?

I have 2 point layer: layer A have 500 point; layer B have 50 point and these point have coordinate duplicate with some point in layer A. I want to find these 50 point out of the 500 points in layer ...
2
votes
1answer
189 views

qgis2web - show specific layers in layer list

Is there a way to display specific layers in layer list when exporting map with qgis2web plugin? I have created a map with bunch of layers like roads, names of places, rivers etc. but i don't want ...
2
votes
0answers
68 views

Difference in area of polygon and excised raster layer

I'm using QGIS 3.8. I have dowloaded GLOBCOVER 2009 raster land cover map and ecoregions shapefile. Polygon of ecoregions are used for mask to cut raster file. On new layer r.report was performed to ...
2
votes
0answers
81 views

Print composer forgets layers and puts them in wrong order

I have a project that mainly consist of PostGIS tables, but also some shapefiles. All in all I have some 50 layers in use in the project. The last days, I have had problems with the print composer. ...
2
votes
0answers
46 views

Slow retrieval of features

I have a vector layer with lots of features and I'd like to create a new layer in Python, containing only a subset of those features. To be more specific, I downloaded OpenStreetMaps data of Austria (...
2
votes
0answers
137 views

Leaflet layerGroup in ListMarkers

I am using the Leaflet List Markers Plugin for showing all features currently visible in the map in a list. Adding a single L.geoJson layer is no problem and works fine. Now I am using multiple ...
2
votes
0answers
138 views

Attributes Table, Multiple Layers

I am working with several layers - a single vector layer, with a minimum of two delimited text layers. I have tried a number of times to open the attribute table for each of the layers, but selecting "...
2
votes
0answers
81 views

Setting raster visibility on/off in QGIS Python API 3

I'm having a bit of a trouble migrating an algorithm from pyqgis 2 to pyqgis 3. The thing is I want to make visible and invisible a series of layers as I iterate through a list and render some images. ...
2
votes
0answers
38 views

Showing split polygons in different layers in QGIS

I used the split feature to split a polygon into two parts. Is it possible to show the split parts in sub-layers in the layers panel, so that I can hide them individually? I am using QGIS 3.
2
votes
0answers
609 views

How to make a QGIS 3 Layer refresh after a joined data source is updated

I have a layer of ZCTA features that is sourced from a SpatiaLite table that is joined to an Excel spreadsheet and rendered with categorized symbology. That all works fine. The join configuration is: ...
2
votes
0answers
195 views

QGIS - Label Rectangle/Buffer Overlapping Layer Above

When I apply a buffer or rectangle to my labels they show through the overlying layers. Is there any way to avoid this, i.e. arrange the label so it lies underneath the layers above? I'm assuming the ...
2
votes
1answer
482 views

Build Radio Button in QGIS Edit Widget Properties

My question is similar to Choosing multiple options from QGIS Check Box or Value Map for feature attribute? I have 3 categories in a row, i want to make this selection in form of radio button so that ...
2
votes
0answers
524 views

Save layers and auto save: QGIS

When I save the shapefiles and the project the shapefiles do not save so I loose a lot of work every day. The problem starts when qgis starts to delay the save of the layers after long time in edit ...
2
votes
0answers
124 views

Use EXTENT of a LAYER in Mapserver to crop a layer?

I have two vector layers in my map file that are at very different resolutions, and overlap somewhat. This is causing me some issues, and I would be happy if the higher resolution layer simply ended ...
2
votes
0answers
61 views

Layers will not hold specified CRS?

I have several layers from OpenStreetMap that I wanted to convert to WGS 84 4326 due to my using several base layers that are assigned to that CRS. No matter what I try, whenever I check the layer ...
2
votes
0answers
852 views

Make linear regression in multiple raster layers

I have a question about multiple raster layer regression using R or Arcgis. I would like to predict biomass using some Vegetation Index - VI (NDVI, EVI, SAVI, OSAVI...). and generate R² and RMSE maps ...
2
votes
0answers
46 views

Compare 2 layers for like point features

I am looking for a plugin for QGIS that can compare 2 layers and tell me which point features are not common to both and which features are separated by a distance of say plus 1 foot. I am working ...
2
votes
0answers
293 views

Invalid layer when dragging tif archive in QGIS

I'm new in QGIS. I followed this video https://www.youtube.com/watch?v=6adjrQ_VtHQ&t=445s in order to make a bathymetric map, and when I drag the .tif appears this red window Invalid layer: GDAL ...
2
votes
0answers
212 views

Slightly misaligned layers in QGIS

I have three different layers loaded into QGIS. Two of the three are perfectly aligned, whilst the third is slightly off. Layer 1: Raster - LIDAR data from here Layer 2: Vector - Landscape feature ...
2
votes
0answers
39 views

Arcpy: MXD automatically removing layer whose data source was overwritten

I have a large script that does many things, but at the end it creates a buffer whose output is an existing feature class that is overwritten. That feature class is the data source for a layer that ...

1
2 3 4 5
8