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.

learn more… | top users | synonyms (1)

-1
votes
0answers
14 views

How to programmingly get the feature from a layer by the feature's ID in Python QGIS? [on hold]

I have get a list of polygon features' ID, I want to get the corresponding polygon features by these IDs in the layer, then if I want to do some calculations by using the polygon's geometry. How can I ...
2
votes
1answer
49 views

Add qlr file in QGIS- problem

I work with a polyline layer: and the layer located in "G:\desktop\qgis\lyr". After i save the layer in qlr file and saved it in "G:\desktop\qgis\lyr", i try to load the qlr file with "add from ...
1
vote
1answer
191 views

Failing to use ArcGIS map as basemap in GeoNode

I'm trying to add the ArcGIS map service to my project in GeoNode but I'm failing to do so. I've read around and I saw information that says I need to make a XYZ tile service (something like this: ...
1
vote
1answer
318 views

Pass coordinates parameters to geoserver pgrouting service from Leaflet wms tile layer

I've configurated a pgRouting service in Geoserver, following the steps on the documentation it's easy to accomplish. Reading the documentation, existing examples, etc.. I've come to undestand how ...
1
vote
1answer
456 views

How can I move two layers at once in QGIS?

I'm trying to move two digitized layers, one containing points, the other polygons to a different location at the same time. QGIS doens't seem to allow this. Even if I select both layers and features ...
0
votes
1answer
1k views

Marker layer not responding to events in OpenLayers

I have multiple layers in OpenLayers: three vector layers, one google map layer, and a marker layer. I registered feature selected event to all three vector layers (which works fine, but btw is that a ...
0
votes
1answer
25 views

Button to turn off all layers in ToC at once?

I have created a map that has a Table of Content that i use to turn on and off desired layers. Is there a way to create a 'Clear' button that will untoggle the selected layers? I have a clear button ...
0
votes
1answer
2k views

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

My question is similar but slightly different from this one: http://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons ...
1
vote
1answer
7 views

Geotools - Create a line layer

I am using the Geotools library to develop a Java Swing application. I am having a problem creating a layer with lines between points. Can someone help me? Here my code: import com.vividsolutions....
-3
votes
0answers
13 views

What is layer stacking and masking out?

I'm very new to GIS. Can you tell me what is layer stacking and masking out means in ENVI software
0
votes
1answer
226 views

Publishing QGIS project on GeoServer?

Is there a way to prepare a project on QGIS with many layers and to publish it under WMS service on GeoServer?
0
votes
0answers
19 views

Looking for a map solution with layers [on hold]

I am looking for a mapping solution that has layers. I want my final result to look something like the Southwest Airlines Interactive Route Map https://www.southwest.com/travel_center/routemap_dyn....
0
votes
0answers
28 views

Representing multiple polylines in unique vector layer?

I have imported a layer which contains a lot of lines. They overlap each other in a cross kind of pattern. When zoomed out it can look like this: When zooming in on one of the broader lines it ...
0
votes
2answers
41 views

Comparing layers in QGIS and finding overlay?s

I'm a newbie to QGIS. I have run into a thing I can not solve despite trying to search for a solution and working through the functions in the tool. I have two layers I want to compare. One is filled ...
1
vote
1answer
1k views

Creating a layer after using SelectLayerByAttribute_management

Is it possible to use an existent layer to do a selection by attributes without having to use MakeFeatureLayer_management first? Because I already have a layer with the same name as the feature class "...
-3
votes
0answers
12 views

Lost layer on map [closed]

Does anyone knows how to get back layer on map? I vectorized the river and layer is marked on my left side but I don't see vector on map. Does anyone have that case?
1
vote
1answer
1k views

Changing color of symbol in UniqueValuesSymbology object using ArcPy?

I have an template mxd I reference with several pre-defined layers. The only variable I need to modify is the color of certain symbols in the layer. I have tried to modify and dig around the Symbology ...
0
votes
1answer
17 views

Using leaflet or google map to create layer of multiple attributes

I am creating a map with leaflet layer. Right now, each marker has three different attributes and I would like to create layers base on these three attributes (Model, group, and status). I am able to ...
1
vote
1answer
27 views

How to rename unique value using arcpy

I work with several MXD files. In each map there a polygon layer with unique values: I try to change in the table of contents the "a" into "land use" by using this code: import arcpy,os,sys from ...
1
vote
0answers
8 views

Moving nodes of different multipolygon on different layers

I would like to import into Openstreetmap the land-use data. In order to do a good job, I would like to correct some imperfections before the import. Take a look at this screenshot (which is a small ...
0
votes
1answer
22 views

importing files from grass mapset to QGIS Layer Panel

I am performing an NDVI calculation against 2 sets of rasters. One produced by LANDSAT5 the other by LANDSAT8. r.mapcalc "L8_NDVI = float(L8Band5 - L8Band4) / (L8Band5 + L8Band4)" The L8_NDVI file ...
0
votes
0answers
34 views

ReplaceDataSource of SDE layers in map documents (mxd) with old feature classes newly organized under feature datasets in the same ArcSDE

I need some help to replace the data source of old SDE layers in the map documents. The replaceDataSource method in the code below is not working properly resulting in a broken link of the target ...
1
vote
1answer
30 views

Applying symbology to raster layer in ArcPy without using symbology layer (layer file)?

I have a raster layer with 3 unique values (1,2,3) and I want to apply a unique color to each using RGB values or hex codes, without the use of a symbology layer (layer file). Is it possible to ...
3
votes
2answers
2k views

Adding Shapefile with Symbology from Layer File to ArcMap MXD using ArcPy?

I have a Shapefile: C:\DATA\points.shp A layer file: C:\SYMBOLOGY\symbology.lyr And a map document: C:\MAPS\map.mxd How can I add points.shp to map.mxd with the properties of symbology.lyr all ...
2
votes
1answer
239 views

How to remove a layer and its legend in a standalone pyqgis application?

In continuity in my question How to add a legend to a canvas in a standalone PyQGIS application? > In every addition of a new layer in my standalone application, the legend lengthens and becomes ...
6
votes
0answers
158 views

How do I get layers' IDs using python?

I am working in an ArcMap session, I've checked the option to get an ID for each of the layers in my document, so anyone has it. Now, what I need is a way to get these values within a python script ...
1
vote
1answer
32 views

Field list in combobox in pyqgis

I'm new to pyqgis and I'm tryig to make a combobox with list of fields (from layer also selected in combobox). layers = self.iface.legendInterface().layers() layer_list = [] for layer in ...
0
votes
0answers
15 views

Query in symbology as in labels using Arcgis 10.0

I'm using a bigger data set of points indicating different categories in ArcGIS 10.0. Single polygon, say district, may have a number of categories in it. I was wondering if I could make query of ...
-2
votes
1answer
73 views

Load multiple layers into multiple maps - python [closed]

import arcpy import arcpy.mapping import os import sys from arcpy import env #import string env.workspace = r"G:\GIS" mxds = arcpy.ListFiles("*.mxd") lyrs = arcpy.ListFiles("*.lyr") for maps in mxds:...
-1
votes
2answers
25 views

Exporting waypoints layers from ArcGIS for Desktop to Google Earth?

Is it possible to export waypoints Layer (ArcGIS) directly to Google Earth? I can export waypoints tables from MapINFO directly to Google Earth via EXPORT MAP TO GOOGLE EARTH tab.
2
votes
1answer
32 views

Most efficient way to select a given layer programmatically in QGIS

this a question about code efficiency, not asking how to loop through layers. I'm getting the 'this question appears subjective...' warning but there must be a tried and tested method by someone more ...
0
votes
0answers
22 views

MMQGIS plugin-merge problem

I work with 3 polygon layers (with the same CRS) from different data source each. I try to merge those layers with MMQGIS plugin. The problem is that only 2 layers merged: While i expected to ...
3
votes
2answers
64 views

Distinguishing shapefiles from geodatabase feature class with arcpy.Describe() method?

I have a list of layers (.ListLayers()) taken from a dataframe . In my case the layers can have two types of data source either shapefile or GDB. I want to start different actions depending on the ...
3
votes
3answers
514 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;...
1
vote
1answer
285 views

geoserver/openlayers: multiple layer geotiff

I have a geotiff file with multiple layers (46 layers), each layer corresponding to a different date (the geotiff layers corresponding to sea surface temperature, 1 layer per year). I imported this ...
0
votes
0answers
22 views

Change the Shortest Path graph to shapefile

Can I use the shortest path graph from the https://docs.qgis.org/2.6/en/docs/pyqgis_developer_cookbook/network_analysis.html example and make shapefile or a layer? Or is necessary to modify the ...
1
vote
1answer
88 views

Can't create polygon in an editable layer in ArcMap 10.3

There is an editable polygon layer in ArcGIS 10.3 I can edit already existing polygons but I can't create new ones. The layer does not appear in the "Create Features" list. I have another polyline ...
2
votes
1answer
74 views

Create Layer With Selected in QGIS

Came across this "Create layer with selected" button in the result for a Spatial Query in QGIS. And simply, this creates another layer from the same source with a query on the IDs. Does anyone know if ...
1
vote
1answer
26 views

Proportional circles as function of value NOT range

I have two point layers, each containing one column of values. When using the graduated style in layer properties, the size of the points is relative to the total range of values within that layer . ...
1
vote
0answers
34 views

Leaflet map with 'query of features' on mouseover and multiple layers

I have produced two working Leaflet maps that in total contain the features that I need for my application. However, I cannot solve how to have multiple 'overlay' layers that can be queried with ...
1
vote
0answers
21 views

How can I stop crashes when opening layer properties after adding SVG paths?

I am running the most recent version of QGIS, 2.14.3. I recently added several folders to the locations of of SVG files, but I opened the Style Manager and removed them when the crashes started. ...
1
vote
2answers
48 views

Running Python script that includes ArcPy functions?

I have to export about 250 layers in one mxd File to maps in ArcGIS 10. I found a script on this site at Exporting each layer in map to separate image using ArcPy?: mxd = arcpy.mapping.MapDocument(...
5
votes
1answer
2k views

Exporting each layer in map to separate image using ArcPy?

I have a mxd file with multiple layers I have to export to PNG/JPG. I would like to create a script which turns on layers one at the time before they are exported. So far I have come up with the ...
2
votes
1answer
42 views

How to ignore “handle bad layers” in QGIS?

I have a QGIS (2.14.3-Essen) project that I use both at work and at home. I keep all but two layers with the project. The two remaining layers are very large - a DEM and hillshade totaling more than ...
0
votes
1answer
86 views

Subtracting two layers in MapInfo?

I have two tables, one is a cartographic map and the other is the map of all lakes. Some of the lakes are in-land and so they are not excluded from the cartographic map. I want to calculate the area ...
1
vote
2answers
472 views

How to request group of layers from Geoserver with turn off/on capabilities? Geoserver layer organizer

I would like to organize my layers by topics, and for each of them (if chosen on the client-side), I would like to request a single-tile image, which contains the predefined layers in the correct ...
1
vote
2answers
52 views

Leaflet, changing base map CRS

So i am using leaflet in order to create my project, which is a world map that certain layers would be add on top of it. I am wondering whether I should change the CRS property of the map object, ...
1
vote
0answers
16 views

Maximum likelihood classification- changing class colour with every layer

I created a signature file, where I defined 4 different classes, which I named and coloured specifically. When I try to use the maximum likelihood classification tool for other layers, the classes ...
2
votes
0answers
48 views

QGIS Atlas zoom to intersection between two different layers

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

Can I save the symbology of all the layers in my mxd so that I can quickly revert back to a certain “look”

I am using ArcMap 10.2 and would like to set multiple variations of the layers symbologies. In autocad this would be the equivalent of setting the layer state.