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)

5
votes
0answers
145 views

How to speed up simultaneous working with PostGIS layers in QGIS?

we are working on one big layer at the same time (10-20 people). Some of us use QGIS 2.8.1 and the other 2.6. The user with 2.8 have a lot of crashes (QGIS). The 2.6 users don't have this crashes but ...
5
votes
0answers
211 views

Is there a limitation on the numbers of layers that can be displayed in QGIS?

I have been looking for an answer to this question for the last several weeks, so hope that someone here has encountered the same issue and has a viable solution to my problem. I am currently using ...
4
votes
0answers
65 views

Connect data from two different layers

I'm trying to connect data from two different layers to combine them in one new layer and continue working with them. Let me explain that a bit more detailed: The first layer contains data (and ...
3
votes
0answers
32 views

PyQGIS select layer by original table name

As far as I see, on QgsMapLayerRegistry.instance() there is a method to select layers: mapLayersByName(Qstring) and the method mapLayer(QString) respectively, wich accesses a layer by its id. ...
3
votes
0answers
31 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 ...
3
votes
0answers
15 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 ...
3
votes
0answers
36 views

OpenLayers WFS Multipoint

I am modifying a OpenLayers setup which uses WFS capabilities to create a vectorLayer on a map to support multipoints. GeoServer is setup to send points and multipoints however only points are ...
3
votes
0answers
118 views

Sourcing free live traffic layers to use in MXD of ArcGIS Desktop?

I am looking for free live traffic layers for an ArcGIS Desktop 9.3 MXD. My searches haven't been that successful.
3
votes
0answers
385 views

Batch export to shapefile by attribute field in QGIS

I have a project in QGIS where I am creating a map of plants over a large area. I want to take the "Genus" field (of which there are 100 hundred values) and essentially create 100 shapefiles based on ...
3
votes
0answers
107 views

Layer tick boxes embedded in PDF map

Maybe this is more of a PDF question than a GIS question. Today, I received a layered PDF map shown as a landscape A3, with a square map on the left, and with the map title, the legend, the scale, a ...
3
votes
0answers
503 views

How to load the default layer style from Postgresql with Python?

I would like to write a python macro that upon opening my QGIS project file will reload the default style for each layer from the postgres 'layer_style' table. I have had a look at the documentation ...
3
votes
0answers
390 views

Getting layers from SDE with vba

Im running arcmap 9.1. i have the code that lists feature classes in a list box from the SDE. The users select from one list box and adds it to another list box. How do i get it to show the layer name ...
3
votes
0answers
440 views

calculate total Miles in a polygon using Google Map

I have an application that allows the users to create any custom polygon layer on top of google maps, i am interested to know if their is a way to select the road layer in this polygon and then ...
3
votes
0answers
695 views

Add CAD Drawing Dataset into ArcMap using Python

I am trying to add an CAD Drawing Dataset into ArcMap using Python. Question is how to add a Auto-CAD .dwg file to ArcMap using Python Normally comes in as CAD file within a Group layer with: ...
2
votes
0answers
27 views

PyQGIS: intersection of one node layer with two polygon layers

I´m new with the use of PyQGIS and I´m working in a problem applied to a water supply systems modelling, where I need to distribute the water demand in about 5000 nodes (network junctions). I´m ...
2
votes
0answers
18 views

Trigger event after KML Layer completely loaded

I want to set the bounds of my map after a Vector (KML) Layer is loaded. kmllayer.events.register('refresh', kmllayer, function(evt) { map.zoomToExtent(kmllayer.getDataExtent()); }); In the ...
2
votes
0answers
47 views

QGIS Atlas zoom to intersection between two different layers

I have two polygon layers, one is about different land owners boundaries and is used for atlas generation, and the other is about forests inside each property. In atlas generation sometimes i want to ...
2
votes
0answers
36 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
90 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
125 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 ...
2
votes
0answers
34 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 ...
2
votes
0answers
36 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 ...
2
votes
0answers
103 views

Different Leaflet fillcolors for different layers

I have a leaflet map set up with two layers and I want them to use different colorization functions to color the choropleth shapes. My shapes are set up in layers like this: var povertyLayer = L....
2
votes
0answers
188 views

Qgis delimited text layer from an excel file converted to .csv

I'm trying to add a delimited text layer using coordinates. The file has been created in excel and then converted to a csv file in the saving. When I put it into Qgis it doesn't recognise the headings-...
2
votes
0answers
308 views

Leaflet : Change marker icon from onEachFeature instead of pointToLayer

I'm referencing external data, matching it up with particular fields in feature.properties and using that to decide which layer to put the feature in, all of this from inside the onEachFeature part. ...
2
votes
0answers
105 views

QGIS python originalName() does not return actual original layer name

I am writing a Python QGIS Plugin, using QGIS version 2.6 as the basis for development. When loading data into the canvas programmatically, I am trying to maintain the spatialite table name as the ...
2
votes
0answers
124 views

How to make a model with more than 2 input layers for buffering and merging?

Would it be possible to add more inputs to Buffer and Merge? From what I can see there is a limit of two input layers per both. As far as I know this is possible in ArcGIS's Model Builder but from the ...
2
votes
0answers
311 views

Leaflet filtering existing featuregroup

I have a leftleat map and i would like to filter the featuregroup i am displaying. exp_colJSON = new L.geoJson(exp_col,{ onEachFeature: pop_col, pointToLayer: function (feature, latlng) { ...
2
votes
0answers
142 views

Error when running Python script to replaceDataSource of multiple layers in multiple mxd's

I looked on all of your sites and did not find a solution to my problem. Almost all of our data has been copied to an SDE and now most of the layers in all of the mxd's need to be redirected to the ...
2
votes
0answers
303 views

ArcGIS API for Silverlight : query that displays layer attributes in a dataGrid

I'm working with ArcGIS API for Silverlight to build a webmapping application and I'm trying to display my attributes in a datagrid. I made a try by using this code : void QueryTask_ExecuteCompleted(...
2
votes
0answers
28 views

QGIS view selected layers, manage views

I have a QGIS project with a large number of layers. Is it (without using Postgis) possible to define "Views" which include different subsets of the layers? For example: View 1: Layers WMS ...
2
votes
0answers
204 views

What is wrong with my data receiving from php script for geoJSON TileLayer?

I want to get geo data as geojson for geojson tile layer requests in leaflet. I set up a geojson layer like this: https://github.com/glenrobertson/leaflet-tilelayer-geojson/ A php script answers ...
2
votes
0answers
245 views

Memory layer or QgsVectorFileWriter Error?

Currently this excerpt of code will not save to file (as it is supposed to). The memory layer is visable and editable. Yet even when manually saving the layer, any priorly added features (geometries)...
2
votes
0answers
216 views

multiple image in OpenLayers

I'm fairly new to OpenLayers so please bear with me. I'm trying to add multiple images to OpenLayers. I have the following (some code is excluded): var images = [image1,image2,image3] // these are ...
2
votes
0answers
76 views

Updating Description of MXD Layers

Is there a way to force the update of the Description content in the Properties/General/Description of each feature layer in an MXD? I frequently update metadata for each feature class in ArcCatalog, ...
2
votes
0answers
114 views

Is there a size restriction on KML layer in esri map?

My website utilizes ESRI's map and it contains several KML layers. Most of them show up fine except for the ones bigger than ~4MB. Are there any restrictions on KML file size? Thanks,
2
votes
0answers
137 views

why is my map is not in the center when I load my map in OpenLayers?

why is my map is not in the center when I load my map in OpenLayers?And when I drag my map,it dont move sometimes,It has been tortured me for a long time,any advice would be grateful! var maxExtent = ...
2
votes
0answers
48 views

How to search for layers in the layers panel?

I have QGIS projects with a lot of layers. Sometime it's difficult to find a layer into Layers Panel. How to search it?
2
votes
0answers
54 views

What is the best way to manage dependencies between layers?

I have multiple layers that has dependency with each other. Such as: City; Courts; Lots; Front Lot; Buildings. The polygon's "block" depends on the polygon's "City." Example dependency: Buildings-> ...
2
votes
0answers
196 views

Ogr: How to add layer description to dgn?

I have created a dgn-file using Ogr, but can't find a way to fill out the description for this layer programatically. (something like _dgnLayer.Description = "Highways") opts.Add("SEED=" + seedfile);...
2
votes
0answers
198 views

The layer added did not move in ArcGIS 10

I have a favor to ask. I already done the step that Mr PolyGeo and Aaron gave me from my previous question and it really look great when the layer did match all together. Thank you for that advise. ...
1
vote
0answers
15 views

Maximum likelihood classification- changing class colour with every layer

I created a signature file, where I defined 4 different classes, which I named and coloured specifically. When I try to use the maximum likelihood classification tool for other layers, the classes ...
1
vote
0answers
28 views

Problem in layer overlapping (qgis)

I want to plot gps pts on qgis (version 2.14.1). I have added the vector layer of SE Asian countries, and added the delimited text layer of my gps pts which included species name, lat and lon. ...
1
vote
0answers
30 views

Add qlr file in QGIS- problem

I work with a polyline layer: and the layer located in "G:\desktop\qgis\lyr". After i save the layer in qlr file and saved it in "G:\desktop\qgis\lyr", i try to load the qlr file with "add from ...
1
vote
0answers
87 views

Map gear's OL3-Google-Maps not showing the google layer even after adding google layer

I am using Map Gear's OL3-Google-Maps in order to load the google base map in OL3, I am adding like this //Before adding this i am removing the OSM base map tile layer and adding it. var googleLayer =...
1
vote
0answers
23 views

QGIS Composer keep reference after reloading layers

I have written a plugin which loads a bunch of geojson data via REST for a specific region, which is selected by the user, afterwards generates some vector grids over the extend and styles all the ...
1
vote
0answers
15 views

Geotools : Getting currently click layer from MapLayerTable

I've added a MapLayerTable to my application, and I'm loading multiple layers using shape files successfully. Now I would like to select features on the map of the selected layer. For this, I would ...
1
vote
0answers
23 views

Clip Layer Stack

I layer stacked the Landsat 8 Bands (1-7) in QGIS and made a polygon shapefile. Every time I try to clip my layerstack with the Mask layer I just get a completely black output raster. I want to use ...
1
vote
0answers
61 views

arcpy symbologyType is always OTHER, but I need UNIQUE_VALUES

I am trying to load a TIF file to the mxd using arcpy, then add a definition file to map colouring. For one layer I have the problem, that the amount of values will always be different, sometimes it ...
1
vote
0answers
31 views

Avoiding lost layers when using QConsolidate?

I want to save all the files in my project and the project file locally on my computer. The files are currently saved on a external hard drive. I have tried QConsolidate before, and it worked, but ...