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
2answers
280 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
109 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
40 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
248 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
4k 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
121 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 ...
-1
votes
1answer
79 views

Layers Question

I'm currently mapping with a free account on CartoDB but I've run into a roadblock. I need to add multiple visualization layers onto my map but the free account limits me to merely four. Is there any ...
0
votes
1answer
38 views

creating a new layer based on colour characteristics

I have 14 polygon layers. I have plotted them as transparent layers, so I can get a final layer with 6 different colours, which represent different categories. I want to create a new layer made by the ...
1
vote
2answers
107 views

How to disable “Simplify geometry” via Python?

After I've loaded a layer from a table in my db I'd like to disable the 'Simplify geometry' (found in Layers/Properties/Rendering) programatically using Python. I've tried several versions of ...
1
vote
1answer
232 views

How can I change SQL query through a layer of an action (python)? [closed]

I have three layers from three diferent database tables. When I click in other layer I want to change (with an action) the query of that three layers. How can I do that? Thank you
2
votes
2answers
99 views

Merge layers and fill gaps

I have 14 layers, which are polygons. They represent the channel of a river at different periods. I need to fill the gaps that exist once I overlay the polygons, but I can't change the properties of ...
4
votes
1answer
113 views

Comparing floor and roof areas using QGIS?

I am pretty new in this GIS topic and I would really appreciate if someone can help me with this problem. I am doing a research for university that shall show the available roof area for ...
2
votes
0answers
97 views

Error when running Python script to replaceDataSource of multiple layers in multiple mxd's

I looked on all of your sites and did not find a solution to my problem. Almost all of our data has been copied to an SDE and now most of the layers in all of the mxd's need to be redirected to the ...
10
votes
7answers
8k views

How to georeference a vector layer with control points?

I have a non-georeferenced vector layer that I need to be georeferenced. With raster layers the task is easy and straightforward, but I have no idea what should I do with my vector layer. I have a few ...
0
votes
1answer
59 views

Search layer in MXDs

I work on arcview 10.3 and i try to find layer called "ways" in several mxds. i try this code but it does not work. anyone know how to do it?: import arcpy,os,sys,string import arcpy.mapping from ...
4
votes
2answers
4k 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
81 views

Adding shapefile layers in QGIS causes previous layers to disappear

This is my first time having such trouble, but I'm only a casual user. I have a base raster layer of the school I work for and I've been adding vector shapefiles on top of that in separate ...
1
vote
0answers
35 views

Adjust Geoserver home page just to WMS service

I want adjust my first Geoserver home page(Before logging in) just to WMS service! Can anybody help me please?? Thanks.
0
votes
0answers
189 views

Error with GeoExt.data.WMSCapabilitiesStore + gx_wmslegend

When I use this code (code in bold means for comparison between codes): // create a new WMS capabilities store store = new GeoExt.data.WMSCapabilitiesStore({ url: ...
0
votes
0answers
280 views

ogr2ogr - extracting S-57 layers

I'm trying to extract the layer DEPARE from an S-57 datafile and convert it into a shapefile. I'm using ogr2ogr from OpenGeo Suite 4.5 (GDAL 1.11.1) on Windows 7 64 bit. The problem is that when I ...
1
vote
0answers
44 views

Setting KMZ layer visibility

How do I set the visibility scale for a line KMZ created from ArcMap (Layer-to-KMZ). I'm sure I would have to go into the KML code and add, but add what. That is to say as I zoom in and out using ...
1
vote
0answers
26 views

How to add on click information on places in any layers in OpenGeo Suit 4.5?

I recently installed OpenGeoSuite 4.5 and I am very new in to it. I uploaded my .shp file in it and it showing that layer currently. Now I want to add some information(name and a little info etc) of ...
2
votes
2answers
1k views

Openlayers - Get Type of Layer

Is there a way to get the type of all the layers in an OpenLayer maps object? What I am trying to do is iterate over all the layers in my OpenLayers map object and populate a dropdown list with the ...
1
vote
1answer
136 views

How to update projection of layers in Geoserver using gsconfig

Im using following code to find projection of layer from geoserver.catalog import Catalog cat=Catalog("http:// localhost:8080/geoserver/rest") myResource = cat.get_resources(store='storeName', ...
1
vote
1answer
56 views

Layer toggle disappears leaflet

I'm having a bit of trouble finalizing a project I'm working on. When I upload my map to filezilla, my map layer toggle doesn't show up: before uploaded: after uploaded: Does anyone have any idea ...
1
vote
0answers
123 views

Download layers from arcGIS online in python [closed]

How can I get layers/maps from arcgis online in Python? I mean to download layers from Arcgis online in python, just like publishing. I've searched about it in the documentation of Arcgis 10.2.2, but ...
1
vote
0answers
81 views

Geocoding Result layer does not show up in ArcMap?

http://i.imgur.com/XF5iQN4.png Everything was going fine until I geocoded the addresses. The addresses were all matched, but the Geocoding Result layer wouldn't show itself on the map. There should ...
2
votes
1answer
103 views

QGIS - Save not working after copy-paste between layers

I am trying to copy points from one layer to another in QGIS, both shapefiles, both with the same schema, both point files, both with the same Coordinate Reference System. The shapefile was originally ...
3
votes
0answers
84 views

Sourcing free live traffic layers to use in MXD of ArcGIS Desktop?

I am looking for free live traffic layers for an ArcGIS Desktop 9.3 MXD. My searches haven't been that successful.
11
votes
3answers
5k views

How can I iterate over map layers in QGIS python

I'm having trouble figuring out how to iterate over map layers. I can access the currently highlighted layer in the table of contents via iface.activeLayer() but I want my code to operate on all ...
4
votes
1answer
170 views

Working with AutoCAD Layers in ArcMap

I am following the ArcGis10.0 desktop help to bring cad data into ArcMap but I'm having trouble accessing the Autocad layers set up in the Autocad file. I am: using the add data to reference in the ...
1
vote
1answer
84 views

python script to retrieve names and scale range from an ArcGIS MapServer url

i am pretty new at ArcPy. i need to write a python script to retrieve names and scale range from an ArcGIS Map Service url. i had a look around json and url2lib but i am lost. I want to retrieve the ...
0
votes
1answer
84 views

How can I join a buffer layer to the layer it was created from?

I have two relevant layers for this problem: Real estate parcels (point data) Multiple ring buffer layer - contains multiple buffer rings around each particular real estate parcel. (0.5, 1, 1.5, ...
0
votes
1answer
129 views

How can I enable a file to be edited if ArcMap won't let me edit it already?

I have two wetland layers. One file downloaded from the National Wetland Inventory and one from the U.S. Fish & Wildlife Services. Both layers were downloaded through MassGIS's Online Mapping ...
1
vote
2answers
739 views

How to avoid “Handle bad layers” message when using QGIS Flowmapper plugin?

In QGIS, if I close a project and try to open it a few days later I often get a message that says "Handle bad layers". This is very frustrating because when I open the project various layers will have ...
0
votes
1answer
1k views

Get layer name by click on features OpenLayers3

I want to add selec interactions to my OL3 map. Adding two different select interactions like this is not working. Only the second one works. Like this: var select = new ...
0
votes
2answers
76 views

SQL filter to show one layer only if another layer is missing

I have two oracle tables that represent buildings in my town. The first table represent buildings that are surveyed and measured accurately but doesn't cover all the parts of the town while the second ...
-1
votes
3answers
197 views

Insert layer file to specific data frame

I have a folder that contain mxd's projects. Each mxd has 3 and more data frame. I want to insert layer file to a specific data frame with position in the TOC. I don't know how to do it. I'm trying ...
1
vote
1answer
31 views

Easiest way to add layers to QGIS [duplicate]

I have OSM data that I've loaded into a Spatialite database now what's the easiest way to get it to look like OSM? I shouldn't have to add and style each layer individually but I can't figure out what ...
2
votes
2answers
129 views

Creating sub sections (groups) of layers in QGIS?

I am working on a project regarding Fish species and fishing methods with many layers. This creates confusion. I would like to create layer sub sections (groups) like the following: Fish Species ...
0
votes
3answers
411 views

how do I group layers in QGIS 2.4.0 [duplicate]

As written in the Title: How do I group layers in QGIS? I have tried dragging them on top of each other and looked in the layers setting but could not find anything.
4
votes
4answers
518 views

Why does the layer list context menu not open anymore?

I cannot access layers properties (i.e. change color, filter by query, anything). The mouse right click doesn't do anything. Is there a way restoring qgis to default? Ubuntu 12.04, QGIS 1.8
1
vote
1answer
79 views

Change Data Source of Raster Layer Added to Map Display? Unexpected default

I have a script that I'm using to generate raster maps and automatically add them to the map display, but when they are added they are sourced to a temporary location. I use the same code for ...
2
votes
1answer
593 views

Code works on python console in QGIS but same doesn't work in stand alone script

I'm trying map rendering with stand alone script, so I have small script which works fine in python console provided QGIS, however when I run same code in stand-alone script it executes without error, ...
1
vote
1answer
68 views

QGIS 2.4: copying of points to another point layer

in QGIS 2.4 it is not possible any more to copy points of a layer into another layer - I get the message: " Fehler: Objektschreibfehler: Objekterzeugungsfehler (OGR-Fehler: Attempt to write non-point ...
0
votes
1answer
147 views

Error Applying Symbology to Shapefiles

I'm trying to apply symbology to my dataset after it is populated to the map display, but I am getting the following error. Have I placed the ApplySymbologyFromLayer code incorrectly? Traceback ...
1
vote
1answer
49 views

Merged Layers turned into square shape cause by single layers in QGIS?

What I did is merged the 30 layers of the map (Isabela Map Province - Philippines) and below is what happened. How do i remove the inside map of the border? I'm new to QGIS and I'm using QGIS 2.4 ...