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

0
votes
2answers
33 views

SaveToLayerFile does not properly save symbology

I'm trying to save a symbology from a layer, but any way I try to do it, it just gives me a unsymbolised feature shapefile when I try to add the newly created .lyr file. Anyone have any idea why this ...
1
vote
0answers
15 views

QGIS- Grouping Multiple Layers in to separate groups

I'm trying to group a large amount of layers together. They are a mix of Polygons and Points, I would like to create individual groups by the layer's name. Anyone have any ideas? I was looking to ...
0
votes
0answers
31 views

How to define layer in QGis like in AutoCad?

I have imported a dxf file into QGis. While the importing processes split my dxf file into three layers - Point, Linestring and Polygon, which are different from the layer in AutoCad. I found the ...
1
vote
2answers
56 views

Referencing layer in Table of Contents using ArcPy?

I'm looking for the best way to reference a layer in the TOC using arcpy and, if it is possible, that is different than the following: mxd = arcpy.mapping.MapDocument("CURRENT") df = ...
0
votes
1answer
60 views

ArcGIS Feature Class verse Feature Layer

In general is it better (more efficient) to work with Feature Classes (FC) or Feature Layers (a feature layer of a FC). I know when I construct model I always (or generally) work with feature layers ...
0
votes
2answers
32 views

SaveToLayerFile failed - “value is not a layer”

Tried doing a SaveToLayerFile on a layer in a workspace, but it confusingly says it's not a layer. I know it is a layer because the script can access lyr properties (e.g. name) and all of the ...
1
vote
2answers
76 views

Using Python to export multiple layers to .pdfs

I have found a solution to the issue below. The problem had to do with coding GetParameterAsText without actually using it as an input in a tool. That was the reason the raster layers wouldn't turn ...
0
votes
0answers
14 views

OpenLayers get feature from layer at viewport position

How can I get a feature from layer at a viewport position, in openLayers 2.12. For example something like... Layer1.getFeatureAtPosition(x,y)
0
votes
0answers
5 views

getFeatureFromEvent from multiple layers simultaneously in OpenLayers

I'm trying to return multiple features from two layers from a user click (one feature from each layer)? I'm using openLayers 2.12. I have 2 vector layers containing polygons, and a container layer ...
3
votes
1answer
71 views

Is it possible to add a raster file as layer from an URL?

I have several geoTIFFs stored on a server that I can access through http. I would like to add them as raster layers analogous to adding a local raster file through the "Add Raster Layer" button, but ...
0
votes
1answer
36 views

How to iterate through feature class to produce multiple point density files in ArcGIS?

I'm trying to create separate point density layers for each feature within a feature class owning to differing density characteristics within each feature. I would like to be able to accomplish ...
0
votes
3answers
77 views

How to separate states in USA file using ArcGIS for Desktop? [duplicate]

I have found a few different files containing the entire United States, with attributes including states. Is there a way to separate the states out into their own files (perhaps in one file ...
0
votes
1answer
19 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
24 views

Update shapefile name with layer name

I had a layer that I split by fields. The resulting files were given a name. I updated the names of the resulting layers in QGIS but have realized that the shapefiles have not been updated ...
1
vote
0answers
18 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 ...
0
votes
0answers
37 views

External layer switcher and layer order

So I'm using an external layer switcher because I need it imbedded in a bootstrap dropdown menu. It works really great except for one thing.... when I change between viewing my base layers, the ...
3
votes
1answer
43 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
45 views

Go through items in a composer legend (QGIS 2.6)

I'm trying to develop a plugin in QGIS 2.6, which opens a composer, add a map and a legend, and (among other things) adjusts the legend. Is there a way to go through items in a composer legend with ...
0
votes
0answers
14 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
39 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 ...
-1
votes
0answers
29 views

Features in a layer dont transfer from data to layout view

i have a layer in data view that i am using to show the locations of wells and when i go to layout view about half of the locations disappear and cant view them anymore in layout view but still exist ...
0
votes
0answers
30 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
36 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
44 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
32 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
38 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
61 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 ...
0
votes
1answer
35 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
51 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 ...
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 ...
1
vote
1answer
52 views

Apply Symbology Layer to a group layers

I have several mxds (located in C:\Project ) that have 250 layers each. All the layers as the same name- "plan" and they all in group layers like that (added picture for example): I try to change ...
1
vote
0answers
27 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 ...
0
votes
0answers
42 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) { ...
0
votes
0answers
18 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
137 views

Define spatial reference of layer in ArcGis JavaScript API

I get an error "Map: Geometry (wkid: 3301) cannot be converted to spatial reference of the map (wkid: 4326)" when I want to add only graphics layer. I found that spatial reference for a map is defined ...
1
vote
1answer
24 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
40 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
24 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 ...
0
votes
1answer
52 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
42 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
84 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 ...
1
vote
1answer
48 views

How to create a text file containing layer names in QGIS?

My QGIS ToC contains layer groups and some layers that do not belong to any group. I would like to create a text file containing the name of those layers that do not belong to any group. Is there an ...
5
votes
1answer
375 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
0answers
117 views

Advice needed on JavaFX Map Rendering

A few months ago I inherited an old (10+ years) Java Desktop application that used maps and simple icons to represent point data to various users. The application was writted in Swing and used Esri ...
2
votes
1answer
42 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: ...
2
votes
1answer
47 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 ...
1
vote
2answers
124 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
0answers
24 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 ...
1
vote
1answer
77 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 ...
0
votes
0answers
73 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 ...