The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

DEM and vector data won't match using QGIS

I have just started using QGIS for my research at university. I have a DEM comprising Italian regions of Lazio, Tuscany and Umbria. I then have a set of vector data from surveys carried out in these ...
0
votes
1answer
28 views

Deleting values minor of 0.31 in NDVI raster layer in QGIS

In my research I have a Ndvi raster layer, and I want to delete the values corresponding to bare soil, which are those minor of 0.31. Therefore, I will obtain a new raster layer with those values ...
1
vote
1answer
521 views

Previewing new added layer in GeoServer?

I got my GeoServer up and tried to published my layer. I have my own shapefile and I follow the document below to add new layer intend to publish it. geoserver shapefile-quickstart doc Referring to ...
1
vote
1answer
30 views

Exctracting values and their coordinates from a raster layer in QGIS?

I would like to extract the pixel value and coordinates of each of them from a ndvi raster layer. I don't have a point layer from where I can extract those values, as I read in other posts. ...
5
votes
3answers
1k views

QGIS split vector layer gives me GPKG files but I need shp files

QGIS 3.6.0 I am new to QGIS software and not very technical on its deep workings. I am trying to split a .shp file using split vector layer. I need .shp file outputs but it auto creates .gpkg files. ...
1
vote
1answer
49 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 ...
2
votes
1answer
53 views

Loading layer styles; (*.qml file) is there a shortcut or toolbar icon

Currently, to load a saved style you have to open the layer properties, scroll to the bottom and click on the style tab. As this is a regular thing I need to do when creating new maps I was wondering ...
0
votes
0answers
9 views

Labels on a different layers [closed]

Is there any way to have the labels on a different layer than the line work? When I bring information into AutoCad I want to be able to freeze the names not the lines.
0
votes
0answers
12 views

After using Apply Symbology From Layer in ArcGIS Pro layer becomes invisible

The layer still exists, i can open the attribute table, zoom to the layer etc. And if i change the Symbology manually, it reappears. Anyone knows why and how to fix it?
-1
votes
1answer
35 views

Get existing layer by name from map having multiple map/feature services in ArcGIS Javascript API 3.x

I want to get existing layers from map and toggle on the visibility of the layers. The map has multiple services. I have the rest url for the service or the layer. And able to access the layer by ...
1
vote
0answers
24 views

Using layer style in PostgreSQL

I have a db with two schemes "public" and "versioned" (the latter generated with the fastversion plugin). In the "public" scheme I have shp with related styles_table, in "versioned" I have other shp ...
1
vote
1answer
28 views

Viewing ArcGIS Pro layer as JSON to illustrate CIM (Cartographic Information Model)

In order to work with the Cartographic Information Model (CIM) from ArcPy with ArcGIS Pro I am interested in viewing the JSON for a particular layer. In a YouTube video from Esri's 2019 Developer ...
-1
votes
0answers
16 views

Refining Features from ArcGIS for Portal Webmap

I have a portal webmap with a few layers that i need to query so only matching results are displayed to the user. Portal webmap is accessed from a javascript webpage. I have found where the layers ...
0
votes
1answer
21 views

How to manipulate mapbox symbol icons - MapboxGL.js

I have my own Mapbox style that I build in MapBox Studio. Now I want to allow my user to move poi_label symbols. How could I do that? I am following this example Create a draggable point and also I am ...
1
vote
1answer
4k views

Monitoring layer loading progress in OpenLayers

I'm doing an upgrade from OpenLayers 2 to OpenLayers 3. In OL2, I was monitoring the loading progress of layers with their loadstart and loadend events. With grid layers I was even able to show a ...
0
votes
1answer
78 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 ...
0
votes
1answer
1k views

Extracting list of layers in MXD using ArcGIS Desktop and Python? [closed]

I have been trying to extract a list of all the layers in my mxd (ArcGIS Desktop 9.3.1), using Python 2.5. If I could have the source of the layers too that would be even better... But as long as I ...
0
votes
2answers
48 views

Add a local GeoJSON file as a layer with GeoJsonLayer

I turned a state boundary feature class into a geojson file called region2_boundary.json: { "type" : "FeatureCollection", "crs" : { "type" : "name", "properties" : { "name" : "...
0
votes
1answer
45 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 ...
3
votes
1answer
5k views

Adding and removing legends with layer selection in Leaflet

I'm new to Leaflet/Javascript and have been struggling to get legends a map to show only when a specific layer is selected from the layer control. I have three layers, one of which I would like to ...
1
vote
0answers
17 views

Can't modify the layer using a script tool on the current map

I want a tool that does two things: Update symbology, and hide some fields. I created a script tool for that: import arcpy in_features = arcpy.GetParameter(0) ref_lyrx = r"C:\ArcGIS\LAYER\...
0
votes
1answer
40 views

Layers Loading then Disappearing

I have layers that have been loading fine in my ArcMap project but now they load in for a second, and then when annotation begins to load in, everything but the annotative text goes white. So the ...
2
votes
2answers
3k views

Why does arcpy.mapping.Layer give Runtime error: CreateObject Layer invalid data source?

I want to connect an existing .lyr file to a variable defined as lyr2. lyr2 = arcpy.mapping.Layer(r"C:/Iso100Red.lyr") Although it is a .lyr file, I get this Error code: Runtime error <type '...
20
votes
0answers
1k views

Leaflet v1 plugin: layer control for ungrouped, grouped, and nested-grouped layers

I need a Leaflet plugin which extends L.Control.Layers. I have the following requirements: works with Leaflet 1.x handles ungrouped layers alongside grouped ones handles nested layer groups does not ...
0
votes
1answer
27 views

Calling for layer in ArcPy with ArcGIS Pro

Every single example I see online, the code has the mapname.listLayers() in order to call the layer. Don't we have a way to call the layer by its name instead? The reason I'm asking this is because ...
0
votes
1answer
65 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 ...
1
vote
1answer
4k views

Draw order (zIndex) of OpenLayers polygons and points in the same layer

My question is similar but slightly different to: https://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons and ...
1
vote
1answer
35 views

Two shapes coverage layer QGIS

I have two polygon layers, one is about different land owners boundaries and is used for atlas generation, and the other is about forests inside each property. In atlas generation sometimes i want to ...
1
vote
1answer
59 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 ...
3
votes
2answers
144 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
0answers
46 views

GeoServer layer disappearing from Leaflet map at max zoom?

I am developing an application that uses GeoServer + Leaflet + PostGIS. I created my database-based layers within GeoServer. As a basemap I am using OSM. When the maximum zoom occurs with the active ...
6
votes
6answers
2k views

How to create multiple QGIS layers from multiple text files?

I have a few hundred txt files (each representing a line of a river bed profile) that I need to load as (point-) layers in QGIS. Partial example: 4504764.8331;5374251.3024;397.8871;2 4504764.7761;...
0
votes
0answers
10 views

OpenLayers 2 how to load overlay a raster image as they are scrolled into view

I am overlaying a raster map over an OSM base with variable opacity here https://www.aeolian.org.uk/mapexample/slider.html. I want this to work over a larger area, so want to load neighbouring raster ...
3
votes
2answers
70 views

Doing difference between two layers in PyQGIS?

I'm developing a plugin where I would like to get some features from one layer (a), do a difference on them with the entirety of a second layer (b), and put the results into a layer I've created in ...
1
vote
1answer
21 views

Standalone python script - Qgis - QgsVectorLayer points to wrong feature class in gpkg

GPKG file has multiple featureclasses in it. I create a layer to a specific featureclass using QgsVectorLayer but it always points to the first FC in the gpkg file. This is a stand alone python ...
0
votes
1answer
539 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","...
2
votes
0answers
36 views

Filtering value layer according to condition of other layer using QGIS?

I have 2 point layer: layer A have 500 point; layer B have 50 point and these point have coordinate duplicate with some point in layer A. I want to find these 50 point out of the 500 points in layer ...
1
vote
1answer
480 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
0answers
29 views

Can QGIS load filtered layers on open from geopackage file?

I have some external processing (FME from SAFE software) which generates a geopackage file with a set of tables. Is it possible to load a set of filtered tables from a geopackage file when opening ...
2
votes
1answer
237 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
18 views

Leaflet map on click detect layer

I added a click event to the map. But when I click on a layer on the map, I want to disable this click event. I have to write a condition in the map click event. How can I find if there is a layer ...
0
votes
4answers
86 views

Merging layers using QGIS?

I have a series of plot points in the UK. All I want to do is overlay a simplified map of the UK, ideally just an outline. I obtained some simplified colour maps from the OS website, added as a ...
3
votes
2answers
247 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
255 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
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 ...
0
votes
1answer
80 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
1answer
170 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/...
8
votes
2answers
2k 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 ...
1
vote
0answers
51 views

qgis2web - show specific layers in layer list

Is there a way to display specific layers in layer list when exporting map with qgis2web plugin? I have created a map with bunch of layers like roads, names of places, rivers etc. but i don't want ...
0
votes
2answers
90 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 ...