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)

2
votes
1answer
50 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
191 views

Pass coordinates parameters to geoserver pgrouting service from Leaflet wms tile layer

I've configurated a pgRouting service in Geoserver, following the steps on the documentation it's easy to accomplish. Reading the documentation, existing examples, etc.. I've come to undestand how ...
0
votes
1answer
1k 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
21 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
58 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 ...
1
vote
2answers
211 views

Points on Map overlapping/covering city and town names

I have a map with many points, these points map incidences of landmine accidents in Colombia. There are thousands of points and cover up parts of city and town names, in some cases the entire lables ...
4
votes
1answer
5k views

Converting *.lyr file to shapefile or raster using ArcPy?

I am using ArcGIS Desktop 10 and Python 2.6.5. i have created a "test.lyr" file, now i want to convert it either to shape file or raster file. i have created the "test.lyr" from "test0.tif" and added ...
0
votes
3answers
25 views

Layer File data source

I have saved group of layers which reading from SDE DB as layer file when i open the layer file in any other MXD it takes the same SDE data source How i can make the Layer file with out data source ...
0
votes
1answer
41 views

Printing ArcMap layers in black and white?

I am working in ArcMap 10.1. I would like to print a select few layers in black and white and have one or two layers print in color? Can this be done? If so how?
1
vote
1answer
27 views

In qgis2threejs html output select deselect the layers not working

I used qgis2threejs to output 3d model with a dem and another viewshed output. I want to tick untick the layers for displaying and not displaying the layer.But the select unselect option in right ...
0
votes
1answer
31 views

Remove layers using python- path orientation

Expanding on my previous question Code error - remove layer using python, i try to remove layers from mxd's (in ArcMap 10.3, python 2.7.8), that don't appear in the data frame with this code: import ...
1
vote
1answer
370 views

Geoserver api: how to determine a layers respective workspace?

I am using the geoserver api to find information about layers that are available. I am using: http://localhost/geoserver/rest/layers.json to get a dynamic list of all layers. If I then select a ...
2
votes
2answers
54 views

Update a group layer using arcpy

I work with several MXD'S and i try to update a group layer named "allHa" containing several layers with this code: import arcpy,os,sys,string import arcpy.mapping from arcpy import env ...
0
votes
4answers
76 views

How to add remote GeoJSON data to a Leaflet map as a new layer?

I seem to be having a problem parsing the GeoJson and adding the layer to a Leaflet map. var terrain = ...
1
vote
2answers
635 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
1answer
81 views

How to properly draw and label overlapping polygons?

I would like to show overlapping polygons on a single layer. The polygons are coloured based on a property and labelled according to another property. The problem is then twofold: The polygons are ...
0
votes
1answer
238 views

Select by location in 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 ...
1
vote
2answers
529 views

QGIS Quickly switching overlapping raster images

I'm new to QGIS, and haven't used arcGIS in about 5 years, however I've just seen someone using arcGIS and was able to quickly switch between overlapping rasters when checking registration. The top ...
0
votes
0answers
18 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" ...
2
votes
2answers
56 views

Search MXDs with specific dataSource layer using Python

I work with ArcGIS 10.3 and I try to search a specific layer (with dataSource named "D:\desktop\Project\layers\1.jpg" ) in hundred of mxd's that spread in folder "D:\PROJECTS" and it divided to ...
1
vote
1answer
51 views

Duplicate a layer applying a filter in QGIS

Is there a way, using Python, to duplicate a layer in QGIS as many times as the single occurrences of a variable contained in a field and with a filter applied on the duplicated layer based on the ...
0
votes
1answer
331 views

Openlayers event cluster feature id does not appear on layer vector feature id list

My application's objective is to click on a cluster and produce a popup with a list of all placemarks clustered there where every entry is a hyperlink that closes current popup and opens a new ...
0
votes
1answer
90 views

Copying features from one layer into different layer using ArcGIS for Desktop?

I would like to have two different kinds of feature (lets say coniferous and deciduous woodland). To represent this I have two different layers that are different colours. In an edit session when I ...
1
vote
2answers
66 views

Redefining point shapefiles in MXD that have no projection and are located in different folders using ArcPy?

# Script to use Layers in MXD source file paths to locate and redefine projections import arcpy, glob, os, sys, arcgisscripting from arcpy import env, mapping path = os.getcwd() env.workspace = ...
3
votes
1answer
64 views

Static maps API that serves roads/labels without basemap?

I am looking for a static maps API (similar to https://www.mapbox.com/developers/api/static/ ) that can serve the map without an underlying base layer. My intention is to generate images with the ...
3
votes
1answer
25 views

QGIS: Mergin two layers always creates new attibute field

I want to merge several layers into one. Each layer has a specific Attribute field (type: GG, DO, eg.). In the merged layer QGIS produced a new Attribute field for each type. I want QGIS to but all ...
1
vote
1answer
43 views

Qgis layer renaming stays the same

I've been developing a plugin for Qgis, but something weird happend while renaming a layer, now whenever i add a layer using a button in my plugin, the layer is renamed with the last name I gave it. ...
2
votes
0answers
56 views

QGIS Space Syntax plugin with OSM data?

I'd like to do a space syntax analysis for a city I observe, but when I use the Space Syntax Plugin, the desired shapelayer roads doesn't show up. It's an OSM vector layer, what do I have to do to ...
1
vote
1answer
396 views

QGIS Layers Not Lining Up

I am new to QGIS, I have been using ArcGIS for most of my maps. I have two layers that are not overlapping properly. One is a shp file from a GIS clearinghouse and another from a delimited text ...
0
votes
0answers
25 views

Mapbox source without access token

I found mapbox source of tiles that doesn't require access token (http://a.tiles.mapbox.com/v3/mapbox.natural-earth-hypso/page.html#3/0.00/0.00). Does it mean that I can use it without view limits ...
1
vote
2answers
47 views

How to remove all transparency from all layers?

I am using ArcMap 10.1 and I would like to remove all transparency from all the layers in the map at once.
0
votes
1answer
36 views

Changing coordinate system of layer?

I am using ArcGIS 10.1 and I would like to change the coordinate system of a layer that is already attached to a drawing so that it matches the other layers.
1
vote
0answers
53 views

ArcGIS layer transparency Issues

I'm using ArcGIS 10, working on the district boundaries of a country. I need to show certain cycles of a distribution and some of the districts are (partly/completely) covered in each cycle. Is there ...
1
vote
2answers
55 views

How to add a tool as a layer in table of contents ArcGIS desktop 10.3

I have a custom script tool in my toolbox in arcgis. I want to add it as a layer in table of contents so when the map is shared people can have access to it easily. for example as shown in figure When ...
7
votes
2answers
306 views

Displaying legend item as polyline instead of polygon in ArcMap?

I am using ArcMap 10.1 and am trying to create a legend that will display a polygon layer as a single line.
6
votes
1answer
661 views

Drive time analysis with ArcGIS Network Analyst?

What is the most common SETTING for the Layer Properties when creating time-travel polygons? I am in the process of creating 4, 5, 6 minute polygons using Network Analyst. Every time I generate ...
1
vote
1answer
843 views

OpenLayers & Google Maps: TERRAIN not showing as baseMap

I have a problem with OpenLayers and Google maps: on this page: http://46.37.22.75:8085/public/ I'm loading Google maps TERRAIN with Openlayers.js, everything worked well for about 1 year, but now ...
3
votes
1answer
38 views

QGIS and python: Keep a layer always on top of the others

I am working on a python plugin for QGIS using a layer containing linestrings, which I would like to have on top at all times. I have added the layer like the following: ...
0
votes
1answer
32 views

How can I add a new layer, then remove previous layer from a Leaflet/CartdoDB map without the map clearing everything

I am new to CartoDB/Leaflet. Here's my fiddle... http://jsfiddle.net/zippyferguson/fLkqgf4q/1/ If you click the play button, I want it to load data to the map year by year from 1966 to 2015 from a ...
3
votes
1answer
280 views

Repairing disconnected layers with selection sets using ArcObjects?

Has anyone had any success of repairing disconnected layers that have selection sets that have their data sources broken in ArcGIS? Is there a way to detect this through code and then re-create that ...
0
votes
1answer
41 views

GeoServer WMS: Retrieved GeoTIFF band contains integer values instead of floats

I am using gdal_translate to import a GeoTIFF into an oracle database. The import as well as the layer creation in GeoServer works without errors. GeoServer correctly recognizes the band data type as ...
3
votes
1answer
66 views

How to merge layers into a single QgsVectorLayer?

I have a set of different layers (and their respective shapefiles) with information of electric lines. All the layers have the same Fields in their Attribute Tables, but contain information about ...
0
votes
0answers
32 views

How to query Tiger Data for Layers?

I am new to this. I have data downloaded from ftp://ftp2.census.gov/geo/tiger/TIGER2015/ and I would like to learn more about how I can query that data for the different layers it offers. Here is ...
1
vote
1answer
36 views

Multiple Leaflet TileLayers with extended maxzoom

I've got 2 layers(for indoor and outdoor) in my web application. If i zoom beyond 19, the indoor layer should be displayed and the outdoor layer tiles will be scaled up, because their maxzoom is 19. ...
1
vote
0answers
46 views

is it possible to combine multiple URLs for one ol.layer.tile in openLayers 3?

I have two Image services that I would like to combine into one layer; one has higher resolution imagery that draws only at a larger scale, and other has lower resolution imagery that draws at all ...
0
votes
0answers
11 views

How to add an image to collapsed L.control.layers

i got my layers working with this code: L.control.layers(baseMaps,{'<img src="myimage.png" /> Test': json_TestJSON,},{collapsed:true}).addTo(map); This is what i dont like: the white empty ...
2
votes
1answer
24 views

Switch layer when zooming

I'm wondering if it is possible to set up a boundary on zooming for e.g. 3 different vector layers, so that when zooming in QGIS will automatically switch layer? For example layer 1 has scale ...
0
votes
1answer
25 views

OD Cost Matrix (arcpy) Layer Not Added

I'm trying to create a OD Cost Matrix layer programmatically. The problem that I have, however, is that the layer doesn't get added to my Table of Contents. If I manually run the Network ...
2
votes
1answer
646 views

OpenLayers - cannot set layer opacity

I have the following problem: by default, you can simply change the opacity of layer by writing for example: layer.setOpacity(0.3); But when I add it to my map SelectFeature controls, my layer is ...