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
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
647 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 ...
0
votes
1answer
43 views

OpenLayers 3 XYZ layer issues with OpenRailwayMap

Code with issue on Codepen - Having successfully integrated the OpenRailwayMap API into Leaflet, I wanted to use OpenLayers instead and followed the API instructions, but am getting an error: " Cannot ...
0
votes
1answer
63 views

Adding data at runtime into dataframes using ArcPy?

I am trying to create an empty MXD to act as a template. I will have three dataframes for maps, each holding a different object from ArcSDE (1 raster object and 2 features). I know how to query ...
1
vote
0answers
45 views

How to align with QGIS two layers that have the same projection?

I am using QGIS 2.12.0 to create forest maps. I usually succeed to create maps from shapefiles with different projections but for some reason I cannot succeed to align the layer of one shapefile. As ...
2
votes
0answers
28 views

QGIS, add a layer (shapefile) to a running QGIS from an external application

I'm trying to load a shapefile as a new layer into a running QGIS application using python within a Windows command shell. The python is basically what is explained in this post: How to open a layer ...
0
votes
1answer
19 views

Layers not overlapping in QGIS? [duplicate]

I downloaded a bunch of wpts from my gps. I converted them to .SHP format with a CRS WGS 84 in QGIS, and started a new project. I then exported some satelite imagery from the internet as a tiff and ...
1
vote
0answers
30 views

Point and Polygon Data refusing to display: corrupt data?

I have two sets of shapefiles, one point data and one polygon data. Both were sent as part of a bigger set of data. Neither the point or polygon data will display when loaded into QGIS. The raw data ...
0
votes
0answers
37 views

Searching for more than one propertyName?

how can i search for more than one propertyName? This is my code: var searchControl = new L.Control.Search({layer: mylayer , propertyName: 'myfirstproperty' , circleLocation:true , zoom: 15.0}); ...
3
votes
3answers
196 views

Copying one or more layers (with properties, style, and path of source data) on ArcMap and paste into different ArcMap project?

I am using ArcMap 10.2.1 and i would like to take all the layers from one plan and bring them into another plan with all of the associated properties.
4
votes
1answer
37 views

Is it possible to get features from one layer within the bounding box of other layer?

I have 2 seperate layers say: water bodies layer, land layer from different sources but for the same location. as shown below: No I want to use the bounding box of water bodies layer and get the ...
1
vote
1answer
29 views

Layers being lost in QGIS

Does anyone know why layers would continually be lost from a project and refuse to reload even though the project is regularly saved?
4
votes
1answer
95 views

Excluding certain attributes from being labeled in ArcMap?

I am using ArcMap 10.1, and i am labeling a roadway system but would like to exclude certain road labels from being displayed.
0
votes
0answers
17 views

Changing color of individual parcels in CityEngine?

How do I change the color of individual parcels (i.e. specific section of a layer) using CGA codes in CityEngine? I have 4 sections within my layer and I need to change the color so that each one ...
0
votes
0answers
45 views

How to add filter to mapguide layer definition in c#

I want to add a filter to a mapguide layer programmatically in c#.net. I verify if the layersDefinition of my layer contains or not a tag "Filter" and I do the job: //Get mapguide layer definition ...
0
votes
2answers
84 views

Get the name of the layer from a layer Vector

My aim is to highlight that two differently colored layers wfs when passing the mouse over one of these layers. It would need to obtain the name of the Vector Layer and also use a style in one layer ...
0
votes
0answers
15 views

Is there a way to re-order how layers render in Mapnik?

I'm creating Mapnik stylesheets and I am trying to edit the order layers are rendered. I tried just moving the XML code, but that didn't seem to work. Are there specific steps to make some features ...
0
votes
0answers
28 views

Removing non-interactable “ghost” points

Non-professional here, working with ArcGIS 10.3 mapping soil data for an agricultural study and I have an issue with residual point features from a file I thought I removed. After I turn off all of ...
0
votes
1answer
60 views

Code error - remove layer using python

Continuously to How to remove layers that are not in visible df extent i try to remove layers that don't appear in the data frame with this code: import arcpy,os from arcpy import env env.workspace ...
7
votes
1answer
2k views

How to perform a true GIS clip of polygons layer using a polygon layer in R?

I would like to do a true GIS Clip in R of soils polygons using a series of single boundary polygons, but I cannot find an R function to properly do it. It should work just like the CLIP function in ...
26
votes
5answers
18k views

What is difference between map layer and spatial dataset (e.g. feature class, shapefile)?

What is the difference between feature class and feature layer? To me they seems very similar in concept.
1
vote
1answer
64 views

How to remove marker added map with .addTo() function in leaflet?

I am having trouble removing marker which is added with marker.addTo(map). The remove works correctly if added as layer map.addLayer(marker) and then map.removeLayer(marker). But removelayer is not ...
2
votes
1answer
37 views

ArcGIS 10 PDF exports: toggle polygon layer visibility?

In the past I have been able to export my .mxd to PDF and I have been able to turn individual point layer's visibilty on/off within the layer tab (if the layers are in a groub in the .mxd's table of ...
3
votes
1answer
997 views

Loading map files using ArcGIS Silverlight API?

Is there a way to use the Silverlight API to load common maps formats (i.e., layers, shapefiles or rasters) off of my local machine?
9
votes
1answer
1k views

Data Source of layer changing after copy/paste in Table of Contents of ArcMap?

I run into this situation all the time; I often just copy layers and groups of layers in the TOC of one Map Document and paste then into the TOC of another Map Document. For the most part this ...
11
votes
2answers
11k views

Changing data source path involving feature dataset in *.lyr files using ArcPy?

How can one change the source data paths for every layer file in folder X using arcpy? I've followed Updating and fixing data sources with arcpy.mapping as best I can, yet all I get is an unhelpful ...
1
vote
1answer
222 views

Network Analysis Layer in ArcGIS Mobile Map Cache

Does anyone know how to extract a Network Analysis Layer into an ArcGIS Mobile Map Cache?
0
votes
1answer
138 views

Deleted layers still appear while loading project in QGIS? [duplicate]

I'm working on a project where I digitized a few maps (georeferenced) and I also added a couple of csv files. I deleted the raster and cvs layers after I included them into the project as shapefiles ...
3
votes
0answers
220 views

Startup python script to re-join layers in QGIS?

In QGIS 2.2, there is a bug which involves using the JOINS properties on a vector layer (that is already being joined with several other vector layers) whereby the attributes are not fully loaded. ...
2
votes
1answer
84 views

Layer Order panel duplicating layers in QGIS?

I'd like to just confirm that a problem I am having in QGIS 2.10 is not unique to me. I am using the Layer Order panel to control the rendering order of layers in my projects, it's very useful when ...
8
votes
3answers
5k views

Z-index in OpenLayers 3: layer ordering in OL3

Is there a method to change Z-indexes of layers in OpenLayers3 like it was in old version? map.setLayerIndex(markers, 99); //set the marker layer to an arbitrarily high layer index I need to change ...
1
vote
0answers
49 views

QGIS KML layer won't show up in Google Maps API

I've trimmed US Census shapefile data to show census blocks in just three states, by editing the attribute table. I then color coded the states based on values in the table by changing the style in ...
1
vote
0answers
21 views

How does qgis render vector layer on screen ? How can I do the same in a mobile device

Can you please tell me how does qgis software render the vector layers on the screen. I have a geojson file and I need to map its contents on the screen just like qgis does but without using base map ...
1
vote
1answer
50 views

Can script using arcpy.mapping.MoveLayer() be made to run faster? [closed]

We're running ArcGIS 10.0 and using a python script to move layers, turn on the correct layers, zoom to the correct extent and export a pdf map. The script normally takes 30 - 35 seconds to finish. ...
4
votes
1answer
90 views

GeoJSON Layer Order In Leaflet 0.7.5

I am developing a web application that brings in a number of tileLayers and geoJSON layers. For the tile layers I have been able to do similar to this JSFiddle in that the layers appear depening on ...
2
votes
1answer
30 views

How to display street names from OS StreetAny layer?

Using QGIS version 2.10.1-Pisa. I have imported layers from an Ordnance Survey data set. I have a layer called 'Street any' which gives me the boundaries of the streets which I can see. I can see ...
1
vote
2answers
355 views

add featureset in graphics layer without iterating

I have a geoprocessing service that returns a large amount of features (featureSet). I want to attach them in a graphics layer, but I dont wont to iterate over all them. I tried using the ...
1
vote
1answer
205 views

Disappearing layers in ArcScene?

I have DEM hillshade layers which I have tried to change the base heights to floating surfaces. I have done this with these layers before but had to change them back and forth to do some analysis. A ...
1
vote
1answer
109 views

Layer selection in Openlayers 3

I'm trying to develop a robust way to generate a UI incorporating map layer controls such as a base layer selector. I've read several posts including this recent one but I'm still not able to change ...
3
votes
1answer
363 views

When does iface.mapCanvas().layers() get updated to the contents of QgsMapLayerRegistry.instance().mapLayers()?

Since the topic might be a bit cryptic, I'll try to explain where my problem is. I am currently developing a Qgis-plugin, where I am creating and adding some layers automatically, which I would like ...
2
votes
0answers
20 views

FeatureServer layer losing connection to Feature Class layers (ArcMap/ArcServer) on adding .lyr

This is a question about using feature services as layers in ArcMap. We have a issue where layer (.lyr) files (source from feature services) are not displaying individual feature classes when added ...
3
votes
1answer
538 views

Advice needed on JavaFX Map Rendering

A few months ago I inherited an old (10+ years) Java Desktop application that used maps and simple icons to represent point data to various users. The application was writted in Swing and used Esri ...
1
vote
1answer
25 views

How can I remove feature selection from my layeroverlay in mapguide API?

I can add feature to my layeroverlay on mapguide API, but I don't know how to remove it. Can you help me find a method to remove a feature from a selection ? This is how i add features to my layer : ...
0
votes
0answers
39 views

Trimming downloaded Worldclim Climate Projection Layers to specific area in QGIS for use in Maxent Program?

I am very new to QGIS and modeling. I have downloaded many Future Climate prediction files(GeoTiff) from Worldclim. I only need to use a small portion of the globe, but they do not allow for the ...
0
votes
0answers
24 views

Exporting Raster Column

Probably an easy solution here I just cannot think of one. Using ArcMap 10.0 So I have a feature class which has 5 columns. One of them being a "Photo" Raster layer. This has over 2000 Objects in ...
1
vote
1answer
47 views

A python script to batch add layers to multiple rasters?

So I have looked at existing tools and there is nothing to batch change symbology to a myriad of raster surfaces (20+). Basically my manual process is to right click on the rasters layer properties, ...
1
vote
1answer
44 views

Get the name of the layer when I click on it with openlayers 3

I have a question, I need to make more than one GetFeatureInfo (obtaining information under the layer that you click), and for this I need the name of the layer I click on it to get the information. ...
1
vote
1answer
46 views

Remove details from loaded OSM-layer? - Openlayers-3

I have created a tile server with help from this guide. Sadly I still have no software to actually create the tiles and because of that I load in a online map (HOT) from OSM via Openlayers: var map = ...
1
vote
1answer
500 views

why can't I load a layers list to select from to the map in openLayers 3, addEventListener and attachEvent are unavailable

I've tried to incorporate this sample that shows how to switch base layers into a page I am working on: http://openlayers.org/en/v3.10.1/examples/bing-maps.html When I try to load my page with the ...
7
votes
3answers
4k views

Layer loadstart & loadend events in OpenLayers 3

OpenLayers 2 has these layer events "loadstart & loadend." What is equivalent to them in OpenLayers 3? While a vector layer loads and is rendered, I need to show a loading icon.