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)

0
votes
1answer
33 views

Problem moving layers in QGIS

Just wondering if anyone ever experiences any problems moving layers? I have set up QGIS in the office and it works brilliantly for everyone apart from one of my colleagues who finds that on odd ...
1
vote
0answers
21 views

Print boundaries of one layer over another [closed]

i am new to QGIS. I have a base map from google, openstreet map over which i want to show the boundaries of another layer. How can i do that? While trying to edit, is it possible that QGIS allows to ...
1
vote
2answers
115 views

How to specify one layer among many with getWMSInfo?

I am using getWMSFeatureInfo with multiple point layers. When I click on a point on map, how to specify which layer that point belongs to?
3
votes
1answer
112 views

how to copy layer and add to same mxd and rename layer using ArcPy and ArcMap 10.2?

I am trying to copy a layer in an mxd and add that layer to the bottom of the TOC using Python, but I have not found a way to save the mxd programatically without making a copy. I also haven't found ...
2
votes
1answer
712 views

How can I copy columns from layer 1 to layer 2?

I have two layers, the first layer is pipe: that has some fields (column) title like : length, id, material. Also I have another layer that is empty (without any fields). How can I copy fields ...
2
votes
2answers
109 views

How to bind layer display?

I work on several layers in arcmap 9.3 My question is about creating binds to display theses layers directly. like ctrl+1 ( display / hide layer 1 ) ctrl+2 ( display / hide layer 2 ) ctrl+3 ( ...
0
votes
0answers
22 views

Saving and updating problems with PostGIS-Layer in QGIS

I have a OSM populated PostGIS DB (filled with osm2pgsql). All tables are working fine. But for my work, I need to combine some polygons with some points: create table attraction as select way as ...
0
votes
1answer
98 views

Saving Feature Class Symbology into a Layer or Object to apply to another Feature Class

I am creating a tool to automate a data standardization process. Part of this process is saving the feature class (variable "filename") as a layer file, projecting it into another coordinate system ...
0
votes
0answers
46 views

PRACH data plotted in a better way but not completely

I am close to finishing the visualization of PRACH in mapinfo. Here's my output so far (for 4 counters) Unfortunately, for some sectors it is not working as it should be. Can you please help out? ...
0
votes
2answers
66 views

batch save as layer to relative path in ArcPy

I would like to use a similar code as below, but one that uses relative paths. Since my input is a batch of tif files (not layers), I do not know if I need to use other functions like ...
1
vote
1answer
106 views

new layer from calculations with fields of other layers in QGIS

I've two layers, both with the same fields: A, V, where A is the shape's area and V a value given by me. I want a new layer with shape created by the intersection of the other layers' shapes and a ...
0
votes
1answer
121 views

Mapbox GL JS, self hosted vector tiles with missing levels

Using Mapbox GL JS with self hosted vector tiles in protobuf format where it looks for tiles using {z}/{x}/{y}.pb paths. I have a scenario where I only have data for zoom levels 9, 11 and 13. Is ...
0
votes
1answer
47 views

Accessing “valueField” property of layer's symbology using ArcPy?

This has been really hard to debug, as I had no idea where to look at first, but I have made an attempt to access the "valueField" property of a layer file. This layer file is of the UNIQUE_VALUES ...
1
vote
1answer
54 views

Source for cloud cover map layer over UK

I'd like to add a layer to display historical data on cloud cover in a Leaflet project I'm currently working on. This is specific to a given day in 2012 for a city in England, and ideally I'd like to ...
1
vote
1answer
227 views

How to add label to QgsVectorLayer by Python

my goal is to define label programmaticly for the case similar for the figure below: But didn't find any guidance how to do so using Python. I have a feeling it could be done using QgsLabel but ...
3
votes
1answer
394 views

Using Python Add-In to delete/remove ArcMap layers that are turned off?

I have made a python addin button which removes layers that are turned off in an MXD. The strange thing is that I get different results depending on whether I run the python commands in the python ...
0
votes
1answer
38 views

How to Send a Feature to a Different Layer [duplicate]

I have a polygon that I made using the buffer tool on a layer. The problem is, I can't figure out how to send this polygon to the layer I would like it to be on. The yellow polyon is the one I'm ...
0
votes
1answer
496 views

Accessing secure Geoserver layer with username password

I created Users, Groups and Roles in geoserver. And I set the user roles for my workspace. user1 can read user2 can write And I want to access my layers as anonymous like this: ...
0
votes
1answer
129 views

Refresh Map after Invoke URL

I am making a map on Auto Desk Infrastructure Map Guide Studio. Now I created a small ASP.NET website and hosted in local machine, Now on click of different buttons in flexible layout toolbar, I ...
2
votes
3answers
1k views

Adding shapefile as layer in ArcMap via Python scripting?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shapefile to the current map. (And then do stuff to it, but that's ...
1
vote
1answer
20 views

How to add terrain information to an existing project in QGis 2.6? [closed]

I have created contour lines and a hillshade layers and saved it as a vector and as a GeoTiff file respectively. However, when I try to add these layers to an existing project, nothing shows up. Where ...
4
votes
3answers
655 views

Is there easy way to get layers names from WMS server?

I've been looking for information on how to get layers names from certain WMS servers, but I didn't find any. E.g. I have this server: http://sdi.geoportal.gov.pl/wms_prg/wmservice.aspx and I want to ...
1
vote
0answers
47 views

Polygon Visualization problem on ArcGIS Online?

Has anyone encountered Visualization problem when uploading shp (zip) file on ArcGIS Online? The polygons are all displaced and overlapped with each other! I am sharing the link with the layer of ...
5
votes
2answers
2k views

What is Python equivalent of ModelBuilder's Iterate Feature Selection?

My data consists of two featureclasses: Points = points representing trees Polygons = Polygons representing % canopy area by area. Each polygon in the FC has a % canopy measurement in the ...
2
votes
0answers
150 views

Leaflet filtering existing featuregroup

I have a leftleat map and i would like to filter the featuregroup i am displaying. exp_colJSON = new L.geoJson(exp_col,{ onEachFeature: pop_col, pointToLayer: function (feature, latlng) { ...
3
votes
3answers
531 views

How do I rename Shapefiles in QGIS?

I have a huge list of layers in a project that are named in a foreign language. I want to translate and add the English title to the name. When I right click on a layer and choose Properties -> ...
0
votes
0answers
79 views

Enabling all layers by default using Leaflet?

I am using leaflet maps to compare heat layer and marker layer. I've an option to add multiple marker and heat layers dynamically. For me Heat layers are enabled by default as on when user adds new ...
1
vote
1answer
28 views

Reordering of layer properties fields in QGIS possible? [duplicate]

I'm wondering why such simple things are not possible. I have 5 fields on my layer and the last one shall be on the top now. But there is no way to do this, is this correct?
1
vote
1answer
105 views

Unable to draw a polygon due to “The feature cannot be added…”

The feature cannot be added because it's geometry collapsed due to intersection avoidance. see also http://i.imgur.com/xiiI7NE.png What happended: Let's say I have 2 layers. To the first I ...
0
votes
0answers
31 views

Arcgis Layer Guid or unique value

I need to get some unique values, for example ; i have dynamic map and ıt has seven or more sublayers and i need get these sublayers's unique id or guid. i can get sublayers from dynamiclayer on ...
5
votes
1answer
188 views

How to convert PostGis Table (Grid data) to Continuous field using Qgis?

I'd like to transform my Gridded Layer (generated form a PostGIS table of points) to a continuous and colored layer. How could I do this with Qgis or any other program?
0
votes
1answer
124 views

ArcGIS API for Javascript Not Adding Layer and/or Graphic during mouse event handler?

I am trying to add a graphic to my graphics layer during a map mouse event. In the javascript console, I can see that my graphic object is created and no error is thrown when I add the graphic to my ...
1
vote
0answers
45 views

Generate layers based on feature values

First of all, I am very new to the GIS world, so bear with me if the question is stupid. I am using ArcGIS and here's what I try to accomplish: I have a feature class (let's call it Areas) storing ...
2
votes
1answer
125 views

Edit attribute table for shapefiles in folders and subfolders with arcpy?

Continuously to Merge shapefiles in folders and subfolders with arcpy I try to edit attribute table for 20 shapefiles that spread in big a folder and are divided to a lot of sub folders. All ...
7
votes
2answers
363 views

How to load a raster layer at the top of the QGIS ToC?

The following code inserts my new_layer just above the active layer in the QGIS ToC. new_layer = iface.addRasterLayer(...) Instead, I'd like my new_layer to be inserted at the top of the QGIS ToC. ...
4
votes
1answer
1k views

How to perform a true GIS clip of polygons layer using a polygon layer in R?

I would like to do a true GIS Clip in R of soils polygons using a series of single boundary polygons, but I cannot find an R function to properly do it. It should work just like the CLIP function in ...
6
votes
1answer
453 views

Is it possible to have dynamic layer names in QGIS project?

I have a QGIS project with layers, based on PostGIS SQL queries that use current date. Since the data in the database changes, these queries return different data every new day. Is it possible to ...
2
votes
1answer
99 views

CartoDB problem with layers and infowindow display

I hope someone has had the same problem and can help me out. I just started testing and using CartoDB, and I am dealing with this problem on a map that has been published already: ...
0
votes
3answers
85 views

Trigger event on right-click

I want to, on right-click on a feature in a layer, have an action execute. I need to know 1 thing: What layer was right-clicked. Does anybody know how I can get this functionality? The API doesn't ...
2
votes
1answer
116 views

How to copy paste layers from one QGIS project to another?

Using QGIS 2.4, how can I copy one or more layers (with its properties, style, and the path of the source data) on QGIS and paste it in a different .QGS project? I tried to make this, clicking in a ...
2
votes
2answers
298 views

Save a layer for each unique value using Python in QGIS

I have a map, in which each region is defined as an attribute of the map (I can select each region from the attribute table). I am trying to create new layers each one containing only 1 region using ...
1
vote
2answers
323 views

Add multiple Layer files in subdirectories to mxd using python

I have more than 300 layer files located in many sub-Folders and sub-sub-Folders. All Sub Folders are located in one large directory.I read Use python to add layers to TOC and I try, with arcpy, to ...
1
vote
1answer
129 views

Automated map export, iterating layers and editing text

So just a beginner here. I've been automating a few map exports with ArcMap, I've used stack exchange to mash together some scripts to export maps with one FC symbolised using different fields and ...
1
vote
0answers
28 views

Can a joined-layer have its attribute changed depending on what layers are selected/deselected?

Using QGIS, I have a polygon-grid layer which covers everything, Layer_All joined with 2 other grid layers: Layer_1 and Layer_2, both of which intersect at various points. I would like Layer_All to ...
1
vote
1answer
1k views

How can I export a list of an mxd's content (layers names) into a table or a pdf?

I am using Arcgis 10.2. I have created a set of mxd from which I need a list of the layers and their characteristics (Name, sources, symbologie - maybe as in legend, if there is an Definiton Query, ...
1
vote
0answers
44 views

Adding layer to MXD from different SDE slows down ArcPy script

My python script looks at layers in an MXD, then does a couple of clip and measure operations and generates a PDF. It works accurately and quickly (0.5-3 seconds) when all the layers in the MXD are ...
0
votes
0answers
293 views

ArcGIS API Javascript Server creating a dropdown menu

I am trying to rebuild this ESRI example with my own feature layers: https://developers.arcgis.com/javascript/jssamples/dataadapterfeaturelayer.html Since I just want a dropdown menu existing out of ...
8
votes
1answer
5k views

Use python to add layers to TOC

I've been battling with adding layers to the TOC for some time now. I have managed to single layers added but need to loop through a folder and add all layers. Shapefiles I cannot get to add at all. ...
5
votes
1answer
3k views

Delete layer from ArcMap using Python

Problem: I'm trying to loop through all my layers looking for layer named "CADAnnotation". If the layer exists then remove the layer from the mxd Notes: Running from Stand-Alone script (ie. NOT ...
0
votes
1answer
123 views

QGIS 2.0.1 - problems to add layers - encoding?

I have just installed standalone QGIS 2.0.1 on a PC with Windows 8. But, when I open it and try to add layers nothing happens? I browse to find the file I want and click 'open' but it doesn't turn up ...