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)

4
votes
1answer
69 views

Making multiple layers editable in QGIS?

I am using QGIS and I want to eliminate fields from 300 shapefiles. All layers are loaded and selected. Is there a way to enable all 300 for simultaneous editing?
0
votes
1answer
54 views

Does leaflet support user defined Layer identifiers

It would be nice to be able to check for a layer presence or remove it without having to keep an explicit reference to it. To that extent I would like to use ad id for the layer that I can compute ...
1
vote
1answer
51 views

How to export specified layers in ArcMap using ArcPy

I am trying to export specific layers from an ArcMap .mxd. From the TOC below I would like to export "irrig_2, citylyr, boundlyr" as a GIF. Once this is done the script would then export "irrig_1, ...
2
votes
1answer
39 views

lyr.datasetName works with “CURRENT” mxd but not with mxd path

I have some mxds in wich I want to set all the layers a layer description. This works as far as I use the code with current mxd, but if I give a path it has no results, and I also don't get any error ...
1
vote
1answer
34 views

MySQL database layers invisible in QGIS

I'm encoutering a problem when connecting a MySQL database to QGIS. When the connection is established and a layer is imported, the layer itself will not render and thus isn't visible. The layer ...
0
votes
0answers
35 views

How to change the color of a polygon in ArcPy?

I am trying to write a script that changes the color (fill and outline color) of a single polygon in a layer using ArcPy. Is this possible without importing properties from a reference layer file ...
1
vote
1answer
26 views

where are the rasters that make up a layer?

I used raster calculator to add up 12 rasters made up of 0's and 1's to make a fire frequency map. Then I saved the output as a layer (lyr). However, I need the raster output. Did I add it up ...
0
votes
1answer
41 views

Spatial selections using Python in ArcGIS

I am trying to perform a spatial query using Python in ArcGIS, here is my code: I'm getting the following error: Traceback (most recent call last): File "C:\Users\acarr\Documents_PYTHON ...
1
vote
1answer
40 views

Use spatial queries on multiple layers in QGIS

Is there a way to perform spatial queries on multiple layers in QGIS without going through an external database? I would like to perform SQL-like queries on layers imported in QGIS directly, but can't ...
1
vote
1answer
47 views

Finding layer file used to add layers to MXD in ArcPy?

I work with layer that located in G:\PROJECTS\bneyAyish\gis\lyr\New File Geodatabase.gdb\polygon, and I created a layer file and located it in G:\PROJECTS\bneyAyish\gis\lyr under the name ...
0
votes
1answer
22 views

How to know the date of adding specific layer to a map in ArcGIS?

Is there a way of knowing when specific layer have been added to MXD file? I work with MXD file with three layer with the same name: "polygon": i searched in the source tab (in the layer ...
0
votes
0answers
20 views

Layers do not overlap [duplicate]

I am new to ArcGIS. I have some layers. Three of them perfectly overlap and the fourth does not. I have tried with the Projection tool and I have tried so many things and nothing. When I check the ...
4
votes
2answers
106 views

How can you align two shapefile layers in QGIS

I am a very beginner with QGIS. I would like to know how to align two shapefiles in QGIS. The image below shows the mismatch:
0
votes
0answers
56 views

Display Leaflet WMS Layers from same source on different panes

I am using the Leaflet WMS plugin to add in layers to my map via a WMS. I have the following code below that adds all of the layers using the same source but as separate layers. However, I want to ...
1
vote
0answers
19 views

Qgis, resolve bad layers

How to resolve bad layers and locate files on my computer?
1
vote
1answer
40 views

Is it possible to map a leaflet provider (precipitation) on top of a polygon in an interactive map?

I've just started using the leaflet package in R to create interactive maps and I'm wondering if it's possible to plot one of the leaflet providers on top of a plotted polygon rather than under it as ...
0
votes
1answer
23 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 ...
3
votes
0answers
27 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 ...
6
votes
1answer
49 views

How to recursively get all lyr file properties from a group layer on disk

I'm writing a python script tool that will recursively search through a folder and all subfolders and find all .lyr files. Ultimately, I'm writing a CSV file which contains the path of the .lyr file, ...
2
votes
1answer
28 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 ...
4
votes
1answer
72 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.
3
votes
1answer
91 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 ...
2
votes
1answer
65 views

Issues with toggling layers with mapbox.js

I am having issues with toggling map layers with mapbox.js. Using the code from [https://www.mapbox.com/mapbox.js/example/v1.0.0/layers/] it pulls the basic mapbox base maps ex. mapbox.outdoors or ...
1
vote
0answers
29 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 ...
2
votes
1answer
35 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 ...
0
votes
1answer
28 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
40 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? ...
0
votes
1answer
42 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
0answers
42 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
100 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 ...
1
vote
1answer
62 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 ...
2
votes
1answer
74 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
0answers
13 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
34 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 ...
1
vote
2answers
59 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 ...
3
votes
1answer
64 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
25 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
55 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
44 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
78 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
161 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 ...
2
votes
2answers
93 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 ...
-1
votes
1answer
71 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 ...
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
vote
2answers
84 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 ...
1
vote
0answers
58 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
30 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 ...
2
votes
0answers
62 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 ...
3
votes
1answer
49 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 ...
1
vote
1answer
91 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 ...