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
0answers
27 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 ...
0
votes
0answers
8 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 ...
0
votes
1answer
32 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" : "...
3
votes
2answers
61 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
20 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 ...
2
votes
0answers
33 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
0answers
24 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 ...
1
vote
0answers
16 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
85 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 ...
0
votes
0answers
19 views

Changing data source on all layer files in folder using ArcPy?

I have a folder of .lyr files and I want to change the source on all of them from one file geodatabase to a different file geodatabase. Feature dataset and feature class names will remain the same in ...
1
vote
0answers
44 views

QGIS layers panel doesn't show symbology

In the layers panel, the symbology next to the layer name doesn't show. Reinstalling QGIS has not fixed the problem. These are PostGIS point layers that draw on the map perfectly fine. The symbology ...
1
vote
0answers
37 views

Point layer problem

In QGIS 3.4 I've got a map with 2 vectors and 1 spreadsheet with point data that works fine. I successfully added a second set of point data from a separate spreadsheet. I can zoom to the layer but I ...
2
votes
1answer
23 views

Fit view to ImageStatic size

In OpenLayer 5, i've a long rectangular SVG image (like 7000x600 px) as main layer. I need to limit the view and pan only to its bounds. I tried the code below, but when zooming the layer can't panned ...
1
vote
0answers
21 views

Multiple layer data in one delimited text layer

I am a GIS beginner. I'm exporting several point coords from a Mysql database, and importing into QGIS using delimited text layer. I need to plot all the points and set the symbology to distinguish ...
1
vote
0answers
35 views

QGIS 3.4.11: Viewing issues: Categorised symbology in point layer expands Legend in “Manage Layers Toolbar”

When I apply categorised symbology to the point layer the legend in Manager Layers Toolbar view expands to the point I cannot see any other layers in the project. This doesn't happen with other types ...
1
vote
0answers
47 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 ...
1
vote
1answer
64 views

QGIS, creating layer from PostGIS : add a style

I am creating some layers in QGIS using PostgreSQL connection. I have a python plugin doing the load of the layer in Qgis, this part of the code looks like this : uri = QgsDataSourceURI() ...
0
votes
1answer
18 views

Translating one raster's contents closer to another’s with each at different scales using QGIS?

I'm working with multiple raster images, each in the Albers Equal Area Conic projection: one of the mainland US, one of Alaska, and one of Hawaii. I'd like to translate the Hawaii layer to be closer ...
1
vote
2answers
24 views

Batch importing same layer into multiple mxd files using ArcPy?

I am new to python. Will someone help me with the code to import the same layer into all the arcmap files in a folder on my desktop? I used the code below to import the layer into one map but I ...
1
vote
1answer
46 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
0answers
15 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
42 views

Getting maximum extent of 2 different layers for map display using PyQGIS?

In the QGIS 3 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 * ...
4
votes
1answer
63 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
46 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 ...
2
votes
1answer
51 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 ...
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 ...
2
votes
0answers
52 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
0answers
42 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 ...
1
vote
1answer
49 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-...
0
votes
0answers
39 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 ...
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 ...
2
votes
1answer
38 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
2answers
38 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. ...
1
vote
1answer
56 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
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 ...
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 = ...
2
votes
0answers
35 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. ...
3
votes
1answer
45 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 ...
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
0answers
28 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
44 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
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
22 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
121 views

Copying fields from one layer to another in QGIS

I am new to QGIS. I need to create hundreds of shapefile layers with the same fields but different points and attribute values: The first shapefile one I created with 12 fields (columns). To create ...
0
votes
0answers
31 views

How can I create a layer for each unique field item in a shapefile using Arcpy

#Introduction and imports import arcpy, string from arcpy import env #User Inputs: layer, field name, output workspace (optional) strTargetLayer = arcpy.GetParameterAsText(0) strFieldName = arcpy....
0
votes
2answers
52 views

Determining when layer has been loaded in ArcObjects?

Is there an event in ArcObjects to determine when a layer (specifically a shapefile) has been loaded into a map? I'm using ArcObjects 10.4.1 and C#
0
votes
0answers
34 views

Provide MbTiles from GeoServer with mutliple vector Layers

Is there a way to serve pbfs tiles by loading a mbtiles file (multiple vector layers) into the GeoServer? For this we used before Klokantech TileServer Gl to offer big mbtiles (osm vector tiles) to ...
2
votes
1answer
43 views

QGIS - Rendering Order: Layer Order > Symbol Levels > Feature Rendering Order

A similar question was already asked two years ago, but no answers were provided, things may have changed, or if not developers may now consider this something for a future version. Can I change the ...
1
vote
0answers
19 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
61 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 ...