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
47 views

Different layers and basemaps on both sides with OpenLayers layer swipe

I have created a webmap with a layer swipe using OpenLayers 6.3.1 like this. My goal is to display different WMS layers on both sides with different base maps. For now, I have made it so that I can ...
0 votes
2 answers
19 views

ArcPy command to get the number of features in map layer

I am looking for an ArcPy command to get the number of features in map layer. There are posts on how to check the number of features in the source of the map layer with arcpy.GetCount_management(lyr....
  • 1
1 vote
0 answers
23 views

Adding ImageMosaic - Failed to create reader from file

I'm using Geoserver 2.21.1 on local and trying create a new store for ImageMosaic type. Then I'm receiving the below error. Failed to create reader from file:coverages/GNC and hints Hints: ...
  • 494
0 votes
1 answer
59 views

Importing multiple txt files using PyQGIS

I'm using QGIS v3.26, and cannot seem to get code referenced from another Q&A to work. This is the previous Q&A on this topic that I was looking at: How to create multiple QGIS layers from ...
0 votes
0 answers
20 views

Existing project won't load layers

I have a qgis project that I've been using for a few years. The last time I opened it up it says "project loaded", but none of the existing layers show up in the layers pane. I tried ...
  • 1
0 votes
0 answers
19 views

Hide/remove a specific features in Leaflet [closed]

I have a GeoJSON and I want to hide some features. I can do so with a weight of 0 or opacity 0 styling but not handy in combination with a hover that also changes weight & opacity. How can i just ...
0 votes
0 answers
12 views

ArcGIS Pro: Raster Layer in Incorrect Location

I have a very large raster layer (67g uncompressed) that was merged from multiple tif files in ArcGIS Pro. However, I have not been able to get it in the correct location (USA) and it is displaying ...
0 votes
0 answers
34 views

QGIS count points in polygon by category

This question is following to this answer point count in polygon by category array_length(overlay_intersects('pointlayername',$id,filter:="fieldcontainingcategory"='nameofcategory')) This ...
  • 381
0 votes
0 answers
11 views

Automating layer editing and uploading from Pro to Portal

I have a long list of layers on Pro that I need to upload as feature layers on Portal. Is there a way to automate the process instead of uploading each layer separately which is incredibly boring and ...
1 vote
0 answers
57 views

Digitizing Toolbar greyed out now in QGIS 3.26.2 [closed]

Since we upgraded QGIS from version 3.16 to 3.26.2 the Digitizing Toolbar is greyed out. I have tried to find the setting that is different between version to unlock it but I can't find it. I need it ...
1 vote
1 answer
64 views

Calculate how many points are located within certain land cover classes - QGIS [duplicate]

I am working on a project for my university and this is my first solo project. I have two layers: The first layer is a land cover classification with 6 classes. The second layer is a set of points ...
0 votes
1 answer
46 views

Import Google API layer into QGIS

I found this streetlight layer: https://oncorstreetlight.com/api/location/category/18/public/map and I would like to display it with other layers I have on my PC. I'm wondering how can I import the ...
0 votes
1 answer
20 views

Need to publish raster layers with WFS in QGIS Server, but not available

In a QGIS project, I have several raster layers---satellite imagery for specific areas--and I wish to serve these via QGIS Server. WMS works nicely, and they show up for WCS. But I cannot see the ...
  • 101
1 vote
0 answers
33 views

QGIS 3.10 problem with uploading Geopackage uploaded vector layers shown displaced

I am trying to upload a Geopackage file containing various vector layers into my project (currently using QGIS 3.10). Uploaded layers are shown as if they were displaced on the base map of Google ...
0 votes
0 answers
17 views

Layerlist container property disappears after load

I set a layerlist like so: const layerList = new LayerList({ view: view, container: 'example_container Now, when the app loads, this loads fin to the specified div with the id example_container. ...
  • 1
1 vote
1 answer
52 views

Is it possible to set the global opacity of a raster from a qml file?

I am trying to control the global opacity for raster layers when loading a qml file. I have tried exporting the qml file with the desired opacity settings and I can see this value is stored in the ...
3 votes
1 answer
91 views

Opening QGIS project says layers not available

I created a QGIS project with four geopackage layers for an uni project. I made sure to include all four geopackage layers in the same folder as the QGIS project and then zipped it to send it to my ...
  • 31
0 votes
0 answers
17 views

Automated creation of "spatial bookmarks"

The problem: The respective geometries of a layer (geopackages) can not be displayed as single geometries in the viewport "Layer" to be able to zoom to the single surfaces. Here you have to ...
  • 661
1 vote
1 answer
43 views

Layer filter in viewport

Is there a way to display the geometries in the "Layer" viewport, so that you can zoom to the geometry in question with a right click. I only know the categorized view via the layer design. ...
  • 661
0 votes
0 answers
43 views

layer.featureCount returns 0 even though features are present

I create a new shapefile with a plugin, no problems. But when I use the layer.featureCount() function in QGIS in the Python Console, it returns 0 even though there are features. So far I have found ...
0 votes
1 answer
15 views

Adding feature class to active map from geodatabase

An extension of the question answered here: Adding feature class to Map in CURRENT project using ArcPy in ArcGIS Pro? This method adds the feature class to the first map in the project, but what if I ...
  • 121
0 votes
0 answers
27 views

QGIS adds layer to GEOPACKAGE layer but displays "could not find layer"

I have noticed something strange when merging layers (not matching attribute tables) together. When I try this QGIS responses 'Export in vector data failed. Could not find layer.' So far so bad. When ...
  • 389
0 votes
1 answer
49 views

Using ArcPy to add layer to map

I am having trouble adding my result to the current map using ArcPy. I keep getting this error problem, "ValueError." Here is my script: Result = arcpy.analysis.Clip('FeatureClipped','...
0 votes
0 answers
25 views

Layer Blending in ArcGIS Pro and Publishing to service

I've been working on a service to publish and have made a very clean map using layer blending. However, when publishing as a Web Map, a web layer WMS and a Map image, it removes the blending of my ...
3 votes
1 answer
109 views

Using QGIS expression with overlay_nearest() function to create line connecting point to two nearest points of other layer

I have in QGIS ver 3.22 two point layers named: source_p target_p I want to point automatically with a line from the source_p layer to the two nearest points on the target_p layer. Manually, I was ...
  • 381
2 votes
2 answers
37 views

Zooming using getLayerExtent property of MapFrame not always zooming using ArcPy with ArcGIS Pro

To see this problem: Start ArcGIS Pro 3.0.0 (or any version you wish to test) Create a new project using the Map template, call it TestProject in C:\temp and tick the checkbox to make a new folder ...
  • 64.2k
0 votes
1 answer
21 views

How to stack layers (slope, curvature, aspect, etc) derived from DEM to form multi-band images in QGIS?

Made a DEM from Landsat imagery and derived the aspect, slope, curvature, TWI, etc layers (generic flood conditioning factors). I now need to incorporate these layers and feed them to a LSTM neural ...
  • 1
0 votes
1 answer
95 views

Using Make Feature Layer from URL with token in ArcPy

I have a Python script tool that makes use of a feature layer hosted on a map server. Originally, I got the layer by making a feature layer using the code below. lyr = arcpy....
1 vote
2 answers
37 views

Filter/delete polygons if they are surrounded by other polygons

I've been looking for a method to extract polygons (here in green) witch are surrounded by other polygons (red ) in QGIS. How can I do this?
  • 389
0 votes
0 answers
27 views

Join raster color with point layer

I have a raster of the world considering different climatic zones. Then I have a layer with major cities worldwide. Now I want to join the information of colour into the point layer. The option of ...
1 vote
1 answer
52 views

Setting layers from GeoJSON property

I have a .js file with 19000 entries from where I want to create layers from a feature.properties.Issue. I have tried diferent approaches I have found in here but for some reason the layers are not ...
  • 35
0 votes
0 answers
7 views

How we reflect the Z-value in Derived?

I using QGIS Desktop 3.20.0 (free download). How we show the Z-value in Derived? Please refer the screenshot.
  • 1
0 votes
0 answers
48 views

Map automation using ArcPy with ArcGIS Pro

I wrote Python code with the ArcPy library. The main purpose of script is to load a locally stored shapefile, assign it a style, labels, and then use a layout template to automate map generation. What ...
  • 21
1 vote
1 answer
39 views

Filling layer shapes with images based on filenames on QGIS

I have a grid shaped layer. There is a special cadastral map image file for each grid name. The name of the image files is the same as the grid ids. There are thousands of images and layers available. ...
1 vote
1 answer
93 views

Show/hide layer by clicking on HTML link in Leaflet?

I have 7 GPX files that I successfully loaded into a Leaflet map. My problem is that I would like to show/hide each of them using some link on the web page. Let say that links have the following code: ...
0 votes
0 answers
39 views

Old project now shows up blank (no more layers)

I've been working on this project for months now. Today I opened it up and it was blank, no layers, no nothing. I'm using version 3.16 of QGIS I've tried opening multiple other projects and they all ...
1 vote
1 answer
27 views

Merging series of raster layers pairwise in QGIS based on same date

I have a series of satellite images from different time periods. For each date, I have two adjacent images that I want to merge. The layer names contain the datetime information, based on which the ...
  • 45.1k
0 votes
1 answer
24 views

Making Grouped Layers in ModelBuilder using ArcMap

I started using ArcMap 10.4 just a few weeks ago, I've started to get a handle on the ModelBuilder however I can't seem to make the layers I export be automatically grouped. So far this is the most ...
  • 3
0 votes
0 answers
30 views

Import symbology based on stats using ArcMap

When I import dozens of NDVI layers to ArcMap, I have to manually create the classified symbology (Natural Breaks - Jenks) for each of them. If I import that symbology to another layer, it won´t re-...
4 votes
1 answer
147 views

Spatial queries with QGIS provider feature filter (layer filter)

QGIS offers the option to use layer filters: Layer Properties > Source > Provider Feature Filter, see documentation: Query Builder. As far as I can see, this filter is only able to filter based ...
  • 45.1k
2 votes
0 answers
62 views

Select interaction with openlayers: multi equals true. How to store all layers?

I have a select interaction, with multi option equal to true. This interaction is used with popup, following code https://viglino.github.io/ol-ext/examples/popup/map.popup.feature.html I store the ...
0 votes
1 answer
43 views

GIS layers created using FME 2021 not visible in QGIS

QGIS 3.24 SQL Server 2015 I have GIS layers in SQL Server created using ogr2ogr and FME2021 All the layers are created using my machine. In my QGIS Desktop I can see all layers irrespective of how ...
0 votes
0 answers
20 views

Calling name of layer in QGIS modeler [duplicate]

I want to know how to call the name of the layer in the QGIS modeler, but I cannot find a way to do this. For exemple my layer input in 'test' is called Lake, I wanted to be able to create an output ...
0 votes
0 answers
27 views

Changing properties of existing layers no longer possible in latest QGIS

Latest QGIS 3.26 when a layer is highlighted and then select- Layer, Layer properties, it will only select the last layer to be created and it is impossible to change the appearance of any other layer ...
3 votes
1 answer
76 views

Transformation of coordinate systems

I have two layers - the first is in 5514 (S-JTSK_Krovak_East_North; sr_0.shp) and the second in 2180 (ETRS_1989_Poland_CS92; pl.shp). I think the coordinate system of both layers is correct. I need to ...
  • 31
0 votes
0 answers
36 views

Combining KMZ files keeps layers separate

Seeing as the My Maps app is no longer supported (from what I've read) I am trying to make an interactive map on Google My Maps just through an internet browser. The problem I'm having is that Google ...
  • 1
5 votes
0 answers
215 views

Making layer names in legend permanent using PyQGIS

While constructing a legend in Print Layout, I modify the names of the layers just in the legend, but not in the Layers panel (works as expected). Reproducible code is at bottom. However, after I ...
  • 9,971
0 votes
0 answers
34 views

Overlay callout to empty space on map

Is it possible to make a callout on the Overlay / box to place on map it outside the coordinates, so that we use an empty space to place the overlay. This is because if we have several overlay ...
  • 11
1 vote
0 answers
103 views

Leaflet toolTip-display is a function of layer order

My map creates 3 Leaflet GeoJSON layers representing state, county, and town features collections. Each feature (in each layer) is bound to a tooltip by the onEachFeature option. The toolTip displays ...
  • 31
0 votes
2 answers
35 views

QGIS doesn't show datapoints of .csv file

I am not yet familiar with QGIS and I am trying to add an Excel file with GPS points and data (add layer > add delimited text layer). The Excel shows up as a layer, but the points do not show on ...

1
2 3 4 5
41