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
2k views

Using Select by Location tool

I am using the Select by Location tool to select certain polygons on my shapefile layer. I start by having a given point as my Selecting Feature and that its relationship is completely_ contains. ...
2
votes
1answer
54 views

How does ArcGIS Pro 1.0 choose default color for first layer added to Map?

When I add my first vector dataset to the Map in an ArcGIS Pro 1.0 project that I created using the Map.aptx project template, it always comes in using a gaudy brown color like in the graphic below. ...
1
vote
0answers
69 views

About performance of qgis with big layer or a lot of layer

does anyone has a feedback on the performance of a big layer by exemple : I have a layer with 100 features, each feature contains specifics attributes with dynamic data, the data change each second ...
1
vote
1answer
34 views

CartoDB adjusting the style of the layer toggle function

The layer names are cut off in the toggle layer function. Is it possible to adjsut the font size or the length of the layer function box so text is not cut off?
16
votes
8answers
12k views

How to georeference a vector layer with control points?

I have a non-georeferenced vector layer that I need to be georeferenced. With raster layers the task is easy and straightforward, but I have no idea what should I do with my vector layer. I have a few ...
0
votes
2answers
143 views

Change Data Source of Raster Layer Added to Map Display? Unexpected default

I have a script that I'm using to generate raster maps and automatically add them to the map display, but when they are added they are sourced to a temporary location. I use the same code for ...
2
votes
1answer
100 views

Clipping from given point using ModelBuilder?

I am working with ModelBuilder and I am trying to clip an area around a certain point. Is there a tool that I can use in which I can assign it a certain distance from the point. For instance, if I ...
4
votes
2answers
708 views

Make a Qgis layer update from a changed data source

I'm trying to get layers to update automatically when their data source changes. I'm using R to write a shapefile with an attribute, and colouring according to that attribute in QGIS. I want to write ...
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....
0
votes
2answers
112 views

SaveToLayerFile failed - “value is not a layer”

Tried doing a SaveToLayerFile on a layer in a workspace, but it confusingly says it's not a layer. I know it is a layer because the script can access lyr properties (e.g. name) and all of the ...
0
votes
2answers
199 views

Add external WFS layer to geoserver using REST API

I am trying to add an external WFS as a datasource to my geoserver via REST API. I already added a new workspace and WFS datasource. Now I want to publish a layer from that WFS on geoserver. The ...
0
votes
1answer
79 views

Having more than one Openlayers layer switcher associated to one map

I am developing an OpenLayers 3 web application were I would like to incorporate more than one Layer Tree alongside my map. I have this JSFiddle set up that it has a map with multiple layers and one ...
1
vote
1answer
56 views

Mapbox Studio Draw Order

I have made a map using Mapbox Studio. The map is made up of 2 map sources, MapBox Streets Custom Style - a PostGIS layer I am having trouble working out how to set the draw order. I have tried ...
0
votes
0answers
21 views

Sub catagories in leaflet layercontrol

I am trying to create subcategory in layers which looks like below and trying to display the Banks on basis of their names. I created a new control customLayerSwitcher = L.control({ position:...
0
votes
0answers
34 views

Transparent layers won't display correctly, but print OK in ArcMap?

Transparent layers are not displaying correctly in ArcMap 10.2 or in exported maps, but they do print OK. They look like this: The weird thing is - the transparent layers displayed fine a few ...
0
votes
0answers
20 views

Layering polygons over neighborhoods?

I would like to layer a polygon with 30% opacity using different colors over OpenStreetMaps or Google Maps like so: How might I go about doing that?
2
votes
0answers
187 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-...
3
votes
2answers
597 views

GeoExplorer: “Could not create layer record for layer group”

I installed GeoServer via OpenGeo Suite, and still working on it. I created a "Layer Group" and add layers from local PostGIS. I tried to preview it from "Layer Preview" and show perfectly through ...
3
votes
1answer
635 views

Where is the “Add vector layer”-button in GRASS 6.4.4. plug-in QGIS 2.10.1?

I've just downloaded and installed the new version of QGIS 2.10.1 with GRASS 6.4.4. When opening a new GRASS mapset and importing layers, I missed the button "Add a new vector layer". I've updated ...
1
vote
0answers
100 views

How to show two layers at the same time in Qgis

I have a question about Qgis layers. I want to see two layers at the same times. one is lines which are boundary lines and the other is polygon which are district. when i was surfing about this ...
1
vote
0answers
34 views

How to SetVisible a layer without redraw all the mapcanvas

I am working with QGis 2.8.2 API c++/ QT 4.5 I am displaying a lot of layer in a mapcanvas, I am looking for a method like setVisible(boolean ) in order to setvisible or not a specify layer ...
1
vote
0answers
143 views

What could be making QGIS 2.10 crash when loading a project file?

On QGIS 2.10, running on Ubuntu 15.04 Linux, I have a project file that has a fairly large number of mainly shapefile layers, which gets to 99% on the slider to the right of where it has a message ...
1
vote
1answer
200 views

Openlayers 3 layer style issue

I need to create a layer with meteorological icons on it - about 100 of them. So. I define its source like this: mappingAPI.meteoIconLayerSource = new ol.source.Vector({}); I add icons as ...
1
vote
1answer
71 views

ArcGIS Layer Visibility Shortcuts or Tools

I am wondering if there are ways in which we can enable the layer visibility when holding a key and turn the layer off when releasing the key (in ArcMap). Something like in some online games you can ...
0
votes
1answer
31 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
93 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
88 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
4k 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
65 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 latitude,...
1
vote
0answers
91 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
41 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
111 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 ...
0
votes
0answers
40 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
74 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 = processing.runalg("qgis:...
1
vote
1answer
38 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
44 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
103 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
68 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
31 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
597 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
912 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
356 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
64 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 ...
2
votes
1answer
588 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
797 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, ...
4
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) ...