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.

0
votes
1answer
49 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
26 views

Using expressions to relate a 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) ...
0
votes
1answer
11 views

Have GraphicsLayer working but now need to put it in or convert to FeatureLayer (JavaScript)

I have a GraphicsLayer working for "Regions" and the corresponding popup template information for the staff within each region (below). function fillRegionMarkers() { // Create ...
2
votes
0answers
29 views

Standalone error using Python 3: layer.isValid is False

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 ...
3
votes
2answers
104 views

Automate filling of attribute table using QGIS?

I am new to QGIS and wish to automate my current process. In my project I have to open the attribute table of the batch_16 layer having 5 fields (date, checked_by, td_created, td_catagor and ...
0
votes
1answer
304 views

Unchecking “Scale symbols when reference layer set” by default in ArcMap?

In Layer Properties > Display, the "Scale symbols when a reference layer is set" is checked by default, and 90% of the time I don't want/need the symbols scaled. Is there any way to change the ...
0
votes
0answers
15 views

Combining several layers together using Google Earth Engine?

I have executed Google Earth Engine code for filtering areas with linear regression details for a specific time period. The countries were filtered as separate layers. I need to combine those layers ...
0
votes
1answer
41 views

Trying to use a SelectByAttribute_mangement after I made the XY Event layer

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
1answer
47 views

Getting TypeError: <type 'str'> from arcpy.mapping.ListLayers()?

I want to use ArcPy to turn on the labels for a layer. I use this code but it fails and returns an error. import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Users\P51\Desktop\testingLABEL.mxd") ...
2
votes
1answer
33 views

Getting layer label from ArcMap Table Of Contents?

How do I get a layer´s label from the TOC? I can´t find a similar question and ArcGIS Help tells nothing about it. I have searched even in other knowledge bases but with no success. I need to get ...
0
votes
1answer
208 views

Determining number of layers in .mpk file and then enumerating it using ArcGIS Runtime SDK for WPF? [on hold]

I need to determine number of layers in a given .mpk file and then enumerate it using ArcGis Runtime SDK for WPF 10.2. Can anyone provide me some link or code/snippet?
1
vote
0answers
40 views

Why did not I manage to reproject layer?

I have a global land cover map, which has the following properties: Name ESACCI-LC-L4-LCCS-Map-300m-P5Y-2010-v1.6.1 Path C:\QGIS\ESACCI-LC-L4-LCCS-Map-300m-P5Y-2010-v1.6.1.tif\ESACCI-LC-L4-LCCS-...
2
votes
1answer
234 views

CartoDB displaying layers and infowindow? [closed]

I just started testing and using CartoDB, and I am dealing with this problem on a map that has been published already: http://deix.is/ueberwachungsstatistik/ I have made minor corrections to the ...
0
votes
2answers
502 views

Getting feature coordinates from dynamically loaded layer using OpenLayers?

i want to load the coordinates of a point that is stored inside a vector layer and the vector layer is stored inside a layergroup. I do load the vector layers dynamically to the layergroup "Runs". So ...
0
votes
1answer
35 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 ...
8
votes
1answer
1k views

Force geometry type in mixed geometry WFS layer in QGIS?

I have an external WFS source serving mixed geometry types - in other words, I have no control of the source. When adding the layer QGIS sets the geometry type to line and thus I am unable to style ...
2
votes
0answers
35 views

Slow retrieval of features

I have a vector layer with lots of features and I'd like to create a new layer in Python, containing only a subset of those features. To be more specific, I downloaded OpenStreetMaps data of Austria (...
9
votes
3answers
20k views

Getting extent of layer in QGIS?

Is there a way to get the extent (bbox) of a vector layer in QGIS? I see that I can update the extent, but I am looking for the actually coordinates of the extent.
2
votes
2answers
733 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 ...
3
votes
2answers
193 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 ...
2
votes
1answer
261 views

QGIS Print composer: Point symbols not correctly displayed in legend

My problem: I have a point layer with a symbol size of 15958 meters. On the map they are all correctly displayed. When designing the map in the print composer and adding a legend, the symbols in the ...
0
votes
1answer
82 views

Download tile layers for use offline

I would like to download tile layers in this form: {atlas_name}/{z}/{x}/{y}.png Because I want to use them offline with my leaflet map. However, I can't find what are the approaches to download ...
1
vote
1answer
182 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 ...
0
votes
1answer
73 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 ...
1
vote
0answers
29 views

QGIS Multi distance buffer units do not align with the main layer

I have a buildings shapefile of Beijing. I know the projection WGS_1984_UTM_Zone_50N WKID: 32650 Authority: EPSG So I would like to create multi distance buffer from a central point but when I do so, ...
0
votes
2answers
24 views

Adding GeoJSON tile set to an existing map

I'm confused on how to add my GeoJSON tileset to an existing map built with a default style. Do I add the GeoJSON by ID or by style? Here is what I'm working with now.l Added .geojson to Tilesets as ...
2
votes
1answer
37 views

Merging infomation from multiple layers in QGIS?

I am currently looking at a city map with property boundaries. I have three layers of information, one is a polygon map showing the boundaries, one is a polygon map showing overlay information, and ...
2
votes
1answer
240 views

Using more than one group for single layer in GeoServer?

I have a huge number of layers in my geoserver that I have painstakingly imported and they all work correctly when viewed with GeoExplorer etc. I want to know if there is any way to create set maps ...
0
votes
1answer
27 views

How can I extract the coordinates from one layer and import them in a diferent layer when key field is the same?

I'm working with 2 different layers. First one is a csv file with 3 fields. Name, longitude and latitude. Second is a text file with the field name. I want to assign the longitude and latitude ...
1
vote
0answers
36 views

QGIS 3.45 Layers Panel point data labels set too far apart

The Layers Panel in v 2.18 is fine but we are now trying to go live with 3.45 and are experiencing issues with the display of some layers in the panel. Layers that are generated from an MSSQL spatial ...
0
votes
1answer
123 views

Adding raster layer to map in ArcGIS Pro project using ArcPy not working?

I have a raster dataset in a geodatabase and I would like to add it to my map using arcpy. I have tried with the following lines of code but it doesn't work (no error thrown): raster_data = r'D:\...
0
votes
0answers
21 views

QGIS @parent or import to database(Error 7) not working for layer

I have a shape file layer that won't load into the SpatiaLite database and it gives Error 7. It also won't run functions that work in other layers and works fine without the @parent or if I remove ...
1
vote
1answer
50 views

Layer not visible after deleting from attribute table QGIS

I'm a newbie for QGIS and trying to learn. I was editing the attribute table in which process I deleted some rows. Then the layer became invisible in the project. After trying a lot I decided to redo ...
0
votes
2answers
166 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 ...
0
votes
0answers
26 views

My work closed and now I cannot see the Temporary Scratch Layers [duplicate]

This is my first project on QGIS 3.6.1. Over night my computer restarted and updated itself closing my QGIS work.. I created two separate Temporary Scratch Layers and frequently saved it on my ...
2
votes
1answer
2k views

How to get wms layer's extent OpenLayers3?

Here is a part of my code: var wms = new ol.layer.Tile({ source: new ol.source.TileWMS({ url: 'localhost:8080/geoserver/BEIS_WS/wms', params: { ...
4
votes
3answers
99 views

Sort layers in table of contents in QGIS 3?

When I load a bunch of layers into QGIS, they seem to load in reverse alphabetical order. I'd like to sort them alphabetically. In this thread a solution is proposed, but that does not work in QGIS 2....
1
vote
1answer
838 views

How can I change layers visibility while I zoom in GeoServer?

I want to change layers visibility while I zoom , here are my screenshots. where is my error ?
0
votes
1answer
29 views

Trying to use layer saved as .lyr file with arcpy.mapping.Layer function results in error?

I am fairly new to the ArcGIS development world. I am attempting to write a script that will have an end result of selecting features by proximity to a selected portion of a different feature. So far, ...
0
votes
1answer
405 views

How can I create 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
31 views

AutoCAD Map/Civil 3D Feature Data Object (FDO) layer displays but is no longer editable

Just over a week ago, one of our main GIS layers became uneditable. Our GIS layers are connected to AutoCAD Civil 3D (Fig.3) via an SQL Server Spatial Connection in the Task Pane. We were able to edit ...
0
votes
1answer
40 views

ArcGIS JS API SimpleMarkerSymbol is not a subclass of Layer

I have polar ArcGIS map and want to display my own data on it. I will get data using AJAX REST queries to my server. As I understand, it isn't commonly used way to get data in ArcGIS, but presenting ...
29
votes
4answers
18k views

Iterating over map layers in QGIS Python?

I'm having trouble figuring out how to iterate over map layers. I can access the currently highlighted layer in the table of contents via iface.activeLayer() but I want my code to operate on all ...
1
vote
1answer
40 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
137 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
0answers
24 views

How to get the TEXT from a layers attributes to display on my map [duplicate]

I'm totally new with GIS software, so I apologize if this is a question that's already been answered! I'm working with the Texas Landgrid. It's composed of Leagues, Labors, Blocks, Townships, ...
2
votes
1answer
120 views

Mapinfo Line and polygons from different layers to be snaped

I have a layer that I need to edit [ kerb and gutter (KNG)] which consists only of lines that represent the kerb and gutters on both sides of the road. I have separated the left and right side of the ...
1
vote
1answer
217 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. ...
2
votes
1answer
233 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 ...
0
votes
1answer
41 views

Making layer visible without having it be snapped to in ArcMap? [closed]

I have one feature created called 'parcel' that shows the borders of houses and another feature called 'conduit'. I need to attach a point feature to the conduit preferably where the parcel boundaries ...