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
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 ...
2
votes
1answer
165 views

Counting the number of layers in a GeoPackage

I'm trying to figure out a best practice for determining what are the names of layers in a GeoPackage and counting the total number of them. I've been able to list all the layers of a GeoPackage ...
2
votes
1answer
434 views

Import public online map layer into QGIS

I am collecting data about mobile phone coverage in my city. This is one of the public maps I found online. In the source code of the website owner I found the following ressource which is the visual ...
1
vote
1answer
52 views

Make Raster Layer with Overlapping Images

I am trying to set up a template which will display different maps based on layer definitions. One of the layers is a raster layer. Is it possible to combine a number of overlapping images into a ...
0
votes
1answer
430 views

List all layers in MXD and whether or not it is broken

I have a script that lists all layers in an MXD and I have a script that lists all broken layers in an MXD (http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-mapping/listbrokendatasources.htm). I ...
0
votes
1answer
79 views

MakeRasterLayer failing with error codes 000622 and 000628?

I am importing a raster file and then saving the layer file. This script has worked fine previously, but after changing some input file paths, it has stopped working. Arc finds the inputs, but then ...
0
votes
1answer
732 views

Request a WFS layer using OpenLayers

I am new to OpenLayers and GeoServer... can someone please help me to show a WFS layer... here is my code: const vectorSource = new ol.source.Vector({ format: new ol.format.GeoJSON(), url: ...
1
vote
1answer
667 views

Shapefile Layer display filtering in QGIS?

I use QGis 3.0, created several layers, each with multiple attributes. I want to display only objects which have f.e. "123456789" as value in a specific attribute to print it and repeat with the next ...
1
vote
0answers
41 views

Copy polyline from 2D to 3D?

On the right is a single row feature class polylineZ (with elev data) displayed on a new 2D map with no base map. On the left is that same feature copied (using drag from contents pane) to a new 3D ...
0
votes
0answers
176 views

Draw Polygon according to an external GeoJSON file (on a server)

I'm programming a map with OpenLayers (4.6.5) and I have a GeoJSON file stored on a server and I want to use it. This GeoJSON file represents Polygons. Before I was working with Points and all was ...
0
votes
1answer
130 views

Building OpenLayers map with many layers efficiently?

I have built a WMS parser which I am using to retrieve all layers from a WMS url to be able to automatically build a OL map with those layers inside. Actually, I see I can do it in two modes: MODE 1:...
2
votes
1answer
247 views

Duplicating layer-table in GeoPackage layer in QGIS3

How can I create new Geopackage layer with the same styling and fields, but empty of features, within same dpkg file. I have yet, houses.dpkg and within this dpk I have created houses and fences ...
1
vote
0answers
61 views

Hidden layer with zoom level

I would like to display some layer according to max and min zoom levels. I tried with the method min / max zoom and resolution but without success. I specify that I use vector tiles. Here is my code:...
2
votes
2answers
557 views

Creating atlas of different layers on the same place (QGIS)

I know the atlas function in QGIS can automate creation of maps of the same layer (say vegetation type) of different places (say natural reserves). Is there a possibility to automate the creation of ...
5
votes
1answer
1k views

pyQGIS returns invalid layer with QgsVectorLayer in QGIS 3

I have the following problem : I've installed all pyQGIS environment on Windows 7. I work with 64 bits version of Python 3.6 and QGIS 3.0 and PyQt5. My Windows paths are ok. My objective is to create ...
0
votes
0answers
95 views

Attribute Table is empty

I am trying to point all layers in MXD files to a different database server. Databse server is Oracle type. Most of the layers consist of views. After changing the datasource programatically for all ...
0
votes
1answer
45 views

Possible/Feasible to download parcel map and add up to 20 layers

Novice who just downloaded and installed QGIS a few minutes ago. Currently reading about the functionality of QGIS but thought that I may be able to obtain immediate insight in reference to my ...
0
votes
1answer
34 views

Conceptual Question: Best Way to Map Multiple Layers [closed]

I'm familiar with using QGIS, so this is not a technical question; it's more of a conceptual question. I'm mapping attendance of households at different meetings, and I specifically want to show which ...
0
votes
1answer
165 views

How do I export a KML for one layer in a KML file that has multiple layers?

I'm accessing the Index plots for Ordnance Survey map sheets, provided as a KML by the Charles Close Society here: https://www.charlesclosesociety.org/indexes (scroll to the bottom of the page for the ...
1
vote
1answer
261 views

Update feature class' data via Python Script Tool without removing layer from .mxd?

I have an mxd with 20+ Feature Classes all with varying degrees of 'formatting' (i.e. most are organized in groups, some are filtered with definition queries, and all have their own unique symbologies)...
4
votes
2answers
398 views

How to copy layer(s) to clipboard in QGIS 3.0?

In QGIS 2.18 there was plugin "Copy layers and groups to clipboard". It was allowing just in two clicks to copy/paste layer(s) with style and etc. from one project to another. Is there something ...
1
vote
2answers
80 views

Adding Layers file to MXD using ArcPy- Code Error

In this code i try to add layer files- only if the first character in the name file, is a numbers to a MXD file, but an error happened: import os,sys,fnmatch,shutil,arcpy rootPath = r"G:\desktop\...
0
votes
1answer
440 views

Adding Layers file to MXD using ArcPy

I tried to add several layer files to MXD file. when i run this code no error rise- but only one layer file added to the MXD and all the other 34 layer files in the workspace aren't added to the map. ...
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/...
2
votes
2answers
1k views

Could not create destination layer

I am using QGIS 3.0.3 to make a heatmap using processing toolbox, kernel density estimation. The input I am using: I have generated centroids from polygons using Vector --> geometry --> centroids ...
1
vote
1answer
31 views

Loading processed layers in QGIS

I am testing out Qgis (3.0) and have been unable to figure out how to reload a processed layer. For example I have a simple attribute query from some land use zonings where land use = 'PR'. The ...
0
votes
1answer
243 views

Accessing four extent values of layer using ArcObjects in C#?

How can I access the four extent values of a layer shown in the below image using C# in ArcObjects? Below is the code that i am using to achieve it but "AreaOfInterest" is null. public ...
0
votes
0answers
112 views

Resetting Layer Extent in MXD file using ArcObjects and C#?

When I change data source properties of a layer using ArcObjects in C#, I lose the extent set for that layer. How can I reset the layer extent? Below is the code in which I am resetting database ...
0
votes
1answer
65 views

Understanding Layers files with same name after MakeFeatureLayer and SaveToLayerFile in ArcPy?

I am trying to convert several shapefiles (in folder G:\desktop\Project\lyr) into layer files using this python code: import arcpy,os from arcpy import env env.workspace = r"G:\desktop\Project\lyr" ...
1
vote
1answer
314 views

Changing Layer DataSource using ArcObjects?

I want to change data source information of a layer. Lets say I have a MXD file in dev env configured with dev environment datasource details like server,database,username,password and I want to use ...
2
votes
0answers
76 views

Use EXTENT of a LAYER in Mapserver to crop a layer?

I have two vector layers in my map file that are at very different resolutions, and overlap somewhat. This is causing me some issues, and I would be happy if the higher resolution layer simply ended ...
4
votes
1answer
189 views

Rule-based styling road crossing in QGIS

Styling/symbolizing (rule-based option) a roads vector layer with intersections of streets with different styles I have incorrect (and annoying) overlaps of the different symbolization styles. is it ...
1
vote
0answers
325 views

Error Code -2147483647 when combining vector layers

I am trying to combine multiple vector layers in QGIS using the "merge vector layers" function from the dropdown lists (vector -> Data Management Tools -> Merge Vector Layers) All data are ...
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
71 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
96 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
59 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
110 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
238 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
388 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
66 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
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
vote
1answer
122 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
141 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
157 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
194 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
250 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
35 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
270 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
693 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 ...