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)

3
votes
0answers
32 views

gdal_translate multiple GDAL_PDF_LAYERS_OFF entries gives error

The documentation says that GDAL_PDF_LAYERS_OFF takes a list of comma separated layers. Examples look just like what I am trying to do. Executing the following gives an error FAILURE: Too many ...
2
votes
1answer
56 views

(Geotools) Get 2 Selected Layer out of the MapTableLayer

I have a Method that calculates the Area of 2 Layers of different topologic Relations, which needs 2 collections. In the Button where I use this method, I want to get just 2 of the selected Layers in ...
0
votes
1answer
33 views

Arcpy - LayerList - Count/Length [closed]

I use arcpy to load all layers in the current map document, and I need all layers but not the last one (this is my layer for the symbology template). How can I access the length or count of the ...
4
votes
1answer
89 views

Can I use .crd and .dwg files as QGIS data sources?

I want to use my autocad files(.dwg) and my field files (.crd), and want to know if they are compatible with qgis.
2
votes
1answer
233 views

Where to upload layers in geoexplorer?

I just install opengeo suite (boundless) in my machine and try to explore it. I followed the instruction in user manual and I encountered a problem. In "Load your data with GeoExplorer" part, after ...
3
votes
1answer
127 views

Nearest distance between point layer and line layer, QGIS

I have two layers , line and point layer. I need to make line layer which connect all points to nearest line features? Is someone made a plugin for qgis? This is very important tool which missing in ...
0
votes
1answer
21 views

Removing existing backup layers and renaming current live layer in ArcSDE

Looking at the attached screenshot of Catalog, there are the file "CRT_CANAL" and many backups. The aim of this code is deleting old backups in the ArcSDE database, renaming the existing "CRT_CANAL" ...
6
votes
2answers
8k views

Using Google Maps as layer in ArcMap?

Can I use Google Maps as a layer in ArcMap? Is it possible?
2
votes
1answer
45 views

House numbers on roads layer

I have a problem regarding the street numbers in OpenStreetMap. I have downloaded the .osm file of a city from the open street map web. Then with QGIS I have obtained a shape file with roads and a ...
1
vote
0answers
43 views

Android WebMap Popup Viewing not showing my layer info

I used the code for WebMap Popup Viewing from ArcGIS for Developers (https://developers.arcgis.com/android/sample-code/webmap-popup-viewing/) and I just changed the map URL with a map I created and ...
0
votes
1answer
40 views

How to get detailed informations about a layer (SRID, extent, …) in Geoserver REST API?

I'm trying go get detailed informations about a layer using the Geoserver REST API (I'm using Geoserver 2.8.1), but according to the online API documentation, I can only get basic informations such as ...
3
votes
1answer
44 views

Can a Relate within an MXD be detected programmatically using ArcPy?

I would like to know if it is possible detect relates in an MXD using arcpy. Similar problem as the question below, but for relates instead of joins. Can Join be detected programmatically by ArcPy? ...
2
votes
1answer
778 views

How to add label to QgsVectorLayer by Python

my goal is to define label programmaticly for the case similar for the figure below: But didn't find any guidance how to do so using Python. I have a feeling it could be done using QgsLabel but ...
0
votes
1answer
65 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
95 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
59 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
260 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
63 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
77 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
150 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
18 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
38 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
90 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
27 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
124 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 files(...
2
votes
1answer
68 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 ...
3
votes
1answer
62 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
89 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
182 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
92 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
48 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
164 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
478 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
141 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
2k 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
91 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
93 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
38 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
112 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
91 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
314 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 I'...
1
vote
1answer
341 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 ...
1
vote
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 ol.interaction....
1
vote
2answers
78 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
45 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
128 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
51 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> <...