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)

1
vote
0answers
62 views

Make “qgis:delaunaytriangulation” and “qgis:dissolve” save their outputs on a specific predefined layer

I'm new to python and QGIS. I'm working on modifying a plugin which runs algorithms "qgis:delaunaytriangulation" and "qgis:dissolve" like so delone_triangles = ...
1
vote
1answer
37 views

Prevent Overlapping Features in QGIS from Being Faded

I have multiple layers in QGIS that I've set as transparent so I can see their respective features. However, I would like one layer (showing proportionally sized points) to NOT fade when it overlaps ...
0
votes
0answers
11 views

Divide/Split single polygons from one Shapefile using ArcGIS for Desktop? [duplicate]

I have a map of Austria which shows all the federal states in own polygons. As a whole - sure - you get Austria. I know how to make several states invisible so that you can just see particular states ...
0
votes
0answers
39 views

Styling MSSQL Layers in QGIS

I have set up Ordnance Survey MasterMap as 2 MSSQL layers (area and text) which are working great, I can style the layers as I would do usually with shape files but I'm struggling to work if it's ...
2
votes
1answer
86 views

How to load a style from POSTGIS in PyQt

The thing is that I have four styles I have created in QGIS through the GUI and saved into a postgresql database. I can see them in the table named layer_styles I have seen similar questions asking ...
2
votes
1answer
3k views

Adding layers using ArcGISDynamicMapServiceLayer

I am right now adding individual layers using FeatureLayer but it takes quite some time to load as the map is for US Counties (3076 count). I tried to load it using ArcGISDynamicMapServiceLayer but I ...
2
votes
3answers
66 views

Editing Road Style/Color from ArcGIS Maps and Data Group

I have ArcMap 10.2 on a Windows 10 pc. I uploaded this open source layer into my desktop map, but I can't edit the look of the streets or color from the table of contents. Is there a way to do this, ...
3
votes
1answer
1k views

QGIS python - reference a layer in the table of contents

I'm trying to create a plugin for QGIS using python, But need some help. I want to 1.Zoom to a layer and 2. make the layer visible(switch off or on). But I have managed to zoom to an active layer by ...
1
vote
1answer
30 views

How can I check in QGIS python if an atrribute is included in my layer?

I use the following code: for field in self.layer.pendingFields(): if field.name()=='elevation': do this else: do that Although there is an elevation attribute in my layer ...
0
votes
1answer
519 views

Dynamic Layer Name - Leaflet Layer Control

I would like to have the name of a layer used by Leaflets layer control feature come from a variable instead of a string and based on data from the layer. The example shown below uses the variable ...
0
votes
0answers
19 views

Vector layers don't seem to be exhibited properly [duplicate]

I'm a veterinarian that uses qGIS for making basic outbreaks maps, and am trying to branch out and expand what I'm doing. When I first started using qGIS 3 years (I believe it was 1.7), ago, when I ...
0
votes
1answer
852 views

Meaning of Spatial Join ERROR 000840: The value is not a Feature Layer?

I'm using ArcGIS (ArcMap) 10.2 to determine the relative location of points of land to a regulated area. I downloaded a layer (.lyr) file that displays the regulated area, and am able to display that ...
15
votes
4answers
352 views

Compare similar lines and update layers

Here there are two layers with the representation of the streets and the idea is: We want to update the most recent layer (with the red line) with some of the data storaged in the other one (the light ...
0
votes
2answers
58 views

mapping.mapDocument() not working, but not throwing exception. path issue?

I'm working through the recipes in the Python cookbook, and am having some weird results. When I run the script (copied below) with the map reference listed as "CURRENT" from an open mxd from the ...
0
votes
1answer
163 views

Publishing QGis project on Geoserver

Is there a way to prepare a project on QGis with many layers and to publish it under wms service on Geoserver? Thank you for responses
2
votes
1answer
535 views

Standalone Python script to split a polyline with a point layer

I have a polyline layer and a layer of points that are on top of the polylines. I do not have the ArcGis advanced license so I can't use the Split Line at Point tool. Can someone help me with a ...
9
votes
2answers
695 views

How to refer to another layer in the field calculator?

Is there a way to select an attribute from a polygon layer and insert the value into a virtual field of a point layer using "within" in the field calculator? CASE WHEN within($geometry, ...
3
votes
1answer
2k views

legend groups and layer position/order qgis 1.8

I'm tring to programmatically create layer sequence also using groups. Simple python code: layer = QgsVectorLayer("004cp000.shp", "004cp000", "ogr") QgsMapLayerRegistry.instance().addMapLayer(layer) ...
2
votes
1answer
1k views

Layers not appearing when updated with UpdateLayer in arcpy

I have a script that calculates kernel density for several sets of points, adds the output to a base map, updates the added layer to use the same color scheme and resampling function of a template ...
1
vote
0answers
36 views

ArcMap data links redirecting to location of exported map

This issue had only started in recent days. Just wondering if anyone else has come across this before and might know of a solution? I have multiple mxds that contain layers that normally live in a ...
0
votes
1answer
42 views

ESRI layer files to directed graph?

I am pretty new to ArcGIS and would like to extract GPS coordinates of nodes as well as the length of all edges connecting those nodes from some ESRI layer files ...
1
vote
0answers
75 views

Making feature layer selectable in ArcObjects Java without getting AutomationException 0x80004005?

I am currently making a FeatureLayer from a resultset. The feature layer seems to work properly and will display on the map. However when I choose "select all" on my feature layer I get the ...
2
votes
2answers
144 views

How do I find a layer based on source name using ArcObjects?

I am relatively new at creating tools with ArcObjects and I am having trouble finding a layer based on the layer's source name by looping through all layers. I've seen here that it is possible, but I ...
1
vote
1answer
58 views

Updating In Memory layers, saved layers, group layers and single layers? [closed]

I was wondering if someone can give an explanation to why the following the scenarios happen ? or direct me to relevant thread or documentation? Back story is that I have been working a lot with ...
1
vote
1answer
97 views

Adjust PictureMarkerSymbol size to distance (ArcGIS 10.2.5 SDK Runtime for .Net)

I'm working with ArcGis 10.2.5 Runtime SDK for .Net. I have created a PictureMarkerSymbol that shows data of an area of interest in miles, and the question is, how can i fit the symbol size to a ...
1
vote
1answer
144 views

WMS layer details not clearly visible in Leaflet

I cannot figure out where the problm is. I use GeoServer and Leaflet. My problem is that when I visualise some layers (in particular that with the names of the clients) I cannot see them all at each ...
3
votes
1answer
47 views

ArcGIS converting list of enumeration in single field of s-57 data?

Im storing s-57 data in an MDB which is being symolised via a layer. Some attributes in s-57 data can be a list of enumerations and I want to find a way to show the actual values the enumeration ...
1
vote
0answers
72 views

Getfeatureinfo is not working with geoserver point line sources

I'm not able to get information with Getfeatureinfo when clicking on point & line layers. For polygons it works fine. I'm using the code below to execute the WMS service: google.maps.event ...
2
votes
2answers
352 views

Adding a Polygon to an OpenLayers3 Map with coordinates read from a string

I do have a bunch of coords as a string read from a wps request result. I want to display these coordinates as a new layer added to the exisiting map. What I do is to split the string by containing ...
2
votes
0answers
285 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. ...
0
votes
1answer
351 views

Adding an OpenLayers 3 layer parameter to change external layer controls

I have this JSFiddle that has a couple of layers and then a box after it where my opacity slider would be if all the correct external resources were loaded in. In the 'Cities layer 2' layer ...
1
vote
0answers
31 views

Updating basemap and layers at same time using ArcGIS Runtime SDK for .NET?

i'm working with ArcGIS Runtime SDK for .NET 10.2.5, my app has different graphiclayers with objects that are continuously moving around the map (new position data is provided fastly), the problem ...
0
votes
0answers
123 views

Heron template deactivates overlays

I'm using the template of Google layers with an overlay of World Cities(OpenGeo), whenever I try to add some more overlays the application results in an error. It loads all the overlays but whenever I ...
1
vote
0answers
21 views

Toggle layers on print composition

I want to use QGIS to make several views of bold colors for one same map. I've been using the layers in order to keep one on top of another. How could i make a composition on the print composition ...
4
votes
1answer
140 views

Automatically create new layers from a single dataset using definiton query for unique values in a field

I would like to automatically display a featureclass as different layers based on a specific field. I've seen a few tools online and on XToolsPro under the category of Split by Attributes, but they ...
2
votes
1answer
96 views

Merge and export two layers that utilize blending modes

I have a new question that I'm trying to solve. Spent more time than I can to admit trying to come up with a solution that doesn't require bringing the layers into Photoshop or the GIMP (which would ...
1
vote
1answer
127 views

How to get programmatically selected layers from the QGIS legend?

My QGIS plugin exports all layers from QGIS to KML format. Now I'd like to export only selected layers. However, I can't find any hints in QGIS API. Is it possible to iterate over selected layers in ...
2
votes
1answer
166 views

Apply Symbology from a Layer

I am trying to update the symbology of a layer with another layer with a python script. I have written a code for this. But I am getting the following error message : ERROR 000732: Input Layer: ...
2
votes
1answer
153 views

Layer selection visibility unchecked in initial state in OpenLayers 3

I have this JSFiddle example that has two vector layers in it, 'Cities Layer 1' and 'Cities Layer 2'. As you can see from this example, cities layer 1 has a visibility set as the default of true and ...
2
votes
1answer
389 views

How to load a *.qgs file in a C++ QGIS standalone app?

I'm using QGIS-2.4.0 API to develop a standalone app by C++. I saved a test.qgs file in QGIS Desktop software, in the project, there was one layer and it was visible. Then I loaded the test.qgs ...
1
vote
1answer
46 views

Geoprocessing breaks my data links after upgrade?

I've had this problem all day, and it's happened before, too. I am running desktop 10.3.1 and want to produce a very simple buffer from a single parcel. The output is assigned to the same .gdb that ...
1
vote
0answers
354 views

Filter geoJSON layer after it has been loaded

I'm declaring and defining a geoJSON layer first, like: var layer1 = L.geoJson(null, { onEachFeature: function(feature, layer) { ... } }); ..and then loading a CSV into it, like: ...
1
vote
0answers
100 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 ...
0
votes
0answers
75 views

What is corrupting my layer file?

I'm trying to save layer files from a colleague's mxd. As usual I right clicked on the layer and saved as layer file. Simple - but no - the layer files can't be opened. I get this message "Adding ...
1
vote
1answer
59 views

.net arcobjects retrieve user value from layer data source

I have a need to get the user value from a layer properties. The value is from: Layer Properties -> Source -> user in Data Source (sorry not enough score to attach the picture). I tried to check ...
0
votes
1answer
50 views

How do i match Layers in QGIS

am trying to create a map, which shall show NRW ( a part of Germany) with some extra gimmiks. Those Gimmiks are Coordinate based locations of several Manufacturers. Later on i want to adjust the ...
1
vote
1answer
248 views

Single WMS from single mapfile with several rasters in MapServer

I have several rasters in a single mapfile, I put them as layers like here: LAYER NAME "Layer 1" GROUP "All Layers" TYPE RASTER STATUS ON ...
3
votes
2answers
747 views

How do I reach a layer inside a GroupLayer?

I am having problems in ArcObjects. I am struggling to get to the individual (feature-)layers inside a GroupLayer. Does anyone know how to do that ?
2
votes
2answers
161 views

definition query with 3 plus variables to loop with python and save layer files

I have a script that takes an input feature class and uses a field within this class to create a definition query for each unique field. A question on how to do this is listed below saving layers for ...
2
votes
1answer
36 views

Postgis spatial query st_disjoint

I have 2 layers that I want to compare. I wish to retrieve the features in the layer 1 that have no part in common with the features in the layer 2. I try queries like that but do not returns me the ...