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
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 ...
4
votes
3answers
591 views

Is there easy way to get layers names from WMS server?

I've been looking for information on how to get layers names from certain WMS servers, but I didn't find any. E.g. I have this server: http://sdi.geoportal.gov.pl/wms_prg/wmservice.aspx and I want to ...
1
vote
0answers
40 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 ...
5
votes
2answers
2k views

What is Python equivalent of ModelBuilder's Iterate Feature Selection?

My data consists of two featureclasses: Points = points representing trees Polygons = Polygons representing % canopy area by area. Each polygon in the FC has a % canopy measurement in the ...
0
votes
0answers
106 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) { ...
3
votes
3answers
398 views

How do I rename Shapefiles in QGIS?

I have a huge list of layers in a project that are named in a foreign language. I want to translate and add the English title to the name. When I right click on a layer and choose Properties -> ...
3
votes
1answer
330 views

List Elements or Datasets of a given Layer

I am sorry of this might sound like a noob question but I cannot find any answer from google. I used arcpy to do batch processing of Network Analyst - Make Service Area layer of thousand of stores. ...
0
votes
0answers
50 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
28 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
81 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
27 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 ...
5
votes
1answer
184 views

How to convert PostGis Table (Grid data) to Continuous field using Qgis?

I'd like to transform my Gridded Layer (generated form a PostGIS table of points) to a continuous and colored layer. How could I do this with Qgis or any other program?
0
votes
1answer
95 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
44 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
107 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 ...
7
votes
2answers
335 views

How to load a raster layer at the top of the QGIS ToC?

The following code inserts my new_layer just above the active layer in the QGIS ToC. new_layer = iface.addRasterLayer(...) Instead, I'd like my new_layer to be inserted at the top of the QGIS ToC. ...
3
votes
1answer
1k views

How to perform a true GIS clip of polygons layer using a polygon layer in R?

I would like to do a true GIS Clip in R of soils polygons using a series of single boundary polygons, but I cannot find an R function to properly do it. It should work just like the CLIP function in ...
6
votes
1answer
435 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
1answer
78 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: ...
0
votes
3answers
72 views

Trigger event on right-click

I want to, on right-click on a feature in a layer, have an action execute. I need to know 1 thing: What layer was right-clicked. Does anybody know how I can get this functionality? The API doesn't ...
2
votes
1answer
80 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 ...
2
votes
2answers
259 views

Save a layer for each unique value using Python in QGIS

I have a map, in which each region is defined as an attribute of the map (I can select each region from the attribute table). I am trying to create new layers each one containing only 1 region using ...
1
vote
2answers
254 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
97 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
32 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
219 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
2k 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
119 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
77 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
2answers
130 views

add featureset in graphics layer without iterating

I have a geoprocessing service that returns a large amount of features (featureSet). I want to attach them in a graphics layer, but I dont wont to iterate over all them. I tried using the ...
0
votes
1answer
37 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
105 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
229 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
91 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
110 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
91 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
58 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
75 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
33 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
179 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
250 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
43 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
25 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
989 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
130 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', ...