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
15 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 ...
4
votes
3answers
82 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....
0
votes
1answer
21 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 ...
1
vote
0answers
22 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, ...
0
votes
1answer
28 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
0answers
23 views

Automatic switching between chronological imagery set at 1 month interval in PyQGIS? [on hold]

I have 12 imagery layers of every month in a year. Now I have to manually switch between different image to visualize the permanent/temporary water, grassland changes and cropland changes at that ...
3
votes
2answers
85 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 ...
1
vote
1answer
18 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
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 ...
2
votes
0answers
23 views

Using level information from OpenStreetMap to show roads / tunnels / bridges in right level? [duplicate]

OSM has information about the levels of road segments for example road crossing railway. It is possible to order layers dynamically from the level attribute? I only found one possibility in QGIS ...
1
vote
0answers
18 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
0answers
14 views

eCognition multiple layer import

I am currently working with a Geotiff file, which contains 60 different layers. Now I want to create a few classifications, but the attempt to import them into eCognition fails with the error message: ...
0
votes
2answers
40 views

Error when trying to create shapefile layer

I'm not super familiar with QGIS as I am used to ArcGIS. But when I try to create a new shapefile layer, I keep getting an error that says, "Layer creation failed: Failed to create file vacancies.shp: ...
1
vote
1answer
61 views

Which provider should I use with `qgis.core.QgsVectorLayer` method at `PostgreSQL database with PostGIS extension` storage?

I use PyQGIS 3.6.1 Noosa to load layer from my database storage PostgreSQL database with PostGIS extension using qgis.core.QgsVectorLayer method. But layer is invalid somehow. Performing same ...
1
vote
1answer
30 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 ...
0
votes
2answers
20 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 ...
1
vote
1answer
15 views

Iterate layerScope.variable

I have a problem with this code : for layer in layers : #surcharge avec le filtre permanent if QgsExpressionContextUtils.layerScope(layer).variable('layer_filter')!=None: sql=u"(" + sql + ...
0
votes
0answers
13 views

Layers not overlapping and not clipping the layer [duplicate]

Does anyone have an idea about two layers are not overlapping on one another? I have one raster and one vector layer, I wanted to clip or extract by the mask of my raster by using shapefile but it's ...
1
vote
0answers
14 views

vectortiles: change style of basemap instead of data

I'm using Mapbox-GL-Leaflet bindings on Leaflet to style my vector tiles. I'd now allow the user to switch a style using Leaflet control. The easiest way would be to use LayerControl for this. Since ...
0
votes
0answers
46 views

KML file not showing anything on the google map

When i import this KML file: https://yadi.sk/d/G3DJywNAliflew Nothing shows up on the map, just centering around Kazakhstan. This KML file has layer (like 2G cellular coverage map). What i am doing ...
0
votes
0answers
18 views

Using KML to Layer tool in ArcMap always produces a GDB?

When I use this tool to convert a KML into ArcMap 10.6.1, the menus ask for a GeoDB, then a layer name. At least that is my understanding. I cannot for the life of me import a KML into an existing ...
0
votes
1answer
36 views

Removing layers and schema locks with ArcPy?

I am creating a code that adds fields to a large set of shapefiles. I want to be able to open these shapefiles and edit the fields and then have them removed from the map document. I would like this ...
1
vote
1answer
28 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". ...
0
votes
0answers
36 views

Symbology or style to separate layers

I have a layer i.e. vegetation, i can split this layer in different colors using rules or categories i.e. light green = grass, darkgreen = trees. Then the colors appear 'nested the layer. When i make ...
1
vote
3answers
59 views

Calculating the shortest distance coordinate to vector layer

I want to calculate the nearest distance from each coordinate in a vector layer containing more than 17 000 coordinates to another vector layer. I tried the GRASS v.distance tool but it gives the ...
3
votes
3answers
177 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
32 views

Applying one color to many layers in QGIS 3?

I've been playing around with my QGIS Bonn (3.2.3) and I have a question regarding styles/symbology/colours. Is it possible in QGIS to set one colour/style to multiple layers at once?
1
vote
2answers
34 views

How to make QGIS indicate that a layer has not CRS set in layer properties info

I have QGIS 3.4.5 32bits. I added to the canvas a shapefile which has no defined coordinate system, but QGIS correctly guesses is WGS84 and warns about it. However when I go to the properties of the ...
2
votes
1answer
30 views

Adding layer to open ArcMap document using ArcPy?

I have created a script. I'm run the script using ArcMap and a layer should be added to the open ArcMap document. I have earlier used MXD.save() witch work fine when I'm running the script outside ...
0
votes
1answer
31 views

Exporting map, new layers show up

I am using ArcMap 10.6.1 and I am trying to export a map as a TIFF file. When I'm in layoutview the map looks ok, but when I export it, new layers show up. Or the scale of the layers change or ...
2
votes
1answer
29 views

Adding back layer heading in ArcMap?

I deleted the layer heading thinking that I didn't need it. But after doing some refactoring, it turns out that I do need it but I can't figure out any way to add it back. How do I add it back? I'm ...
0
votes
0answers
54 views

Leaflet custom icons and popups showing GeoJSON properties with external data?

How can both custom icons and geojson properties be implemented with external geojson in Leaflet? Using methods described in answers to two other questions, both using inline geoJSON: Using custom ...
2
votes
2answers
51 views

How to rename duplicated layers in QGIS3? [closed]

I duplicated a layer ("Buildings") in QGIS 3.4.4 and with the Query Builder under Source I selected to just display schools. Subsequently I renamed this layer "Schools" by rightclicking on the layer, ...
0
votes
2answers
47 views

Displaying rainbow colors for multiple polygon layers in ArcMap?

I am working with ArcMap and I have a series (20) layers - polygon lines in a group. I would like to ask you a way to color (not manually) all the lines with a rainbow color palette. The lines are map ...
6
votes
2answers
103 views

Creating blank QGIS shapefile templates?

I am going to be creating (digitising) many repetitive maps which contain the same set of .shp file vector layers. And I was wondering if there was a way to create a template .shp file I can re-use ...
0
votes
1answer
19 views

ArcGIS export map to PDF with layers symbology error

I am trying to make a PDF with layers. If one of my shapefiles symbology is set to categories, unique values, as in a states shapefile, it wont let me turn off each state; it groups it. Is the only ...
2
votes
1answer
53 views

How to get data source attributes from PostgreSQL and PostGIS layers

I want to get attributes like schema name and table name from PostgreSQL and PostGIS loaded layers in QGIS 3. I've searched in API docs but just found about set data sources, anyone knows how to get ...
1
vote
1answer
127 views

Stuck on how to list loaded layers in QGIS 3 via Python

I've stuck on a issue about getting a list of loaded layers. I've two layers loaded, one spatial (point, line or area) and another one non spatial (postgresql table). I've tried this code but it lists ...
-3
votes
1answer
92 views

What is the problem?

After running raster>conversion>polygonize (raster to vector)I was given the following message in qgis 3.4.4. What should I do? Processing algorithm… Algorithm 'Polygonize (raster to vector)' ...
1
vote
0answers
36 views

What style has been applied to a QGIS layer?

QGIS 3.4 - I have several different saved styles which I can assign to a particular layer depending on what I wish to emphasise at the time. For example, for a Roads layer I might want to show roads ...
1
vote
0answers
19 views

GeoServer-Mviewer : point layers over surface layers

I am working on an interactive map designed under Mviewer package and using GeoServer to save symbols and layers. I have a specific issue on it: I managed to generate all layers correctly in my ...
1
vote
1answer
22 views

Using RemoveLayer in arcpy.mapping?

I am trying to use RemoveLayer within the mapping module, but seem to be getting mixed results. I do the following to add a layer to the map mxd = arcpy.mapping.MapDocument("CURRENT") # define map ...
0
votes
1answer
54 views

Exporting image from QGIS precisely on layer extent?

I have a map of the word, the bottom layer is a world raster layer from Natural Earth and on top of it several vector layer. Using QGIS 3.4.4, I need to export image without a background, it needs to ...
1
vote
0answers
36 views

QGIS 3 bold Layer names?

In QGIS 2 the Option for bold Layernames was here: Go Settings->Options->Canvas & Legend and set 'Bold group names' to true and 'Bold layer names' to false. This link helps provide context. ...
0
votes
1answer
40 views

Associating Inset Map with Layer?

I'd like to only display an inset map, inset map scale bar, frame and leader if an associated layer is displayed. Similar to Associate Point Layer, Annotation Group and Line Layer in Map Legend but ...
0
votes
0answers
62 views

.leaflet-control-layers-expanded style control appearance

This might be kind of a nothingburger, but it's nagging enough that I can't fix it and I'd like to know why this is happening!!! I'm also wondering if this little bug might be a sign something isn't ...
3
votes
3answers
92 views

Merging several polygons located at same place in same layer using QGIS?

This is my problem that I first present using a Screenshot: In a layer, I have many cases of figures like this one: Polygons that overlap in the same place. Each of its polygons represents different ...
2
votes
0answers
31 views

Leaflet layerGroup in ListMarkers

I am using the Leaflet List Markers Plugin for showing all features currently visible in the map in a list. Adding a single L.geoJson layer is no problem and works fine. Now I am using multiple ...
1
vote
1answer
82 views

Shapefile layer not showing in QGIS [closed]

I have a polygon layer which is listed at the top of the layers panel, however it is showing underneath other layers on the map canvas. It is in the right location but despite being at the top of the ...
1
vote
0answers
23 views

Attributes Table, Multiple Layers

I am working with several layers - a single vector layer, with a minimum of two delimited text layers. I have tried a number of times to open the attribute table for each of the layers, but selecting "...