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
2answers
246 views

How to extract Z data from a shapefile from points on another separate layer QGIS

I have two layers; one with elevation data (m), and the other with roads (derived from points via points to polyines). I want to run a spatial query that basically extracts the elevation data from the ...
2
votes
1answer
36 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 ...
0
votes
0answers
24 views

Adding new polygon to existing shapefile? [on hold]

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 ...
0
votes
1answer
495 views

Creating layers depending on a property?

I have a .js file with coordinates for internships: var internships = [{ "features": [ {"type":"Feature","properties":{"category":"entretient","Name":"green"},"geometry":{"type":"Point","...
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
2answers
333 views

.mdb is not a valid layer and can not be added to the map

I know this question has been asked quite a few times before but I couldn't find an answer that suited my situation at all. So this is what happens. Currently, I am using ArcGIS to map the sewer ...
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
38 views

PYQGIS 3: Get the maximum extent of 2 different layers for map display

In the 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 * import ...
2
votes
1answer
382 views

Using MakeFeatureLayer in ArcPy?

I am trying to add a feature layer to my map document as the output from my python script. The goal is to limit the number of fields in the attribute table to a pre-defined list. I am able to add ...
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
vote
1answer
197 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
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
68 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". ...
1
vote
1answer
441 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
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 ...
1
vote
1answer
265 views

Order of coordinates for extent property in layer Tile?

I was just going through the documentation for OpenLayers 3.11 and came across Tile(). Now it accepts a lot of properties: opacity, preload , map, etc.), but the one I am interested in is extent. ...
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 ...
2
votes
1answer
257 views

Make Feature Layer from Query Layer yields an ArcPy error?

My project starts from a MXD containing Query Layers. I have to prepare the data in this "MasterMXD" for use in an offline application. Working with ArcMap 10.2.1 for this project. My Python script ...
1
vote
2answers
71 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 ...
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 ...
4
votes
1answer
148 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 ...
5
votes
2answers
2k views

Publishing QGIS project on GeoServer?

Is there a way to prepare a project on QGIS with many layers and to publish it under WMS service on GeoServer?
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
4
votes
1answer
2k views

Programmatically get selected layers from the QGIS legend?

My QGIS plugin exports all layers from QGIS to KML format. Now I'd like to export only selected layers. However, I can't find any hints in QGIS API. Is it possible to iterate over selected layers in ...
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
1answer
143 views

OpenLayers WMTS reprojection

I have a WMTS service URL, which gives me three layers in projection - WGS84_Pseudo-Mercator (tileMatrixSet). It's very easy to add them using this guide -> https://openlayers.org/en/latest/examples/...
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 ...
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 ...
2
votes
1answer
28 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
0answers
34 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-...
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 ...
1
vote
1answer
57 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 ...
3
votes
1answer
111 views

Geotools : Getting currently click layer from MapLayerTable

I've added a MapLayerTable to my application, and I'm loading multiple layers using shape files successfully. Now I would like to select features on the map of the selected layer. For this, I would ...
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. ...
0
votes
1answer
155 views

Needing to pan screen for graphics to update in ArcMap?

Every time I add or change a layer or zoom in/out, I need to use the pan tool to move the screen a little bit before the screen updates. Is there a setting that should be changed to fix this? I ...
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 ...
6
votes
2answers
5k views

Activating layer by its name in PyQGIS?

I'm writing a script that requires the attributes of different layers to work, and I would like to know how to call a layer that is not the currently active one and get its features. For example, I ...
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. ...
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 = ...
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 ...
1
vote
2answers
3k views

Clipping lines vector layer to polygon layer in QGIS?

I have a lines layer (a contour map of mean annual precipitation in Africa) that I want to clip to a polygon layer (shape of the African continent). However every time I use the clip tool (Vector-->...
4
votes
3answers
5k views

Setting layer visibility in QGIS Python API?

Im having a problem toggling the visibility of map layers in pyqgis (2.4). I have a simple interface, just the map canvas, no legend, and basically a radio button that toggles between two raster ...
3
votes
1answer
36 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 ...
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
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
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 ...
1
vote
1answer
30 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 ...
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
votes
1answer
466 views

Setting layer properties using Python Init function?

Is it possible to set the layer properties Python Init function field programmatically? I've been looking through the qgis 2.2 api but can't seem to find anything on it.