Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
31 views

Adding layer to open ArcMap document using ArcPy?

I have created a script. I'm run the script using ArcMap and a layer should be added to the open ArcMap document. I have earlier used MXD.save() witch work fine when I'm running the script outside ...
0
votes
1answer
32 views

Exporting map, new layers show up

I am using ArcMap 10.6.1 and I am trying to export a map as a TIFF file. When I'm in layoutview the map looks ok, but when I export it, new layers show up. Or the scale of the layers change or ...
2
votes
1answer
44 views

Adding back layer heading in ArcMap?

I deleted the layer heading thinking that I didn't need it. But after doing some refactoring, it turns out that I do need it but I can't figure out any way to add it back. How do I add it back? I'm ...
0
votes
0answers
97 views

Leaflet custom icons and popups showing GeoJSON properties with external data?

How can both custom icons and geojson properties be implemented with external geojson in Leaflet? Using methods described in answers to two other questions, both using inline geoJSON: Using custom ...
2
votes
2answers
57 views

How to rename duplicated layers in QGIS3? [closed]

I duplicated a layer ("Buildings") in QGIS 3.4.4 and with the Query Builder under Source I selected to just display schools. Subsequently I renamed this layer "Schools" by rightclicking on the layer, ...
0
votes
2answers
49 views

Displaying rainbow colors for multiple polygon layers in ArcMap?

I am working with ArcMap and I have a series (20) layers - polygon lines in a group. I would like to ask you a way to color (not manually) all the lines with a rainbow color palette. The lines are map ...
6
votes
2answers
132 views

Creating blank QGIS shapefile templates?

I am going to be creating (digitising) many repetitive maps which contain the same set of .shp file vector layers. And I was wondering if there was a way to create a template .shp file I can re-use ...
0
votes
1answer
22 views

ArcGIS export map to PDF with layers symbology error

I am trying to make a PDF with layers. If one of my shapefiles symbology is set to categories, unique values, as in a states shapefile, it wont let me turn off each state; it groups it. Is the only ...
2
votes
1answer
67 views

How to get data source attributes from PostgreSQL and PostGIS layers

I want to get attributes like schema name and table name from PostgreSQL and PostGIS loaded layers in QGIS 3. I've searched in API docs but just found about set data sources, anyone knows how to get ...
2
votes
1answer
252 views

Stuck on how to list loaded layers in QGIS 3 via Python

I've stuck on a issue about getting a list of loaded layers. I've two layers loaded, one spatial (point, line or area) and another one non spatial (postgresql table). I've tried this code but it lists ...
-3
votes
1answer
121 views

What is the problem?

After running raster>conversion>polygonize (raster to vector)I was given the following message in qgis 3.4.4. What should I do? Processing algorithm… Algorithm 'Polygonize (raster to vector)' ...
1
vote
0answers
37 views

What style has been applied to a QGIS layer?

QGIS 3.4 - I have several different saved styles which I can assign to a particular layer depending on what I wish to emphasise at the time. For example, for a Roads layer I might want to show roads ...
1
vote
0answers
22 views

GeoServer-Mviewer : point layers over surface layers

I am working on an interactive map designed under Mviewer package and using GeoServer to save symbols and layers. I have a specific issue on it: I managed to generate all layers correctly in my ...
1
vote
1answer
23 views

Using RemoveLayer in arcpy.mapping?

I am trying to use RemoveLayer within the mapping module, but seem to be getting mixed results. I do the following to add a layer to the map mxd = arcpy.mapping.MapDocument("CURRENT") # define map ...
0
votes
1answer
81 views

Exporting image from QGIS precisely on layer extent?

I have a map of the word, the bottom layer is a world raster layer from Natural Earth and on top of it several vector layer. Using QGIS 3.4.4, I need to export image without a background, it needs to ...
1
vote
0answers
43 views

QGIS 3 bold Layer names?

In QGIS 2 the Option for bold Layernames was here: Go Settings->Options->Canvas & Legend and set 'Bold group names' to true and 'Bold layer names' to false. This link helps provide context. ...
0
votes
1answer
43 views

Associating Inset Map with Layer?

I'd like to only display an inset map, inset map scale bar, frame and leader if an associated layer is displayed. Similar to Associate Point Layer, Annotation Group and Line Layer in Map Legend but ...
0
votes
0answers
113 views

.leaflet-control-layers-expanded style control appearance

This might be kind of a nothingburger, but it's nagging enough that I can't fix it and I'd like to know why this is happening!!! I'm also wondering if this little bug might be a sign something isn't ...
3
votes
3answers
97 views

Merging several polygons located at same place in same layer using QGIS?

This is my problem that I first present using a Screenshot: In a layer, I have many cases of figures like this one: Polygons that overlap in the same place. Each of its polygons represents different ...
2
votes
0answers
36 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 ...
1
vote
1answer
208 views

Shapefile layer not showing in QGIS [closed]

I have a polygon layer which is listed at the top of the layers panel, however it is showing underneath other layers on the map canvas. It is in the right location but despite being at the top of the ...
1
vote
0answers
36 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 "...
0
votes
1answer
130 views

How to make layer stacking in envi for landsat 8

I downloaded landsat image 8 and i made layer stacking for RGB layers in ENVI (Bands 4,3,2) to classify the land cover types. but the problem appeared when i conducted supervised classification. I ...
0
votes
1answer
58 views

Both layers are in same CRS but in a different place [duplicate]

I'm facing a problem with QGIS and have no clue what I'm doing wrong here. I've tried everything I know of. I have polygon layer in CRS 2180. I add another layer that should be overlapping perfectly -...
1
vote
2answers
138 views

How can I overlay an image (exported via ArcGIS API) on an OpenStreetMap map?

Before I attempt to explain my situation, I'd like to disclose I'm very new to these apps and GIS in general. There's a public ArgGIS server that I'd like to export a layer from and overlay on an ...
2
votes
0answers
43 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. ...
3
votes
0answers
168 views

Fixed QGIS layer symbol size in layer legend

When a layer symbol is defined with map units or "meters at scale" unit, it is sometimes shown in the legend at a very small scale, preventing to see the details. Or if we zoom in the map, the legend ...
2
votes
0answers
27 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.
0
votes
1answer
54 views

QGIS 3.2 Join Attributes from Layer Limitation?

I want to join two txt tables as a layer in QGis 3.2. In eralier versions (2.12) works to join one of the tabel more times to the other table. Now in the version 3.2 i can join only one time. The ...
1
vote
0answers
192 views

Selecting WMS layers from GeoServer in OpenLayers application?

I am making a weather application and I am almost there! I can show my GeoServer WMS-layers in my browser using OpenLayers 5. What I want to accomplish is that the user can switch between different ...
4
votes
1answer
70 views

Store human readable layer name in QGIS style files?

QGIS 2 and 3 as well seem not to store the Layer name (set via Layer Properties | Source | Settings | Layer name or via 'Rename' in the layers context menu) in styles files. I.e. if i have a PostGIS ...
1
vote
1answer
49 views

Getting TypeError: <type 'str'> from arcpy.mapping.ListLayers()?

I want to use ArcPy to turn on the labels for a layer. I use this code but it fails and returns an error. import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Users\P51\Desktop\testingLABEL.mxd") ...
1
vote
1answer
84 views

Renaming layer in multiple maps in ArcGIS Pro with ArcPy?

Running ArcGIS Pro 2.2, I have a layer in ~20 maps that needs it's name changed. I pulled this code together from a bunch of snippets, and have done my best to make sure it's updated appropriately, ...
2
votes
1answer
54 views

Creating Drop Down List of Layers for ModelBuilder Tool?

In ModelBuilder I require the user select 1 of 5 feature class layers as the initial feature class to run the rest of the model on. The selected layer is to be then fed into a clipping tool as the ...
4
votes
2answers
154 views

Allowing all QGIS workspace layers to be editable at once

I stumbled upon an odd behaviour of layers in QGIS 3.4 brought from PostGIS. The first layers I brought to the project are always editable together when clicking the Toggle Edit-button, but some of ...
0
votes
2answers
36 views

Retrieving Layer Files From Map Packages

I have around 57 map packages that I need to salvage layer data from. The layer files were incorrectly saved with absolute paths instead of relative paths so they won't display unless they are opened ...
1
vote
1answer
29 views

Selecting Specific Entities to Style Separately from the Same Layer in QGIS 3.2.4

I downloaded the roads of Rome from OSM and save them as a single Shapefile. To style specific entities from the "highway" column I categorized this column in the layer styling panel. Now I got all ...
0
votes
0answers
65 views

Filling Polygon with SVG File so it Will Appear Only One Time in QGIS 3.4.2

I have a layer that shows the world, without Antarctica and small islands. This layer is made of five different polygons. I want to fill it with an SVG file that is displayed non uniform background. ...
5
votes
2answers
198 views

A Fast Way to Color Polygon With 200 Row With Six Selected Color in QGIS 3.4.2

I have a layer of the world that contains 200 rows. I am required to color the map with six selected colors, the rainbow colors. I figure that I can save selected countries and save them separately....
1
vote
1answer
263 views

Add point markers in QGIS 3.4 without coordinates

I am new to QGIS and trying to insert svg markers into a map I've been creating. I am struggling to find resources on my exact problem. I read about creating a new georeferenced shapefile and layering ...
1
vote
1answer
49 views

Printing name of each layer in mxd using ArcPy?

My ArcMap verison is 10.2. My goal is to print the name of each layer in a mxd using Arcpy. My script is below. There is no error, but it prints the first layer multiple times instead of all the ...
3
votes
0answers
86 views

How to view layers by data source in QGIS 3?

Is there a tool or panel in QGIS 3 that allows a user to view the map layers by data source? Similar to the List By Source view in the ArcMap Table of Contents? I thought I had come across it, but ...
0
votes
0answers
26 views

Using Datasets in OSM Metadata Within QGIS?

I was looking into ways of using the OSM database within QGIS. I opened the "OSM Standard" and choose the "Biota" category from the ISO categories. However, after I choose this dataset it looks like ...
0
votes
1answer
62 views

Run model from script

This is my script where I am trying to use selectby_attribute within a model, based on a field, F*. There are 6 fields, so I want 6 derived layers. Then I am going to use bearing and distance tool ...
1
vote
3answers
131 views

Getting the layer styles out of a *.QGS without having the layers itselves

Is it possible, to restore the layer-styles from a *.QGS project file? I have unhandled layers in my project. As I'm starting the project, QGIS is asking me for the source of the layers but I don't ...
3
votes
0answers
50 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 ...
1
vote
0answers
119 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: ...
0
votes
1answer
120 views

Using annotation Layer in QGIS?

I'm a bit of GIS rookie but I seem to have found my way around most of the intermediate functions of QGIS that I need for my work over the last year or so. What I want is really simple, but multiple ...
1
vote
1answer
78 views

Arcpy apply symbology from layer

I have some substances TPH, CO2, SO2, VOC, analyzed in a period of time 2001 - 2017. In the .mxd each year is a group layer, containing all the substances for that year: 2001: - TPH - CO2 ...
1
vote
1answer
126 views

Resizing Layer Panel in QGIS

How do I make the Layer and Layers Order boxes of a usable size in QGIS. They come up as very small boxes. All other panels appear to work OK I use a Mac running High Sierra