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

Translating one raster's contents closer to another’s with each at different scales using QGIS?

I'm working with multiple raster images, each in the Albers Equal Area Conic projection: one of the mainland US, one of Alaska, and one of Hawaii. I'd like to translate the Hawaii layer to be closer ...
1
vote
2answers
24 views

Batch importing same layer into multiple mxd files using ArcPy?

I am new to python. Will someone help me with the code to import the same layer into all the arcmap files in a folder on my desktop? I used the code below to import the layer into one map but I ...
0
votes
0answers
24 views

Adding new polygon to existing shapefile? [closed]

I have downloaded countries of world shapefile. Since Russia is stretching across two continents I want to create two new polygons Russia European part and Russia Asian part, but the original Russia ...
1
vote
1answer
45 views

Interpreting JSON lat/lon data from an ESRI interactive map?

I got access to some data from an ESRI-based interactive map and I am trying to make sense of the data. In particular, I'd like to extract the geometry of some shapes. Below is a snippet of the JSON ...
1
vote
0answers
14 views

Show QGIS layer definition (qlr) filename in my project not the source file it was created from

I have a QGIS project with multiple qlr (layer definition files) in it which all source the same original data but all have different styling, labeling and filters applied. But when I bring these qlr ...
0
votes
1answer
40 views

Getting maximum extent of 2 different layers for map display using PyQGIS?

In the QGIS 3 layout, I would like to display two layers and for this I need their combined maximum extent. So far I've got: import os import processing from qgis.core import * from qgis.gui import * ...
4
votes
1answer
60 views

Change drawing order in QGIS?

I have two layers (street name and address numbers). I try to sort layers where street names covers the address numbers. Unfortunately I cannot success because address numbers will always covers ...
-1
votes
0answers
16 views

Correlation between multiple raster layers in r

I have five different raster layers, each one of which represents a species distribution model for a given species. The cells within a raster layer give a probability between 0 and 1 of that species ...
1
vote
1answer
41 views

Overlapping topology layer issue on mapping crops QGIS

Trying to map cotton fields of CA using data from this site https://nassgeodata.gmu.edu/CropScape/ Can not get my map to have a topographic underlayer without the other crops showing up as well ...
2
votes
1answer
38 views

Change vector layer symbology PyQGIS 3?

I'd like to change the symbology of my vector layer and can't figure it out how to read the documentation. I would like to have an polygone with an orange outline, a dashed fill style and an orange ...
2
votes
1answer
60 views

Delete layer created during Buffer_analysis

I am trying to figure out how to delete the layer that is created during the Buffer_analysis line. I have searched all over the internet and have honestly tried about 100 different methods and cannot ...
2
votes
0answers
51 views

Raster appears unaligned with other data layers?

We use the Dallas-Ft Worth rasters for our internal processes. We use publicly-accessible data to superimpose markings representing runways and runway ends (the dark gray line and green dots on the ...
1
vote
0answers
37 views

QGIS freezes when trying to view layer properties

As of recently whenever I try to edit the properties of a vector layer the entire program just freezes and I'm forced to end the process using task manager. I use Windows 10. Any reasons as to why ...
1
vote
0answers
36 views

Adding vector layer in QGIS with standalone PyCharm script?

I've been struggling with a standalone script in PyCharm, trying to add a vector layer. I've set up PyCharm with Python3.7 to work with QGIS3 using: http://spatialgalaxy.net/2014/10/09/a-quick-guide-...
0
votes
0answers
37 views

Updating Symbology on Layer using ArcPy?

I've been trying to update the symbology of a layer on my Python script. The layer that is to be updated shows the percentage of an age range in each region across a county. I have created a test ...
2
votes
0answers
37 views

Difference in area of polygon and excised raster layer

I'm using QGIS 3.8. I have dowloaded GLOBCOVER 2009 raster land cover map and ecoregions shapefile. Polygon of ecoregions are used for mask to cut raster file. On new layer r.report was performed to ...
2
votes
1answer
30 views

Setting value to defaults Layer properties using PyQGIS 3

I have a vector layer, how to set defaults value in fields from the Python console. Layer Properties / Attributes Form / Defaults | In option: Default value |______________|
1
vote
2answers
33 views

Leaflet GEOJson marker pins are not a Layer?

I currently have the following code which is used to display a series of GEOJson marker pins on a LeafletJS 1.5.1 map and it also displays a KML layer which can be toggled on and off using a checkbox. ...
1
vote
1answer
55 views

Setting Alpha Slider and Feature Count ON by default using QGIS?

In QGIS 3.4, I would like to automatize and uniformize the appearance of each layer. I would like that each new layer is created: with the alpha slider activated with Feature count activated
1
vote
1answer
45 views

Information of two attribute tables together in one

I need the information of a layer with track points (X and Y coordinates) and the information of a polygon layer (area) together in one layer. The problem is that the two attribute tables have no ...
0
votes
0answers
21 views

QGIS 3 set the active layer [duplicate]

I need to select a specific layer in the layer tree before I run my python script. I have tried Activating layer by its name in PyQGIS? with the code registry = QgsProject.instance() layer = ...
2
votes
0answers
32 views

Print composer forgets layers and puts them in wrong order

I have a project that mainly consist of PostGIS tables, but also some shapefiles. All in all I have some 50 layers in use in the project. The last days, I have had problems with the print composer. ...
3
votes
1answer
37 views

Show feature count with PyQGIS 3

After adding a layer to my QGIS project with a Python script, I want to show the number of objects beside the layer in the layer window. I have tried this code, which is from Show feature count of ...
0
votes
1answer
24 views

Using ArcMap Group Layer? [closed]

I am working with multiple grouped layer files that when in the layer file they do not have any of the normal properties. For example, when I click on the properties for an individual layer within the ...
1
vote
0answers
20 views

Setting layer blending as additive with opacity in Kepler GL for Python

I'm using KeplerGL in python (in a Jupyter notebook) to plot polygons on a map with different layers. After setting the layers, I've tried to find where can I edit their opacity when adding them up, ...
1
vote
1answer
36 views

Adding HTML code into ArcGIS Desktop?

I'm trying to find a way to add API layers from this HTML code into the MXD file of ArcGIS Desktop 10.3. The HTML file located in my pc: G:\desktop\y\html <html xmlns="http://www.w3.org/1999/...
1
vote
0answers
35 views

Layer files not drawing properly in ArcMap? [closed]

I have a co-worker who had his windows user credentials changed after coming on full time. After this change we noticed an issue with a series of layerfiles not drawing properly when brought into ...
0
votes
1answer
17 views

Saving Google Earth Postal Code Layer

In the typical primary database in layers window, under more-> US Govt, there is a Postal Code Boundaries layer. I have been trying to find a way to save this, and ultimately add it to a folder of my ...
1
vote
1answer
86 views

Copying fields from one layer to another in QGIS

I am new to QGIS. I need to create hundreds of shapefile layers with the same fields but different points and attribute values: The first shapefile one I created with 12 fields (columns). To create ...
0
votes
0answers
28 views

How can I create a layer for each unique field item in a shapefile using Arcpy

#Introduction and imports import arcpy, string from arcpy import env #User Inputs: layer, field name, output workspace (optional) strTargetLayer = arcpy.GetParameterAsText(0) strFieldName = arcpy....
0
votes
2answers
48 views

Determining when layer has been loaded in ArcObjects?

Is there an event in ArcObjects to determine when a layer (specifically a shapefile) has been loaded into a map? I'm using ArcObjects 10.4.1 and C#
0
votes
0answers
30 views

Provide MbTiles from GeoServer with mutliple vector Layers

Is there a way to serve pbfs tiles by loading a mbtiles file (multiple vector layers) into the GeoServer? For this we used before Klokantech TileServer Gl to offer big mbtiles (osm vector tiles) to ...
2
votes
1answer
35 views

QGIS - Rendering Order: Layer Order > Symbol Levels > Feature Rendering Order

A similar question was already asked two years ago, but no answers were provided, things may have changed, or if not developers may now consider this something for a future version. Can I change the ...
1
vote
0answers
18 views

Can QGIS be used to calculate the up-slopes (total area draining to a specified point) of multiple separate points simultaneously?

I am trying to calculate the area draining to a point of 240 separate points using QGIS. At the moment I'm using the Saga - Upslope Area algorithm to individually work this out for each of the 240 ...
1
vote
1answer
58 views

Use self-defined Leaflet identifiers to work with jsTree checkboxes

I have some hierachic structured point-layers in a GeoJSON file using jsTree (ajax) with checkboxes to add them to the map. As I have about 20.000 points structured in 2.000 nodes representing the ...
1
vote
1answer
29 views

Create a new polygon layer containing the extent of a layer [duplicate]

I am trying to create a difference layer from an overlay layer and a base layer. The base layer (colored orange in the image below) has a larger extent than the overlay layer (light brown) when zoomed ...
1
vote
1answer
44 views

I can't add a ArcGIS Feature Server Layer

4 I want to get the layer from http://3d-cpd.bangkok.go.th/ArcGIS/rest/services/BMA3D_2D_WMS_TTD/MapServer and when I try to add a layer (via add new ArcGis Feature Server Layer) I got the ...
2
votes
1answer
28 views

QGIS 3.4 Modeler: Select a band of a raster layer for processing

As model input data I select a raster stack with three bands. The first processing tool just needs specific bands of this stack which I like to select in the input dialog. I create a 'Raster Layer' ...
0
votes
0answers
13 views

How to generate a layer of points from a database of lat, long using qGIS? [duplicate]

I am a programmer but I am new in QGIS. I have a database of some hundreds of points with lat, long information. It is an excel spreadsheet. How can I create a layer of points of each lat, long from ...
0
votes
1answer
39 views

OpenLayers, problem with WFS service and “outputFormat”

I have a service and I tried to paint his layer on my map: http://www.ign.es/wfs-inspire/unidades-administrativas?REQUEST=GetFeature&SERVICE=WFS&VERSION=2.0.0&COUNT=1&srsName=EPSG:...
4
votes
3answers
158 views

Intersect multiple layers at once QGIS

I'm very new to QGIS and am just learning the intersect function. I have about 10 polygons that overlap (not perfectly) and one layer of about say 15 points. I want to know with which of the polygons ...
1
vote
1answer
26 views

Seeking quarternary watershed map of Eastern Ontario?

I am looking for a quarternary watershed map of Eastern Ontario. Where is the best place to look for this? I am currently using the ArcGIS Online basemap software to create my maps. I have a CSV ...
0
votes
0answers
24 views

Updating .aprx file after creating new layer using ArcPy?

I use arcpy function XYTableToPoint_management() to create a new layer vessel_coordinate into the current active map, as shown below. But when I list the layers in this map (map.listLayers()), I hope ...
2
votes
1answer
89 views

Selecting features from multiple layers for export QGIS 3.6

I have multiple features I want to select over multiple layers and then export these selected features to a new layer. The 'Multiple Layer Selection' plugin is not supported by the QGIS 3.6 so that ...
1
vote
1answer
47 views

Define coordinate system for layers with data from mdb-file (Microsoft Access Database) in ArcMap

The point data set from table points in the Microsoft Access Database (mdb) file data.mdb is visualized as layer points.lyr in ArcMap 10.6. The coordinate system is known. However, it is not allocated ...
1
vote
1answer
20 views

Changing ArcMap Display Order of Elements in Same Layer File?

I have a bunch of polygons in a layer file and I want to reorder those polygons so one of them is "sent to back". I am using ArcMap 10.5.
1
vote
0answers
47 views

Why did QGIS 3.6 crash? [closed]

I have clipped a raster file using a shapefile as a mask. And I tried to export the new layer and modified the projection from WGS 84 EPSG:4326 to EPSG: 102022 Africa Albers Equal Area Conic. When ...
1
vote
0answers
32 views

Layer adding/removing using PyQGIS? [closed]

I'm working on a plugin which fetch data from Vector Layers and I'm trying to update the informations whenever a fitting layer is added or removed. At first, I tried with QgsProject.layersAdded and ...
3
votes
1answer
55 views

Using expressions to relate column to layer style in QGIS?

I have a QGIS project with N layers, each pointing to the same CSV file with columns "1_1, 2_1, ..., N_1". I would like each layer to refer to its respective column (Layer 1 -> column 1_1, and so on) ...
2
votes
0answers
49 views

Standalone error using Python 3: layer.isValid is False [duplicate]

I am trying to create a standalone application using Python 3.7 and QGIS3.6. on Windows 10. I have installed QGIS using the OSGEO4W method, in the 64-bit flavour. My issue is that when I try to load ...