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
73 views

Giving line features of same layer different colours

I have one layer and there I have different lines. Imagine these lines are pathes of persons. So image a person x and y. And I now want to differ them by just watching on the different colours of the ...
0
votes
1answer
30 views

Openlayers cluster stragegy total count

How can I get total feature count of vector layer: var mylayer = new OpenLayers.Layer.Vector(null, { "protocol": myWFSProtocol, "styleMap": style, "strategies": [ ...
0
votes
3answers
65 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 ...
0
votes
0answers
27 views

Selection layers ie selection by location or attibute. Are selections retained when the data source is updated

I have a several large feature classes , that are over a large area. I am only interested in an Area of Interest inside the this area. So I have used an Area of interest shapefile and used this as the ...
1
vote
1answer
51 views

How to create a layer from existing attribute data of another layer?

I am using Arc Map 10.2 and I have a shapefile consisting of parcel data. I would like to create a shapefile/layer from the existing parcel shapefile by using a table that consists of a list of ...
1
vote
1answer
79 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
62 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
49 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
73 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
52 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
47 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 ...
2
votes
1answer
448 views

Define spatial reference of layer in ArcGis JavaScript API

I get an error "Map: Geometry (wkid: 3301) cannot be converted to spatial reference of the map (wkid: 4326)" when I want to add only graphics layer. I found that spatial reference for a map is defined ...
0
votes
1answer
39 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
121 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 ...
2
votes
1answer
168 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 ...
1
vote
1answer
76 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
54 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
117 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 ...
0
votes
0answers
26 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?
2
votes
2answers
266 views

How to query postgres with gis to get GeoJSON for GeoJSON tile layer?

I have a postgres database with one table like the following: CREATE TABLE post_pl ( gid serial NOT NULL, zip character varying(5), zip_n integer, city character varying(50), geom ...
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 ...
7
votes
2answers
7k views

Using Google Maps as layer in ArcMap?

Can I use Google Maps as a layer in ArcMap? Is it possible?
0
votes
2answers
83 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
1answer
121 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 ...
0
votes
1answer
81 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 ...
1
vote
1answer
74 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
53 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
63 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 ...
2
votes
2answers
632 views

How does Leaflet layer ordering work with CartoDB layers?

All, I'm trying to figure out how Leaflet layer ordering works when you have layers coming from CartoDB. I have a map with 1 polygon layer (cartodb), 3 point layers (cartodb), 1 basemap layer ...
2
votes
2answers
416 views

Using Qt Designer to Create a Form in QGIS that can search for a specific point in a layer

I would like to ask if you can create a form in Qt Designer to create a form that can search for a point on the map using data that the user will provide such as the Name. I am currently creating a ...
1
vote
2answers
63 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 ...
3
votes
2answers
692 views

How to get layer type in OpenLayers 3?

I would like to iterate through all of the added layers in an ol.Map instance and only select the vector layers. So far I could get the individual layers with the a property of the resulting object of ...
0
votes
1answer
359 views

OpenLayers 3 - Monitor layer loading progress

I'm doing an upgrade from OpenLayers 2 to OpenLayers 3. In OL2, I was monitoring the loading progress of layers with their loadstart and loadend events. With grid layers I was even able to show a ...
2
votes
1answer
150 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
62 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 ...
7
votes
2answers
237 views

Load third-party APIs only when the corresponding map layer is requested?

OpenLayers allows multiple map layers to be hosted on a common platform. If the map application supports a wide variety of maps, say from Google, Yahoo and Microsoft, I find that upon initialization, ...
0
votes
1answer
70 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 ...
1
vote
2answers
140 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 = ...
1
vote
2answers
186 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
53 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
3answers
98 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
0answers
24 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
115 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
143 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
1answer
116 views

Problem with snap layer when in name is space

I'm trying to make a option, where user can choose layer to snap. All is okey when layers names are without space, but if in name is space (like 'something layer name') snapping does not work. How can ...
1
vote
0answers
35 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 ...
0
votes
1answer
32 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
21 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
2answers
115 views

How to specify one layer among many with getWMSInfo?

I am using getWMSFeatureInfo with multiple point layers. When I click on a point on map, how to specify which layer that point belongs to?
3
votes
1answer
110 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 ...