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
2answers
19 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.
1
vote
1answer
310 views

Turning off all layers in MXD using ArcPy?

I tried this standalone script to turn off all layers in the MXD: print "This script turns off the following layers:" try: arcpy except NameError: import arcpy mxd = ...
1
vote
0answers
15 views

Geotools : Getting currently click layer from MapLayerTable

I've added a MapLayerTable to my application, and I'm loading multiple layers using shape files successfully. Now I would like to select features on the map of the selected layer. For this, I would ...
0
votes
0answers
11 views

ILayerFile.Open - The maximum record length has been exceeded

I have been able to use ILayerFile layerFile = new LayerFileClass(); layerFile.Open(layerFilePath); with out any problems until it just started giving me an error. Error: -2147220646 ...
4
votes
2answers
1k views

Setting layer visibility in QGIS Python API

Im having a problem toggling the visibility of map layers in pyqgis (2.4). I have a simple interface, just the map canvas, no legend, and basically a radio button that toggles between two raster ...
2
votes
0answers
18 views

Trigger event after KML Layer completely loaded

I want to set the bounds of my map after a Vector (KML) Layer is loaded. kmllayer.events.register('refresh', kmllayer, function(evt) { map.zoomToExtent(kmllayer.getDataExtent()); }); In the ...
1
vote
0answers
23 views

Clip Layer Stack

I layer stacked the Landsat 8 Bands (1-7) in QGIS and made a polygon shapefile. Every time I try to clip my layerstack with the Mask layer I just get a completely black output raster. I want to use ...
1
vote
1answer
68 views

Looping arcpy.mapping.updateLayers()?

I've got some problems with the following code, found on this answer to Is there a way to auto-update symbology between .mxds for the same shapefile? (Python?): import arcpy.mapping as mmap mxd = ...
2
votes
1answer
2k views

How to overlay roads layer on top of all layers in OpenLayers?

I want to put roads layer (from any source, please recommend some..) on top of my KML polygons and base layer: baseLayer = new OpenLayers.Layer.WMS("OpenLayers WMS", "http://labs.metacarta.com/wms/...
1
vote
0answers
61 views

arcpy symbologyType is always OTHER, but I need UNIQUE_VALUES

I am trying to load a TIF file to the mxd using arcpy, then add a definition file to map colouring. For one layer I have the problem, that the amount of values will always be different, sometimes it ...
5
votes
0answers
211 views

Is there a limitation on the numbers of layers that can be displayed in QGIS?

I have been looking for an answer to this question for the last several weeks, so hope that someone here has encountered the same issue and has a viable solution to my problem. I am currently using ...
0
votes
0answers
21 views

Draw nearest points for specific point-line couples

I have a network made of several segments and some nodes located in the map. What I want to do is to choose individually a couple node-segment and find the location of the closest point to the node ...
1
vote
1answer
949 views

Why does arcpy.mapping.Layer give Runtime error: CreateObject Layer invalid data source?

I want to connect an existing .lyr file to a variable defined as lyr2. lyr2 = arcpy.mapping.Layer(r"C:/Iso100Red.lyr") Although its a .lyr file I´ll get this Errorcode: Runtime error : Object: ...
1
vote
1answer
81 views

ArcGIS 10 arcpy to add a WMS Service to MXD

I want to batch insert WMS layer to my arcmap MXD project with python/arcpy script. Some issues has been unanserwed, here my "state of art": ESRI IDEAS ESRI GeoNet community #1 ESRI GeoNet ...
2
votes
1answer
35 views

Get layer's “Feature Type Details” using geotools

I'm trying to do something like this: Check Geometry Type of a Shapefile Using GeoTools? ... but getting from a layer (Shapefile source) in Geoserver. In short, how can I get the data from this ...
4
votes
1answer
1k views

Extracting donut holes as separate layer in QGIS?

Does anyone know how I can extract the holes in a polygon layer as a separate layer in QGIS? An example could be a country with a number of lakes cut out of the polygon - I need the lakes.
26
votes
3answers
4k views

Organization and tidiness of multiple copies of layers? [closed]

Back in the days when I was in the university I had a "Organization and tidiness" problem – I was unorganized and kept my layers in different folders without distinct names and hence had multiple ...
6
votes
1answer
61 views

How to recursively get all lyr file properties from a group layer on disk

I'm writing a python script tool that will recursively search through a folder and all subfolders and find all .lyr files. Ultimately, I'm writing a CSV file which contains the path of the .lyr file, ...
1
vote
1answer
54 views

How to create dynamic text in ArcPy that recursively reflects the exported layer name from a list of layers

I have a script shown below with the help from @Midavalo that exports irrig_0, citylyr, boundlyr as a GIF. Once this is done the script then exports irrig_1, citylyr, boundlyr as another GIF and so on....
1
vote
1answer
38 views

I only know how to turn off the entire current layer. But I want off only some of the layers specified

I only know how to turn off the entire current layer. But I want off only some of the layers specified #turn all layers in current map doc on: print "Button2--turn on layers" mxd = arcpy.mapping....
1
vote
1answer
31 views

Simple answer: Difference between a dataset and a map [duplicate]

For a project I am involved in, we are creating a dataset that will show the extents of natural areas and provide an estimate of the ecological integrity of that area. We are calling it an "Ecological ...
1
vote
0answers
31 views

Avoiding lost layers when using QConsolidate?

I want to save all the files in my project and the project file locally on my computer. The files are currently saved on a external hard drive. I have tried QConsolidate before, and it worked, but ...
0
votes
0answers
28 views

Right mouse button on Layer

I used QGIS in "Lisboa" and "Dufour" versions. From when I first updated to "Lyon" and then to "Essen", in "Layer Orden Panel" I no longer work the functions associated with the right mouse button to ...
3
votes
1answer
251 views

Startup python script to re-join layers in QGIS?

In QGIS 2.2, there is a bug which involves using the JOINS properties on a vector layer (that is already being joined with several other vector layers) whereby the attributes are not fully loaded. ...
1
vote
4answers
73 views

When opening dwg files are there hidden fields by default in Layer Properties of ArcMap 10.3.1

There is a lot of fields in Layer Properties that are hidden by default when I open dwg file in ArcMap 10.3.1. Is there some properties that define which fields are visible in Attribute Table and ...
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
33 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
37 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
55 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
286 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
168 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
321 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
35 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
61 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
450 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
71 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
736 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
53 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
89 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
20 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
89 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
21 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
81 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 ...