Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
1answer
44 views

Making layer visible without having it be snapped to in ArcMap? [closed]

I have one feature created called 'parcel' that shows the borders of houses and another feature called 'conduit'. I need to attach a point feature to the conduit preferably where the parcel boundaries ...
2
votes
0answers
26 views

Using level information from OpenStreetMap to show roads / tunnels / bridges in right level? [duplicate]

OSM has information about the levels of road segments for example road crossing railway. It is possible to order layers dynamically from the level attribute? I only found one possibility in QGIS ...
1
vote
0answers
37 views

QGIS 3.45 Layers Panel point data labels set too far apart

The Layers Panel in v 2.18 is fine but we are now trying to go live with 3.45 and are experiencing issues with the display of some layers in the panel. Layers that are generated from an MSSQL spatial ...
0
votes
0answers
33 views

eCognition multiple layer import

I am currently working with a Geotiff file, which contains 60 different layers. Now I want to create a few classifications, but the attempt to import them into eCognition fails with the error message: ...
0
votes
2answers
403 views

Error when trying to create shapefile layer

I'm not super familiar with QGIS as I am used to ArcGIS. But when I try to create a new shapefile layer, I keep getting an error that says, "Layer creation failed: Failed to create file vacancies.shp: ...
1
vote
1answer
71 views

Which provider should I use with `qgis.core.QgsVectorLayer` method at `PostgreSQL database with PostGIS extension` storage?

I use PyQGIS 3.6.1 Noosa to load layer from my database storage PostgreSQL database with PostGIS extension using qgis.core.QgsVectorLayer method. But layer is invalid somehow. Performing same ...
2
votes
1answer
48 views

Merging infomation from multiple layers in QGIS?

I am currently looking at a city map with property boundaries. I have three layers of information, one is a polygon map showing the boundaries, one is a polygon map showing overlay information, and ...
0
votes
2answers
91 views

Adding GeoJSON tile set to an existing map

I'm confused on how to add my GeoJSON tileset to an existing map built with a default style. Do I add the GeoJSON by ID or by style? Here is what I'm working with now.l Added .geojson to Tilesets as ...
1
vote
1answer
16 views

Iterate layerScope.variable

I have a problem with this code : for layer in layers : #surcharge avec le filtre permanent if QgsExpressionContextUtils.layerScope(layer).variable('layer_filter')!=None: sql=u"(" + sql + ...
0
votes
0answers
13 views

Layers not overlapping and not clipping the layer [duplicate]

Does anyone have an idea about two layers are not overlapping on one another? I have one raster and one vector layer, I wanted to clip or extract by the mask of my raster by using shapefile but it's ...
1
vote
0answers
23 views

vectortiles: change style of basemap instead of data

I'm using Mapbox-GL-Leaflet bindings on Leaflet to style my vector tiles. I'd now allow the user to switch a style using Leaflet control. The easiest way would be to use LayerControl for this. Since ...
0
votes
0answers
590 views

KML file not showing anything on the google map

When i import this KML file: https://yadi.sk/d/G3DJywNAliflew Nothing shows up on the map, just centering around Kazakhstan. This KML file has layer (like 2G cellular coverage map). What i am doing ...
0
votes
0answers
32 views

Using KML to Layer tool in ArcMap always produces a GDB?

When I use this tool to convert a KML into ArcMap 10.6.1, the menus ask for a GeoDB, then a layer name. At least that is my understanding. I cannot for the life of me import a KML into an existing ...
0
votes
1answer
97 views

Removing layers and schema locks with ArcPy?

I am creating a code that adds fields to a large set of shapefiles. I want to be able to open these shapefiles and edit the fields and then have them removed from the map document. I would like this ...
1
vote
1answer
83 views

Use expression to only keep 1 layer in the legend

When I print my project, that includes different layers, I always end up with all the layers in the legend. What I want when printing is to only show 1 layer, that always has the same name "Werken". ...
0
votes
0answers
42 views

Symbology or style to separate layers

I have a layer i.e. vegetation, i can split this layer in different colors using rules or categories i.e. light green = grass, darkgreen = trees. Then the colors appear 'nested the layer. When i make ...
1
vote
3answers
74 views

Calculating the shortest distance coordinate to vector layer

I want to calculate the nearest distance from each coordinate in a vector layer containing more than 17 000 coordinates to another vector layer. I tried the GRASS v.distance tool but it gives the ...
5
votes
3answers
1k views

QGIS split vector layer gives me GPKG files but I need shp files

QGIS 3.6.0 I am new to QGIS software and not very technical on its deep workings. I am trying to split a .shp file using split vector layer. I need .shp file outputs but it auto creates .gpkg files. ...
1
vote
1answer
65 views

Applying one color to many layers in QGIS 3?

I've been playing around with my QGIS Bonn (3.2.3) and I have a question regarding styles/symbology/colours. Is it possible in QGIS to set one colour/style to multiple layers at once?
1
vote
2answers
39 views

How to make QGIS indicate that a layer has not CRS set in layer properties info

I have QGIS 3.4.5 32bits. I added to the canvas a shapefile which has no defined coordinate system, but QGIS correctly guesses is WGS84 and warns about it. However when I go to the properties of the ...
2
votes
1answer
32 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
89 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
132 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
81 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
55 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
243 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 ...
1
vote
1answer
36 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
89 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
542 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
180 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
25 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
28 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
219 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
52 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
44 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
187 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
120 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
81 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
390 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 ...
2
votes
0answers
69 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
222 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
139 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
207 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
52 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. ...
5
votes
0answers
258 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.
1
vote
2answers
76 views

Joining Attributes from Layer Limitation in QGIS 3.2?

I want to join two txt-tables as a layer in QGIS 3.2. In earlier versions (QGIS 2.12) works to join one of the tables more times to the other table. Now in version 3.2, I can join only one time. The ...
1
vote
0answers
216 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 ...