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
0answers
7 views

Using layer file to apply symbology to shapefile with ArcPy?

I have code that doesn't work at the moment: # Import arcpy module import arcpy # Script arguments Input = arcpy.GetParameterAsText(0) if Input == '#' or not Input: Input = "frame" # provide a ...
1
vote
1answer
39 views

Using union and area increases?

I have two layers … assume A and B … one is landuse and one is limit of that. The main reason to union these two layers is to calculate street. But my problem is after I union these two the area ...
0
votes
0answers
10 views

Make a group layer in ModelBuilder

I've got a model that iterates through a whole bunch of files and creates layers from certain of those files. I'm trying to put together another tool that will group the produced layer files, but I ...
1
vote
1answer
47 views

why does my script not save a layer when it encounters a “ \” character in the string

i have some code that takes a field and finds every unique value in that field. it then creates a layer for each unique value. The code is working ok , but it is failing when there are \ characters ...
1
vote
1answer
44 views

What defines where the files will be saved?

Hi I have a script I am using to save out layers automatically I have posted another question here ArcGIS creating individual layers for unique attribute in a given feild. Limitations of Where ...
0
votes
0answers
31 views

ArcGIS creating individual layers for unique attribute in a given feild. Limitations of Where Clause

I am putting together some code that makes a layer for each unique attribute within a given field. So if I had a shapefile that contained point data for locations of say postboxes in every city , for ...
0
votes
1answer
23 views

QGIS add layer not working

I have QGIS 2.8. I open up the database manager, connect to PostGIS, and then execute a query. The resulting query has an id column, a name column, a geom column, and a membership column. I click on ...
0
votes
1answer
25 views

CMV LayerControl configuration

I've been reading through the help and readme.md and playing with the configuration options for the CMV LayerControl and I'm pretty confused by the possibilities. It seems to me there are at least 2 ...
1
vote
1answer
50 views

Add layer to mxd files ignoring specific item- arcpy

I try to add layer (abc) to several mxd files with arcpy and ignoring mxd file which called "land use" . I work with arcview 10.3 : import arcpy,os,sys,string,datetime import arcpy.mapping from arcpy ...
3
votes
1answer
29 views

How to remove a feature from a layer created with “Make Layer From Selected Features”?

In ArcGIS desktop, I select some features from a feature class (say with the "Select By Location" function), and then right-click and choose "Selection--> Make Layer From Selected Features"(online ...
0
votes
1answer
41 views

Select by location-arcpy

i work with arcview 10.3 on 20 mxd's (each mxd has 25 layers) and i try to do select by location (with arcpy) and want to see a layers that are visible in the current map extent only. All Other layers ...
-1
votes
0answers
41 views

Data on European countries?

I am looking for any spatial data in the following cases: Spain (Cortes de Pallás 2012 wildfire in Valencia), Sweden (Vastmanland wildfire 2014 area), Netherlands (Strabrechtse Heide 2010 area) and ...
0
votes
0answers
15 views

Need to add an Image over my map

I am working on loading an image from my computer on my map. Using map.addLayer(). No example of ol3 is of help. Can anyone please help me with adding an Image in a layer over the ol3 map?
0
votes
0answers
18 views

Feature Rotation Exception

I am getting an error when I try to change the value of a feature's Rotation Value. I have a schematic feature that I would like to rotate by changing the field's ROTATION value, but everytime I try ...
0
votes
2answers
58 views

How to remove layers that are not in visible df extent

I am working on ArcMap 10.3 and I have a map with 50 layers in it. I am trying to check if layers are in a data frame. Unlike How to check if layers in a dataframe with Arcpy, I want to define the ...
1
vote
0answers
18 views

“No data available” on hover

I have the following map: https://aressk.cartodb.com/viz/408dd3ea-deea-11e4-9d17-0e9d821ea90d/embed_map It has two layers. On the Waypoints layer, I have Hover turned on for the Info Window. On the ...
1
vote
1answer
36 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 ...
0
votes
1answer
38 views

How to add graphics to map at lowest level?

I am able to create graphics and add them to the map, but they are getting added as the top-most layer. The labels (if active) of another layer get hidden due to this. I want to know how to add ...
0
votes
1answer
44 views

GIS information on worldwide cases of wildfires?

I am developing some case studies on wildfire cases around the globe, some examples include California (2007), Australia (2009), Moscow (2010), Valparaiso in Chile (2014), and so on. I was wondering ...
0
votes
1answer
27 views

How do I take a contour .shp file and create a separate layer for each elevation?

The end result is to have a .dxf file in which each different elevation resides in a different layer. If at all possible I would like to be able to do the organizing in tile mill, or through some ...
1
vote
2answers
46 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 ...
0
votes
0answers
34 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
71 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
61 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
35 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
88 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
23 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
7 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
84 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
48 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
83 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
22 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
25 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
20 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
1answer
77 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
45 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
62 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
17 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
46 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
37 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
40 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
49 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
34 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
41 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
66 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
70 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
58 views

Cause of ERROR 000732: Input Layer: Dataset plan does not exist or is not supported?

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
29 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 ...