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

Change nameString using arcpy?

Is it possible to change the describe nameString of a .lyr file using arcpy? The name of the .lyr file is correct, but when the .lyr is brought into an .mxd the display name (nameString) is different, ...
3
votes
3answers
96 views

Is there a hotkey for switching on/off a layer in QGIS

I would like to know if there is a hotkey in qgis for switching on/off a layer. I have a task where I have to open and close a layer quite frequently. Doing it by a mouse is too time-consuming and ...
3
votes
3answers
51 views

Create a new grid layer from a CSV, given the four corner coordinates

I'm trying to add a new grid layer by importing it from a CVS file. In the CSV, each line represents a grid, and the coordinates of the four corners are given. Moreover, the grid contains its own ...
2
votes
1answer
65 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 ...
1
vote
1answer
43 views

Rename layer result from PyQGIS QgsProcessing.TEMPORARY_OUTPUT to something else

I have a PyQGIS script that I exported from a QGIS process model. I have set output layer names that make sense in the model but when I export and run the model in PyQGIS it outputs the temporary ...
0
votes
2answers
34 views

Why is the background of my Geoserver WMS+Leaflet example grey instead of transparent?

I am trying to add a WMS layer to my leaflet map. When I add the layer it shows up but the the outside of the layer is grey instead of a world map. This is my code: <!DOCTYPE html --> <...
2
votes
0answers
18 views

Applying graduated symbol renderer only on some features using PyQGIS

I have set up a graduate symbol renderer (QGIS cookbook - Graduated Symbol Renderer), and I am now trying to make it conditionally applied to some features only, depending on one (or more) attributes. ...
0
votes
0answers
24 views

Showing same layer multiple times using ArcMap

I am using ArcMap. I am working with a layer for which I have two separate values that I want to display using symbology. Ideally, I would like to duplicate the layer and place them side by side, ...
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 ...
0
votes
0answers
26 views

WFS request using layer extent or spatial query QGIS3

I'm trying to request features from wfs-service by using a virtual layer. Is it possible to load features by using a layer extent from a virtual layer? I know how to add dimension for a request with ...
-3
votes
1answer
33 views

Exporting layer from ArcMap with detail [duplicate]

How can I Export layer from ArcMap with complete detail contain picture of symbol? Export by click right on layer and export data was tested. I actually just want to Export layer with symbols.
0
votes
1answer
18 views

Sorting layer created by Create Layer from Selected Features using ArcMap

I am using ArcGIS Desktop 10.5.1 Standard / Windows 10 Pro. I am selecting features with a common attribute and then using the Create Layer from Selected Features method to create a new layer to work ...
2
votes
1answer
29 views

Select by Location multiple layers using ArcPy

Using ArcMap 10.3, I would like to Select By Location multiple layers using ArcPy. The error message states line 7 is not correct. I can't find the error though. "Water_Body_Boundary" is my source ...
3
votes
1answer
32 views

Building a path from points by distance

I have layer of points of which I need to build lines. Standart Points to path function doesn't suit me. I have data on time, but it does not reflect the order of connection that I need. I need to ...
0
votes
1answer
79 views

Run model from script

This is my script where I am trying to use selectby_attribute within a model, based on a field, F*. There are 6 fields, so I want 6 derived layers. Then I am going to use bearing and distance tool ...
2
votes
1answer
66 views

Filter by attribute names from another layer in QGIS

I have some difficulties with a task I have. Data: layer 1 (tmc_segments), layer 2(regional_roads(earth)). Layer one contains simplified geometry of the road network (just simple lines with data ...
1
vote
0answers
29 views

QGIS SCP pulgin layer output

I use the plugin regularly and have already used every function. But I have often noticed that the output layers are not always intuitively understandable. I googled on the topic and found no ...
1
vote
0answers
25 views

Filter features by attributes from another layer [duplicate]

I already asked this question here, but realized that my description was too meager for people to help me. Therefore, I will try to describe the problem here in more detail. Data: layer 1 (...
1
vote
1answer
263 views

Using VBscript restrict layer editing in ArcPad

I am attempting to restrict editing on certain layers based on the user log in. Dim objLyr1 Dim objLyr2 Dim objLyr3 Set objLyr1 = Map.Layers("PatchPanel") Set objLyr2 = Map.Layers("wHydrant") Set ...
1
vote
2answers
80 views

Determining when layer has been loaded in ArcObjects?

Is there an event in ArcObjects to determine whether a layer (specifically a shapefile) has been loaded into a map? I'm using ArcObjects 10.4.1 and C#
5
votes
4answers
1k views

What Is The Ideal Workflow To Map (British) Postcode Territories

I'm looking for the best workflow for mapping postcodes and calculated territories, but being relatively new to mapping I'm struggling on a few details and also the best practices for displaying these ...
2
votes
0answers
21 views

How to develop responsive layer container in Leaflet?

I'm using leaflet.js to develop a drawing layer tool with the full-page map. Users will draw a group of layers to describe an industrial product's parts. The leaflet map and its layers should be fit ...
10
votes
2answers
209 views

How to view layers by data source in QGIS 3?

Is there a tool or panel in QGIS 3 that allows a user to view the map layers by data source? Similar to the List By Source view in the ArcMap Table of Contents? I thought I had come across it, but ...
1
vote
2answers
489 views

Add points on zoom and remove points when zooming out

Problem I would like to add points/shelterIcons when zooming to level 12 or more and remove them again when zooming out. If all the points were defined as a layer I could add/remove them with the ...
1
vote
1answer
29 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
59 views

Using SelectByAttribute_management after making XY Event layer in ArcPy

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 ...
1
vote
0answers
30 views

How to create a 3D Map with multiple layers?

This is a Generic question, if it is not applicable please delete. I was wondering if it was possible to make a 3D map (such as seen below) on QGIS version 3.10.0 The image is basically showing ...
1
vote
0answers
38 views

Editable text in Illustrator

I'm new to QGIS and Maperitive. I wondered if there was a way to export all road /street names for a particular area as editable text in Illustrator (SVG)? I have tried using Maperitive but for some ...
0
votes
1answer
75 views

Display legend of WMS in layers panel in full extent

When loading a WMS layer from e.g. http://www.wms.nrw.de/geobasis/wms_nw_dgk5 the legend of the layer with larger desciptions is displayed in the layer panel not to its full extent (see picture). When ...
3
votes
1answer
303 views

Republishing AGS Service Doesn't Update Web Map in AGOL

I created a web map in my AGOL content folder after publishing from ArcMap as a Portal feature service. I created a web map in AGOL by bringing in the service URL. I have three group layers with ...
5
votes
1answer
188 views

Turning on/off ALL selected layers in QGIS?

When I select few layers in the QGIS 3 Layers Panel and press Space - only one of the selected layers is turned off/on. I want to turn them all. How to do that?
0
votes
1answer
48 views

arcpy.Mapping.UpdateLayer not working

The layer to be updated (ul) does not get applied with the style from the source layer (sl) and the code executes without throwing any error. import os import csv import arcpy #Set home geodatabase. ...
3
votes
1answer
70 views

Specify an alternative URL for a “tileLayer” to use in Leaflet?

Let's say I have a: var myTileLayer = L.tileLayer('https://{s}.tile.SomeMapServer.com/{z}/{x}/{y}.png'); and if some tiles fail to load, I want them to be loaded from 'https://{s}.tile....
0
votes
1answer
606 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
40 views

Sort and create attribute field to the shapefile

I am creating a shapefile layer and adding an 'Area' attribute field using the following script: # Create shapefile layer drv = ogr.GetDriverByName("ESRI Shapefile") dst_ds = drv.CreateDataSource(...
1
vote
1answer
565 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
2answers
40 views

RAT and cell values in R's raster-objects

I really struggle to understand some basic concepts in the structure of how R's raster-objects save values. Namely the RasterLayer, the RasterBrick and the RasterStack. I understand that the values (...
1
vote
2answers
1k views

Using custom filters (server side) for OpenLayers Vector Layer

I have a vector layer in openlayers with source in GEOJSON (custom php server, which I have in complete control) and BBOX strategy. Vector points contain point sources which have different attributes....
0
votes
1answer
88 views

CartoDB - Non-animated heatmap, but won't let me layer under

I have a simple heatmap layer that is not animated. I want to move a choropleth layer above that heatmap layer, but Carto will not let me, as it thinks my Heatmap layer is animated. Is there any way ...
0
votes
2answers
207 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 ...
0
votes
2answers
34 views

Change Drawing Order with Python in ArcGIS Pro? [closed]

Working on a Python script that does some routine table management of a couple of feature classes. In one step I define a table join and then export that to a GDB. When that runs, it will add it to ...
1
vote
0answers
18 views

Layers and styles for all different geometric objects

I want to change the graphical style of my geoserver map. There are like 400 different geometric objects and 20 different zoom-levels. Do I have to create 8000 (400x20) different layers/styles and ...
1
vote
2answers
67 views

Moving layer across map canvas

I would like to move my created layer across the map canvas. I found some solution here. And next tried to achieve something similar in QGIS 3.10. Unfortunately, this step couldn't be achieved, as I ...
1
vote
0answers
41 views

To Iterate through all layers and all attributes for each layer

I am working in the Python console in QGIS 3.10. I want to iterate through all layers and for each layer iterate through all attributes and set them all to 'Hidden'. I want to do this in ...
3
votes
2answers
308 views

Is there a way to apply the “Select features by rectangle\polygon…” function on multiple layers simultaneously?

I have put a map together using openstreemap data that is intended to be used as a base for different projects. However due to the amount of information (number of layers) the loading time is rather ...
1
vote
1answer
297 views

Build Radio Button in QGIS Edit Widget Properties

My question is similar to Choosing multiple options from QGIS Check Box or Value Map for feature attribute? I have 3 categories in a row, i want to make this selection in form of radio button so that ...
2
votes
1answer
61 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 ...
0
votes
0answers
24 views

Iteration between different polygons in one layer

I am trying to create a code that will calculte the mean NDVI value for each polygon,the standard deviation , then std/2 and then will classify the pixels inside each polygon according to the next ...
1
vote
1answer
193 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/...
2
votes
1answer
115 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 2 3 4 5 31