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)

0
votes
1answer
53 views

Hardwire definition query on layers in mxd VB.net

I am creating a tool that applies definition query to certain layers of the mxd. The user clicks the button and it should hardwire the definition query into the layer. This is useful if there are many ...
1
vote
1answer
70 views

Openlayers 3 - click under geolocation layer

I am using geolocation feature of Openlayers 3.13, as in the examples. (http://openlayers.org/en/v3.13.0/examples/geolocation.html) However I also have queryable point layers, and when I track the ...
10
votes
5answers
11k views

Remove feature layer using ArcPy script?

I have an ArcPy based script where I'm trying to intersect two layers where one layer must have its centroid in the other layer. Since I need to know that one layer (feature_layer below) includes ...
1
vote
0answers
47 views

External SLD file for OpenLayers [closed]

I'm creating a application with Geoserver, OpenLayers and Postgis. At some point, the user can select his own style for a layer. I've succeded to make a php script to write to a file the SLD code. ...
1
vote
1answer
146 views

How to iterate through layers of an MXD?

I know model builder will not iterate through the layers in an MXD, which is kind of fundamentally stupid if you ask me, but I still need to do exactly that. I am not a strong coder but i understand ...
11
votes
1answer
7k 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. ...
1
vote
2answers
60 views

Switching out layers but keeping the order the same (see figure) with ArcMap and Arcpy

I need to update the table of contents for a given .mxd by keeping a certain order but switching out the contents. I can bring in the new feature classes as map layers, and delete the old map layers ...
2
votes
1answer
75 views

Repoint feature layers from one SDE to another

I am trying to repoint layer (.lyr) files to a new SDE connection. In a test project folder I have two test layer files. When using lyr.findAndReplaceWorkspacePath() the script runs with no errors, ...
2
votes
2answers
107 views

AttributeError: 'Layer' object has no attribute 'listLayers'

I want to use the result of OD cost matrix for my further calculations. However, whne I try to extract the sublayer "lines" it returnes an error AttributeError: 'Layer' object has no attribute ...
3
votes
0answers
14 views

Problem Importing CAD features using arcpy.MakeFeatureLayer_management?

When importing multiple CAD drawings using "arcpy.MakeFeatureLayer_management" and "arcpy.Merge_management" I encountered a problem. Drawings that have line weights and elevation values assigned to ...
-1
votes
1answer
36 views

Locating and adding state layers to a QGIS map.

If I wanted to add layers for a state (Indiana) in a program like QGIS so I could produce several maps (Infrastructure, Water Resources, Mineral Resources, and HAZMAT concerns), how would I locate and ...
3
votes
1answer
67 views

Using Feature Dataset with ReplaceDataSource gives ValueError: Layer: Unexpected error?

I'm attempting to replace the data source of a unsourced layer with a mxd. The issue I'm having is that the Featureclass "APPL" is contained within a Feature Dataset. When the feature class is outside ...
0
votes
0answers
26 views

Can I overlay a CartoDB visualisation on Bing Maps base?

If I am using Bing Maps as my base map, can i overlay a CartoDB visualisation (that I created earlier) on top of it? If so how do I go about doing that? The example on the cartodb site only refers to ...
3
votes
1answer
69 views

Styling a shape file obtained from S-57 data

I have downloaded S-57 data for a particular region and intend to publish this as a layer in geoserver. To do this I used the ogr2ogr converter utility to convert S-57 data to a series of shape ...
2
votes
1answer
59 views

Getting selected layer name in QGIS Modeler

If I have a geoalgorithm in my model and I want the value from one the parameters, then how can I get it? For example I want the layer name in the parameter layer in below figure so I get the value ...
2
votes
1answer
48 views

Images in my Click Info box are not appearing in both published CartoDB layers

I'm using the simple web version of CartoDB. I uploaded two datasets, each is a layer and both have the same image URL type (URLS for .png Twitter account images). When I visualise the maps ...
2
votes
1answer
83 views

Virtual fields are lost when duplicate layers

I've just upgraded to QGIS 2.12.3 - and hoped that the issue which was really time-consuming in 2.12. <3 could have been solved ... On duplicating layer - with tons of joined tables and virtual ...
7
votes
1answer
167 views

How to speed up QGIS project opening with large point datasets?

I recently loaded a big point set (in terms of memory usage) in the QGIS project i'm working on. This layer is necessary for the project but it is not used often. Most of the time is turned off. The ...
1
vote
0answers
91 views

Sources for meterological data with high resolution

I was running Maxent on an endemic species of andaman and nicobar.But the climate data I have from worlclim.org ( tile number 29 ) is not of high resolution and thus I can't see the distribution ...
1
vote
0answers
47 views

Rename a empty layer that has been added to a group layer [closed]

Originally I was trying to add a empty layer that was stored on disk. That contained no data. I created the empty layer , by making a group layer within my mxd and then saving it onto a location on my ...
-1
votes
1answer
94 views

How to extract all pixel values in a raster file [duplicate]

I have a image difference from ArcGIS, which i have performed a remap function on. The layer is a temporary layer and does not have an attribute table, i need all the pixel values to do a frequency ...
2
votes
1answer
464 views

Get feature from two overlapping KML layers doesn't work

I did an implementation similar to http://openlayers.org/dev/examples/sundials.html The difference is that I have two or more kml layers at the same location and want to show their information ...
4
votes
1answer
3k views

Layer visibility using maxscale minscale not working

I'm using Openlayer and Geoserver. I have a series of layers that have a scale parameter like: 1:50000-1:25000 where 50000 is the max scale while 25000 is the minscale. I have a map like in this ...
1
vote
2answers
99 views

Count number of group layers or Layers inside group layer using ArcPy? [closed]

I am looking for a way of counting the amount of layers within a group layer I have an empty group layer inside my map and I am looking for a way of initiating a process if there are 0 layers inside ...
2
votes
1answer
1k views

Changing the name of layer using python

I am attempting to change the name of the layer. The following code changes the name of the layer but then removes the layer from the map, and I am not sure why. Note: I don't have any remove layer ...
1
vote
0answers
70 views

Arc Collector offline map - Copies of a map layer not downloading correctly

I have an Arc Collector project on the go and everything is working great except for one part of the offline mode. I encountered an issue with the offline version of the map displaying the layers ...
2
votes
0answers
79 views

Setting extent with python in QGIS in new project

Situation: I am trying to write a simple python script for QGIS. The script aims to load one layer, zoom to given coordinates, and 'place a pin' there. The coordinates will change every time I run the ...
2
votes
0answers
32 views

How to intersect layers that do not completely overlap in QGIS?

I have two layers in QGIS that I want to intersect in a specific way. On one side I have a layer of the different biotope types in the city of Berlin. On the other side I have a layer of the ...
1
vote
1answer
89 views

Can multiple point symbols be stored in one QGIS layer?

I'm new to QGIS, indeed fairly new to GIS systems in general. I have been asked to create about 20 small maps for a local historical society. The maps are for walkers to follow various routes passing ...
3
votes
1answer
58 views

Adding hover pop-up notes to map Arcmap desktop 10.3

I have a layer of points defining a variety of geologic features overlying a global map. I would like the user to be able to hover over a point and see a description of that feature. Hyperlinks ...
2
votes
1answer
296 views

Ordering Cartodb torque visualization over Google Maps heatmap layer

I am attempting to create a map with two layers: a CartoDB Torque visualization on top and a Google heatmap layer underneath. So far I have only been able to get them to draw in the opposite order ...
1
vote
1answer
124 views

hide unhide layers in leaflet

I want to hide somme layers when I click in a layer and resotore the visibility back after clicking out I tried with this code but it doesn't work here also the punker code Hide show layers var ...
0
votes
1answer
3k 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 ...
1
vote
2answers
62 views

Benefit of adding Metadata descriptions to layers using ArcCatalog?

I've tried adding Metadata to my primary shapefiles before using ArcCatalog, however, I don't know if this really adds anything professionally to my layers. Is Metadata and Layer description in ...
1
vote
0answers
41 views

QGIS polygonize tool not working [closed]

I am having a problem using QGIS ver 2.10.1 Pisa. I am trying to use the polygonize function on a raster .tif image, and it runs, but only produces a thin sliver of polygons at the top, then stops ...
6
votes
1answer
109 views

Establishing Default Query layer for Google Earth in “Map to KML” export from ArcMap?

I export a lot of maps for customers who request them from our office. Recently I have seen more and more requests for us to export our GIS into the .KML or .KMZ file type so they can be viewed on ...
0
votes
1answer
49 views

Adding Video to CartoDB

I am trying to Add a layer with Youtube in the info window as follows HTML <div class="cartodb-popup v2"> <a href="#close" class="cartodb-popup-close-button close">x</a> ...
1
vote
1answer
43 views

is there a way to save a temporary file as a permanent raster layer

I am trying to build a raster table for a temporary layer i created from an image difference on ArcGIS image analysis. Is there a way to save the temporary layer from this image analysis as a ...
1
vote
1answer
266 views

Why does Describe function fail on annotation layer with RuntimeError: Object: Describe input value is not valid type?

I am accessing layers in an mxd programatically and also accessing the layer properties using the Describe function lyr =arcpy.mapping.ListLayers(mxd) # gets me the list of layers in mxd desc= ...
1
vote
1answer
1k views

How to query all layers in ArcMap and get access to them by name or index?

I have ArcMap with tons of layers. Some of these layers may contain another layers with data (aka Composite layers) or they don't. The depth of composite layers in unknown. I need to query all layer ...
1
vote
0answers
58 views

First click layer selector doesn't work in CartoDB?

I'm working on an interactive map using CartoDB built of Leaflet.js. I added a layer selector which works fine after the first click. The first click just doesn't work, if I click the selected layer ...
1
vote
1answer
84 views

How to make one checkbox that shows multiple layers in qgis or qgis2web?

I need to create one checkbox in qgis (and qgis2web) that than will show 2 other layers. So basically i don't want to check two checkboxes in the layerlist, but i want to simplify this proces by just ...
2
votes
2answers
53 views

How to use loop to add georeferenced JPEGs from folder to mxd?

This is my first time using this site and I'm a bit new to ArcPy. I've looked around for a while but couldn't quite find the answer I was looking for. I have many folders with georeferenced topos in ...
12
votes
3answers
491 views

How many layers are too many layers in ArcMap?

I work on ArcGIS using a Citrix virtual software connection at work. It is dreadfully slow at times, and without any changes to the MXDs I'm working on, one minute ArcMap can be operating at a ...
1
vote
1answer
264 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 ...
2
votes
1answer
56 views

Why QGIS 2.12 “forgets” selection colour opacity settings?

I have few vector layers which I need to edit frequently. I'd like to be able to see through the layer when it's selected. I changed selection colour from both: Project Properties General settings and ...
3
votes
1answer
2k views

Changing data source of layers with ArcPy?

How do I change the data source of all layers in a map document using ArcPy and Python?
0
votes
1answer
2k views

Accessing secure Geoserver layer with username password

I created Users, Groups and Roles in geoserver. And I set the user roles for my workspace. user1 can read user2 can write And I want to access my layers as anonymous like this: ...
2
votes
1answer
26 views

Automatic selection of colored regions when digitzing choropleth maps

I am new to working with GIS. I have a raster choropleth map similar to the one displayed below. I want to create a shapefile from the map, where each layer contains all the countries that have the ...
2
votes
1answer
83 views

Arcpy Code result- “NaN”

When i run this code (in arcView 10.3) in order to check the data frame extent, i received "NaN NaN" result with the exact data frame. I don't understand why python print this out? I checked in ...