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

creating a new layer/selection based on the conditions in Python script? [closed]

Is there any easy way how to write a python script, which would create a new layer based on location from a border line and "if" condition? I have two layers A and B, both are made of several ...
2
votes
2answers
34 views

Printing selected Region of map with several layers in QGIS?

I creaetd a map with 6 vector layers (each is a .shp-file), the geometry type varies: 4 are polygons, 2 are lines. I would like to print a region - to be specific approx. 20 individual regions - ...
1
vote
0answers
15 views

How to control layer visibility in the Map Composer Overview map? [duplicate]

I wonder if it is possible to choose which layers would be visible in the Overview Map loaded in the Map Composer. Note that this is already possible for the Overview Panel in the QGIS Desktop: for ...
0
votes
0answers
38 views

Comparison of polygon geometry of 2 layers (ArcEditor)

I´m facing the following Issue: I´m trying to find changes between 2 continuous polygon layers. Polygons that need to be compared dont have matching IDs - to explain, I have polygon X and polygon Y ...
1
vote
1answer
58 views

MySQL database layers invisible in QGIS

I'm encoutering a problem when connecting a MySQL database to QGIS. When the connection is established and a layer is imported, the layer itself will not render and thus isn't visible. The layer ...
1
vote
1answer
298 views

How can I change layers visibility while I zoom in GeoServer?

I want to change layers visibility while I zoom , here are my screenshots. where is my error ?
0
votes
0answers
13 views

How to re'display feature after using my 'filterFeature()' function?

The code below is a function that hides a certain region in the map. The problem is that I can't redisplay it. I've tried by removing this line: wfs2.features[i].style = {visibility:'hidden'}; but ...
1
vote
1answer
182 views

OpenLayers 3 Layer Visibility Checkbox

This JSfiddle example currently changes the visibility of a layer using two individual buttons. However, i want to change this to just one check-box, the check-box in this case has been styled by ...
1
vote
0answers
325 views

Layer set visible

I add this layer like this: var POIData = new esri.layers.ArcGISDynamicMapServiceLayer("https://mysite.com/ArcGIS/rest/services/POI_Data/MapServer"); map.addLayer(POIData); ...
2
votes
1answer
38 views

How to display street names from OS StreetAny layer?

Using QGIS version 2.10.1-Pisa. I have imported layers from an Ordnance Survey data set. I have a layer called 'Street any' which gives me the boundaries of the streets which I can see. I can see ...
1
vote
2answers
609 views

Arcpy: replaceDataSource, cad_workspace

I am having trouble replacing the data source on CAD files using arcpy. Everything I have tried runs into this error: Runtime error type 'exceptions.ValueError' : Layer: Unexpected error Here is a ...
-1
votes
1answer
66 views

Apply same symbology to many raster layers in ArcMap?

I have many TIFF files (100+) that need to have the same symbology using the unique value option. Is there a quick way in arc 10.3 to do this?
2
votes
1answer
40 views

MXD defined symbology not retained

I'm trying to create some layers from feature classes located in the geodatabase. The MXD is created, symbology on feature classes defined within ArcMap, but for some reason my symbology is not ...
1
vote
2answers
3k views

Adding time enabled layers to ArcGIS online

I am trying to add time enabled layers into ArcGIS online. The information in the ArcGIS resource center makes it sound like it is possible to add time enabled layers from ArcMap to ArcGIS online. I ...
1
vote
1answer
471 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 ...
4
votes
1answer
73 views

Making multiple layers editable in QGIS?

I am using QGIS and I want to eliminate fields from 300 shapefiles. All layers are loaded and selected. Is there a way to enable all 300 for simultaneous editing?
0
votes
1answer
751 views

Arcgis SDK for Android - Query multiple feature layers

I'm developing a android application with arcgis sdk. I have a basemap and then 4 different feature layers on top of it. I began with the arcgis sample "attribute editor" and removed the edit ...
1
vote
1answer
135 views

Finding later added data from two layers in QGIS or ArcMap?

I have two layers which consist of 2010 and 2011 years POI. And in QGIS I want to find which POI have been added new in 2011 data. Or can we get result from ArcGis or any other tool?
0
votes
1answer
54 views

How to add multiple text elements in ArcMap using ArcPy

I've been able to add a dynamic text element (with an element name of 'TestName') that reflects a layer name and that changes for each corresponding exported layer to a GIF. I am now trying to add a ...
3
votes
1answer
92 views

Writing a custom function in QGIS to rank features

I have written the following custom function in python for QGIS, cobbled together from various sources. The aim is to use it in the expression editor to return the rank of each feature based on the ...
1
vote
1answer
22 views

Rename a Layer inside CartoDB

I would like to simply rename a layer inside CartoDB. I see buttons for the SQL Query, CSS code, and some HTML... but I don't know where to put my code. setLayerName('Test')
0
votes
1answer
93 views

Select by location using ArcPy

I try to select by location all layers that intersect layer named "frame", and then remove from the maps other layers that don't intersect it. Finally, i want to print the all the removed layers and ...
1
vote
1answer
22 views

Keep Unhandled layers in QGIS

I saved a .qgs file with home server postgis layers. Had to work remotely, but will lose unhandled layers upon opening the file. I can connect to these through my GeoServer, but I'm going to lose my ...
1
vote
1answer
55 views

Joining multiple polygons inside a single polygon in QGIS

I need to somehow "join" information from two shape files: zoning - these are large polygons indicating the zoning code for a moderately large area, typically hundreds of separately owned parcels (...
2
votes
1answer
83 views

Issues with toggling layers with mapbox.js

I am having issues with toggling map layers with mapbox.js. Using the code from [https://www.mapbox.com/mapbox.js/example/v1.0.0/layers/] it pulls the basic mapbox base maps ex. mapbox.outdoors or ...
1
vote
1answer
56 views

How to export specified layers in ArcMap using ArcPy

I am trying to export specific layers from an ArcMap .mxd. From the TOC below I would like to export "irrig_2, citylyr, boundlyr" as a GIF. Once this is done the script would then export "irrig_1, ...
0
votes
1answer
120 views

Does leaflet support user defined Layer identifiers

It would be nice to be able to check for a layer presence or remove it without having to keep an explicit reference to it. To that extent I would like to use ad id for the layer that I can compute ...
2
votes
3answers
14k views

Merging Two or More Layers using ArcGIS for Desktop?

I am working with three clipped layers that are shown in the TOC. I created these layers from a large watershed shape-file. However, each clipped layer includes the layer before it and only expands on ...
1
vote
0answers
61 views

Merging Layers and assigning different values [duplicate]

Possible Duplicate: Merging Two or More Layers I am working with three clipped layers that are shown in the TOC. I created these layers from a large watershed shape-file. However, each clipped ...
0
votes
3answers
201 views

Creating layers for each attribute value via Arcpy script

I'm having some trouble starting this script. Not sure how to start, as I have to create/output layers for each attribute value from a certain column named that has integers. They are all unique ...
2
votes
1answer
41 views

lyr.datasetName works with “CURRENT” mxd but not with mxd path

I have some mxds in wich I want to set all the layers a layer description. This works as far as I use the code with current mxd, but if I give a path it has no results, and I also don't get any error ...
3
votes
1answer
460 views

Removing WMS layers from mxds using ArcPy?

I'm trying to remove WMS layers from an mxd using arcpy. I can successfully remove "MapServer" type services using the below code, but not WMS? Here is an example mxd (zipped) with two different WMS ...
0
votes
0answers
49 views

How to change the color of a polygon in ArcPy?

I am trying to write a script that changes the color (fill and outline color) of a single polygon in a layer using ArcPy. Is this possible without importing properties from a reference layer file ...
5
votes
3answers
7k views

How do I add my own map layers to Leaflet

I have a Leaflet map and want to add two of my own small polygon layers (currently in shapefile format, but they could be converted to GeoJSON). Can this be done without a mapserver to publish them ...
1
vote
1answer
27 views

where are the rasters that make up a layer?

I used raster calculator to add up 12 rasters made up of 0's and 1's to make a fire frequency map. Then I saved the output as a layer (lyr). However, I need the raster output. Did I add it up wrong,...
0
votes
1answer
22 views

How to know the date of adding specific layer to a map in ArcGIS?

Is there a way of knowing when specific layer have been added to MXD file? I work with MXD file with three layer with the same name: "polygon": i searched in the source tab (in the layer properties)...
1
vote
1answer
66 views

Use spatial queries on multiple layers in QGIS

Is there a way to perform spatial queries on multiple layers in QGIS without going through an external database? I would like to perform SQL-like queries on layers imported in QGIS directly, but can't ...
0
votes
1answer
53 views

Spatial selections using Python in ArcGIS

I am trying to perform a spatial query using Python in ArcGIS, here is my code: I'm getting the following error: Traceback (most recent call last): File "C:\Users\acarr\Documents_PYTHON ...
0
votes
0answers
64 views

Display Leaflet WMS Layers from same source on different panes

I am using the Leaflet WMS plugin to add in layers to my map via a WMS. I have the following code below that adds all of the layers using the same source but as separate layers. However, I want to ...
3
votes
0answers
515 views

How to load the default layer style from Postgresql with Python?

I would like to write a python macro that upon opening my QGIS project file will reload the default style for each layer from the postgres 'layer_style' table. I have had a look at the documentation ...
1
vote
1answer
50 views

Finding layer file used to add layers to MXD in ArcPy?

I work with layer that located in G:\PROJECTS\bneyAyish\gis\lyr\New File Geodatabase.gdb\polygon, and I created a layer file and located it in G:\PROJECTS\bneyAyish\gis\lyr under the name "indisLabel":...
-1
votes
1answer
227 views

Cartodb Toggle Layer help

I am working on a map that i'd like to toggle 1 layer off/on. I followed this http://academy.cartodb.com/courses/03-cartodbjs-ground-up/lesson-2.html tutorial and it worked fine(w/ their data) and i ...
4
votes
2answers
150 views

How can you align two shapefile layers in QGIS

I am a very beginner with QGIS. I would like to know how to align two shapefiles in QGIS. The image below shows the mismatch:
0
votes
0answers
20 views

Layers do not overlap [duplicate]

I am new to ArcGIS. I have some layers. Three of them perfectly overlap and the fourth does not. I have tried with the Projection tool and I have tried so many things and nothing. When I check the ...
2
votes
1answer
419 views

ArcPy replaceDataSource to ArcSDE raster catalog error?

I am new to Python. I'm trying to re-path a multitude of rasters currently the workspace is a folder, the intended workspace is a raster catalog in an SDE database - using the replaceDataSource ...
1
vote
0answers
23 views

Qgis, resolve bad layers

How to resolve bad layers and locate files on my computer?
1
vote
1answer
69 views

Is it possible to map a leaflet provider (precipitation) on top of a polygon in an interactive map?

I've just started using the leaflet package in R to create interactive maps and I'm wondering if it's possible to plot one of the leaflet providers on top of a plotted polygon rather than under it as ...
3
votes
0answers
32 views

gdal_translate multiple GDAL_PDF_LAYERS_OFF entries gives error

The documentation says that GDAL_PDF_LAYERS_OFF takes a list of comma separated layers. Examples look just like what I am trying to do. Executing the following gives an error FAILURE: Too many ...
2
votes
1answer
54 views

(Geotools) Get 2 Selected Layer out of the MapTableLayer

I have a Method that calculates the Area of 2 Layers of different topologic Relations, which needs 2 collections. In the Button where I use this method, I want to get just 2 of the selected Layers in ...
0
votes
1answer
33 views

Arcpy - LayerList - Count/Length [closed]

I use arcpy to load all layers in the current map document, and I need all layers but not the last one (this is my layer for the symbology template). How can I access the length or count of the ...