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

Getting layer label from ArcMap Table Of Contents?

How do I get a layer´s label from the TOC? I can´t find a similar question and ArcGIS Help tells nothing about it. I have searched even in other knowledge bases but with no success. I need to get ...
0
votes
0answers
7 views

Have GraphicsLayer working but now need to put it in or convert to FeatureLayer (JavaScript)

I have a GraphicsLayer working for "Regions" and the corresponding popup template information for the staff within each region (below). function fillRegionMarkers() { // Create ...
1
vote
0answers
37 views

Why did not I manage to reproject layer?

I have a global land cover map, which has the following properties: Name ESACCI-LC-L4-LCCS-Map-300m-P5Y-2010-v1.6.1 Path C:\QGIS\ESACCI-LC-L4-LCCS-Map-300m-P5Y-2010-v1.6.1.tif\ESACCI-LC-L4-LCCS-...
0
votes
1answer
35 views

ArcMap MXD drops layers

I have a user who is using ArcMap 10.5.1 and several times his MXD has lost layers. This has occurred in two separate documents. He will work on a map, save the map, and close out. When he opens it ...
2
votes
0answers
35 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 (...
1
vote
0answers
29 views

QGIS Multi distance buffer units do not align with the main layer

I have a buildings shapefile of Beijing. I know the projection WGS_1984_UTM_Zone_50N WKID: 32650 Authority: EPSG So I would like to create multi distance buffer from a central point but when I do so, ...
0
votes
1answer
27 views

How can I extract the coordinates from one layer and import them in a diferent layer when key field is the same?

I'm working with 2 different layers. First one is a csv file with 3 fields. Name, longitude and latitude. Second is a text file with the field name. I want to assign the longitude and latitude ...
0
votes
1answer
78 views

Download tile layers for use offline

I would like to download tile layers in this form: {atlas_name}/{z}/{x}/{y}.png Because I want to use them offline with my leaflet map. However, I can't find what are the approaches to download ...
0
votes
0answers
21 views

QGIS @parent or import to database(Error 7) not working for layer

I have a shape file layer that won't load into the SpatiaLite database and it gives Error 7. It also won't run functions that work in other layers and works fine without the @parent or if I remove ...
1
vote
1answer
50 views

Layer not visible after deleting from attribute table QGIS

I'm a newbie for QGIS and trying to learn. I was editing the attribute table in which process I deleted some rows. Then the layer became invisible in the project. After trying a lot I decided to redo ...
0
votes
0answers
26 views

My work closed and now I cannot see the Temporary Scratch Layers [duplicate]

This is my first project on QGIS 3.6.1. Over night my computer restarted and updated itself closing my QGIS work.. I created two separate Temporary Scratch Layers and frequently saved it on my ...
0
votes
1answer
39 views

Trying to use a SelectByAttribute_mangement after I made the XY Event layer

I imported a CSV file using the MakeXYEventLayer_management and trying to use the SelectlayerByAttribute_management function, but I am getting error message saying on "Object ID(OID)" is present.. Is ...
4
votes
3answers
99 views

Sort layers in table of contents in QGIS 3?

When I load a bunch of layers into QGIS, they seem to load in reverse alphabetical order. I'd like to sort them alphabetically. In this thread a solution is proposed, but that does not work in QGIS 2....
0
votes
1answer
40 views

ArcGIS JS API SimpleMarkerSymbol is not a subclass of Layer

I have polar ArcGIS map and want to display my own data on it. I will get data using AJAX REST queries to my server. As I understand, it isn't commonly used way to get data in ArcGIS, but presenting ...
1
vote
0answers
23 views

How to get the TEXT from a layers attributes to display on my map [duplicate]

I'm totally new with GIS software, so I apologize if this is a question that's already been answered! I'm working with the Texas Landgrid. It's composed of Leagues, Labors, Blocks, Townships, ...
0
votes
1answer
29 views

Trying to use layer saved as .lyr file with arcpy.mapping.Layer function results in error?

I am fairly new to the ArcGIS development world. I am attempting to write a script that will have an end result of selecting features by proximity to a selected portion of a different feature. So far, ...
3
votes
2answers
98 views

Automate filling of attribute table using QGIS?

I am new to QGIS and wish to automate my current process. In my project I have to open the attribute table of the batch_16 layer having 5 fields (date, checked_by, td_created, td_catagor and ...
1
vote
1answer
30 views

AutoCAD Map/Civil 3D Feature Data Object (FDO) layer displays but is no longer editable

Just over a week ago, one of our main GIS layers became uneditable. Our GIS layers are connected to AutoCAD Civil 3D (Fig.3) via an SQL Server Spatial Connection in the Task Pane. We were able to edit ...
0
votes
1answer
41 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
24 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
36 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
17 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
122 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
63 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
35 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
23 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
15 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
16 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
153 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
20 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
41 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
36 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
38 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
63 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 ...
3
votes
3answers
311 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
37 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
35 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
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
35 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
79 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
54 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
48 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
116 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
21 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
59 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
192 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
111 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 ...