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
24 views

Updating and interacting with map layers through a windows form

Using arcobjects I am attempting to connect a windows form with a checkedlistbox, to the layers that I have on my map in ArcGIS. When I first create my form, the list of checkboxes will automatically ...
0
votes
2answers
60 views

Layered world map

First off I just want to say that I am NOT sure if this is the correct place to ask this question; So if it is not, please direct me to the correct exchange. So for the question: I am looking for a ...
0
votes
1answer
59 views

Arcpy - add layer tif

I'm trying to write a python script that will add a tif to the table of contents of my map. (Eventually I want to convert to tool that allows the user to type in the filename and then has the tool ...
3
votes
5answers
3k views

Adding Raster Layer without lyr file using ArcPy?

i wonder how i can add a raster layer to a remote (not the current) mxd file with arcpy. I need to not use a lyr file for that. For vector Layer i have the following lines working fine : mxdPath = ...
1
vote
1answer
53 views

Serve very basic WMS data to a GIS system from my PHP server

Apologies for the basic nature of this question - I hadn't heard of GIS until this morning! I have a PHP server with some basic data for geographic points in a MySQL database - each one has a ...
1
vote
0answers
48 views

PyQGIS Set Extent for loaded layers - Refresh problem

I've written a plugin which loads a number of map layers (based on constraints) and I would then like to set the canvas extent to a selection of them. Code very similar to that below works perfectly, ...
0
votes
0answers
23 views

Problem on displaying a layer in overlay on a s57 map

I am loading a s57 file, I select only some layer to be displayed. I am under QGIs 2.8 At this point it is ok, the coordinatereferencesystem is EPSG4326 WGS84 and at the bottom of the windows of qgis ...
0
votes
0answers
75 views

OpenLayers 2: WMS layer attribution legend doesn't change between WMS layers, it just piles up

I'm using this to put legends in WMS layers. It works nicely when similar layers have the same legend (eg. layer A1 with legend AAA and layer A2 with legend AAA). The problem is when WMS layers have ...
1
vote
0answers
32 views

VectoreLayer Still Empty even if attribute has been set with value

I am working with the qgis api c++ 2.8.2, my application is written in QT 4.5.3 / C++ I had to create a vectorlayer in memory with attributes and features and export it to a shp file to import it in ...
0
votes
0answers
29 views

layer name and longName are identical when they shouldn't be

I am attempting to use a script to re-source a bunch of layer files in a folder (adapted from Unable to change data source path for group layer file): import arcpy, datetime, os, io, sys def ...
1
vote
0answers
47 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
28 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
29 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
69 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
54 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
28 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
229 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
18 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
616 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
338 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
46 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
92 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
324 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
405 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
991 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
34 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
41 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
51 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
96 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
49 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
68 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
91 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
43 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
59 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
189 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
214 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
220 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
28 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
87 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
20 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
106 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
60 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
81 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
103 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
92 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
333 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 ...