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.

1
vote
2answers
1k views

Displaying different attributes within layer with individual colors in QGIS 3? [duplicate]

I am trying to display different soil types within a geological soil layer with individual colors per each type of soil. As of now it is displaying all as the same color.
0
votes
1answer
59 views

Renaming fields in new layer using MakeFeatureLayer?

I have feature class that contains many fields. I'm using MakeFeatureLayer tool in arcpy to make a new layer that would contain selected fields with different names. Here's the code I've written to ...
0
votes
0answers
87 views

GDB layer not loading properly

Working in v10.3, I have a .gdb with two layers; a point layer and an annotation layer. The dataset was handed to me a few days ago, and I have been editing and adding points to the point layer daily. ...
0
votes
1answer
57 views

Where can I find UK boundary data shapefiles where features have attributes pointing to their parent subdivision?

I know similar questions have been asked before but none have given me exactly what I need. I am trying to find boundary shapefile data for the UK which splits different subdivisons into different ...
0
votes
1answer
86 views

Leaflet draw - adding actions to prefilled markers

There are a bunch of markers which need to be loaded by default. The user can edit these markers and their corresponding properties in the popup window. The user can also add new markers and fill in ...
0
votes
1answer
182 views

Error attempting to remove layer using arcpy in ArcGIS Pro?

I am trying to remove layers from an ArcGIS Pro 1.1 project, but I receive a ValueError with the traceback of File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py", line 1280, in ...
1
vote
0answers
354 views

When draw line in QGIS 3, it is not attached to the shapefile layer, can't select or edit or make invisible

I am trying to draw a line in QGIS3. I create the appropriate Shapefile layer, click on the editing pencil, select add feature and draw the line. However the resulting line does not seem to be drawn ...
3
votes
1answer
65 views

Offsetting Atlas Generated Maps

My aim is to generate maps of polling stations to helps electors find their local polling stations for elections in 2019 and onwards. I've plotted and labelled 80 polling stations on a 'Polling ...
1
vote
1answer
151 views

shortcut to show / hide the layers as per the sequence

Does anyone know any shortcut to display / hide the layers as per the order? For example, F1 displays and hides layer 1, F2 displays and hides layer 2. I found the shortcut to hide all the layers and ...
1
vote
1answer
113 views

Add dummy layer so that layer with “soft light” blending mode is visible by itself

I have a QGIS project with three raster layers: SRTM GeoTiff (blending mode: SOFT LIGHT; color ramp: Viridis) Google Terrain (blending mode normal) Google Satellite (blending mode normal) The ...
0
votes
1answer
124 views

QGIS - Split Vector Layer returns empty layer

I'm to split a vector layer by feature with "split vector layer" tool in qgis I want to split the "switchboar" column after I fill the tool I receive the new empty layer Does anybody know why I don'...
4
votes
2answers
142 views

Use arcpy.mapping.RemoveLayer to remove layers that are defined in list?

I can't seem to find anything as far as defining a list of layer names and then removing those layers from all mxds within a folder. This is the code I have worked up so far, but I have to cut and ...
3
votes
3answers
157 views

How do I set a target layer in the Editor Toolbar?

I am using ArcMap 10.4 and have not been able to figure out how to set a target layer.
2
votes
1answer
232 views

Layers not showing up in layers panel, but show in styling panel

I have a QGIS project that has stopped showing the layers in the layers panel and the map, but they show up in the layer styling panel: I have had this issue before, and reported it on the QGIS Users ...
0
votes
0answers
34 views

Two layers with same SRs and same coordinates don't overlap [duplicate]

i'm trying to do some analysis on road accidents. I have : a .csv with lat,long data of road accidents a .shp with the road network When I create a new layer from .csv, it is automatically ...
3
votes
1answer
252 views

QGIS 3.0.1 toggling categories visible/invisible

If I have a layer with many style categories, all but one or two set to invisible, is there a way to toggle them all visible? The workaround is to create a duplicate of the layer with everything ...
3
votes
0answers
621 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 ...
2
votes
1answer
331 views

How to memorize temporary layer from processing.runalg() in pyqgis?

I created some geoalgorithms with QGis and I need to use them in a Python script. By saving the layer obtained in a file having a specific path, I do not have problems. For example: processing.runalg(...
2
votes
0answers
59 views

SLD file Style in Geoserver [closed]

When I want to load sld file in geoserver appears this error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath....
2
votes
1answer
71 views

How to find the ID of the selected object in the layer? PyQGIS 3.0 [closed]

How can I get a list of the ID of these selected objects? QGIS 3.0
0
votes
0answers
240 views

Leaflet overlay control will not hide ImageOverlay when it is disabled

I use leaflet 1.3.2 and i have a function that successfully creates a hash map of Overlay Layers from a Json file. JSON "overlay": [{ "name": "Manfredonia", "...
1
vote
0answers
64 views

Adding results from geoprocessing scripts to ArcGIS Pro? [duplicate]

I am in the process of updating scripts and models from ArcGIS Desktop to work in Pro however I'm having difficulty getting results from geoprocessing operations to display in the map window. As an ...
1
vote
1answer
131 views

Making feature layer based on attributes (2 columns) in ArcPy? [closed]

I'm new to Python, but know this tool can solve my problem. I have a large dataset and I want to extract layers based on the attributes of two columns. For example, my dataset has columns A-N. In ...
0
votes
1answer
108 views

QGIS 3 has reworked tools for loading layers. Is there and easy way to load data from PostGIS views

QGIS 3 has a new "Data Source manager" and I was hoping that it gave a better mechanism to load layers from PostGIS views but it would appear that it is just a wrapper around the old stuff that was ...
3
votes
0answers
119 views

Selecting features from one layer into new layer based on IDs using PyQGIS? [closed]

I'm completely new to PYQGIS. I'm pretty handy with MapBasic in MapInfo and was wondering how I would 'translate' this command from SQL select into Python (hope that makes sense) Essentially, I have ...
2
votes
1answer
136 views

How to control rending/layer order of outputs from QGIS 3.0 processing modeler?

I'm using QGIS 3.0 model processor. I am trying to control the order in which the outputs render. Any ideas? I have tried to use parent algorithms but it seems to not make a difference. Is this a bug ...
2
votes
1answer
142 views

UpdateLayer function in arcpy - runs, does not update layer

I'm very new to ArcPy and programming in general. I'm trying to use UpdateLayer to add hatching to a selected layer from a template layer I've created. The script runs (no errors), but it doesn't ...
1
vote
1answer
249 views

QGIS CRS does not have correct coordinates [duplicate]

I'm using QGIS to extract centroid coordinates in a multi-shape object from a project I was given. I want the coordinates to be regular latitude an longitude, but they're coming out huge (see below). ...
1
vote
1answer
142 views

Converting a layer to .kmz not working

I'm trying to convert a layer to a .kmz file, and ArcMap says it works. It even shows up in my file directory(image attached) However, this file isn't actually in the folder it's supposed to be in. I'...
1
vote
0answers
54 views

Layers getting delinked every time project closes

I have a QGIS file with about 10 layers (shape files, web and a joined csv). Every time I close the file and open it, all layers are unlinked and the 'Handle Bad Layers' dialog appears. Needless to ...
2
votes
0answers
55 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 ...
3
votes
3answers
118 views

Keep geometries in different layers in sync while editing

I need to keep several polygon layers in common. So if I move a vertices on one layer the one or two layers sitting under (or in common) would also change that vert. I hope that makes sense. I feel ...
0
votes
2answers
42 views

Locating a layer to download for my project

I'm trying to find a layer that I can download that will allow me to show the administrative areas of Scotland. I've found plenty sources for downloads but can't seem to find what i'm looking for. ...
4
votes
1answer
133 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 ...
1
vote
1answer
192 views

Setting transparency for all layers in a data frame in ArcMap using ArcPy?

Using ArcMap 10.6, I've tried the following code from a previous post and get an error or it executes but does nothing. Here is the code and error I receive: Code mxd = arcpy.mapping.MapDocument ("...
0
votes
1answer
179 views

Creating multilayered classification map on Google Earth Engine?

I've been working on a classification scheme, and have 6 different classes i wish to map. Everything has been already done in terms of finding the classifications. the only thing I am struggling on ...
3
votes
1answer
189 views

Calculating distance between matching intersections using QGIS?

I have a streetmap with the coordinates of some speed limit signs (which mark either the beginning or the ending of a speed limit and hold the applicable speed limit in km/h). With regard to the ...
3
votes
2answers
168 views

Disable saving vector layer in QGIS, especially in DXF and KML file?

Can you help me on how to disable the exportation of vector layers especially in AutoCAD DXF, DBF File and ESRI Shapefile?
6
votes
1answer
239 views

Accessing “Save Vector Layer As” algorithm in QGIS Processing Model?

I'm building a Processing Model in QGIS that ultimately exports a points shapefile (vector layer) as a CSV in a different coordinate system than the shapefile. I ordinarily accomplish this in the "...
2
votes
1answer
1k views

Making legends for each layers and switching between them using Mapbox GL JS?

I created a map using Mapbox GL JS with several layers using this example At the same time I don't have any spatial knowledge in Javascript. It's restrict me to create legends for each layers. The ...
2
votes
0answers
428 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 ...
3
votes
1answer
300 views

Missing Symbology Categories after performing join using ArcObjects?

I am trying to join a table to a feature class in , and use the joined fields to create custom symobology based on the joined fields as the picture 1 below for Arcmap using ArcObjects. I am ...
3
votes
1answer
38 views

How to adjust coordinates of duplicated layers on QGIS

I am having an issue with QGIS. There are two layers (opaque green and brighter green) which are in different positions but are showing the same coordinates (tables below). How do I update layer ...
0
votes
1answer
266 views

Why is Make XY Event Layer executing without error but not creating new file using ArcPy?

I'm trying to create a feature class from a table and I've gotten as far as you can see in my code below. I noticed that after running the code through the arcpy.MakeXYEventLayer_management function, ...
2
votes
1answer
366 views

Dynamically selecting t layer features implementing canvasMoveEvent of QgsMapToolIdentify class?

In my QGIS plugin I need to dynamically select features of a layer with the mouse move event. In Programatically check for mouse click in PyQGIS? the canvasMoveEvent of the QgsMapTool class is ...
0
votes
0answers
43 views

Copying fields between two layers in ArcGIS Desktop?

I have this attribute table (part of the whole attribute table) from one layer: and this attribute table (part of the whole attribute table) from the second layer: I try copy the cells value in ...
1
vote
0answers
383 views

NetCDF layer (.nc) appears flipped and rotated in QGIS

I'm trying to import NetCDF layers with environmental information to QGIS and they appear flipped and rotated In the top-left you can see the Europe coastal line I was using, in the bottom-right the ...
1
vote
0answers
54 views

Creating population weighted spatial join of two layers with intersecting polygons using ArcGIS Desktop?

I have data where I sampled my outcome using a grid of 1-mile radii but my explanatory variables are at the census dissemination area level. I would like to average my census dissemination area-...
1
vote
0answers
31 views

adding aerial photo layer [closed]

I have written a script to add a list of the aerial photo in sid format to a mxd. It works although the layers are displayed blue. Is there a way to change the display to black and white with ArcPy? ...
2
votes
1answer
162 views

Adding layers with subtypes and feature templates using ArcPy?

I am trying to clip a feature from one geodatabase into another and retain the editing feature templates I have assigned using subtypes for the original feature class in the original geodatabase. ...