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)

2
votes
2answers
542 views

How to load layers from postgis to dotspatial or sharemap viewer

I want to develop a PostGIS viewer for PostgreSQL (with SQL query editor) to visualize PostGIS layers. Which spatial library (.net C# supported) do I have to use?
2
votes
2answers
516 views

Save a layer for each unique value using Python in QGIS

I have a map, in which each region is defined as an attribute of the map (I can select each region from the attribute table). I am trying to create new layers each one containing only 1 region using ...
2
votes
1answer
166 views

How to add Checkboxes in Geoserver

I have a POI table with some data of categories like Airport,ATM,Bank etc. I want to show these categories as checkbox so that if I click in the ATM Checkbox, only the ATM Points will be display. Is ...
2
votes
2answers
58 views

AttributeError: 'Layer' object has no attribute 'listLayers'

I want to use the result of OD cost matrix for my further calculations. However, whne I try to extract the sublayer "lines" it returnes an error AttributeError: 'Layer' object has no attribute ...
2
votes
1answer
24 views

Switch layer when zooming

I'm wondering if it is possible to set up a boundary on zooming for e.g. 3 different vector layers, so that when zooming in QGIS will automatically switch layer? For example layer 1 has scale ...
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 ...
2
votes
1answer
333 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 ...
2
votes
2answers
138 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
80 views

PyQGIS: How to get the list of valid layers in TOC?

To get the list of TOC layer names I used the approach suggested here: for layer in QgsMapLayerRegistry.instance().mapLayers().values(): print layer.name() But this method is not reliable due ...
2
votes
3answers
65 views

Saving extent of satellite imagery in ArcGIS Desktop?

I'm using 50cm imagery for the whole country of South Africa, which make zooming and panning painfully slow. Can I save imagery for just the area I am working with (ie. data frame, city, province)? ...
2
votes
1answer
282 views

How to copy paste layers from one QGIS project to another?

Using QGIS 2.4, how can I copy one or more layers (with its properties, style, and the path of the source data) on QGIS and paste it in a different .QGS project? I tried to make this, clicking in a ...
2
votes
2answers
544 views

Add multiple Layer files in subdirectories to mxd using python

I have more than 300 layer files located in many sub-Folders and sub-sub-Folders. All Sub Folders are located in one large directory.I read Use python to add layers to TOC and I try, with arcpy, to ...
2
votes
1answer
178 views

Is the MakeFeatureLayer temporary location the same as “in_memory”? [duplicate]

From the ArcGIS Desktop Help: The layer that is created by the tool is temporary and will not persist after the session ends unless the layer is saved to disk or the map document is saved. ...
2
votes
2answers
1k views

Creating New Layer After Sorting Attribute Table using QGIS?

I have been self-teaching myself some open source GIS. I downloaded QGIS and have been following this four part tutorial - ...
2
votes
2answers
841 views

How does Leaflet layer ordering work with CartoDB layers?

All, I'm trying to figure out how Leaflet layer ordering works when you have layers coming from CartoDB. I have a map with 1 polygon layer (cartodb), 3 point layers (cartodb), 1 basemap layer ...
2
votes
1answer
286 views

How to convert format and CRS of many shapefiles to kml (or csv, json..)?

I tried to use QGIS to transform shp files in kml and to translate the CRS to use in a google maps application. My problem is that I have a lot of shp files that i can open in a bulk manner by drag ...
2
votes
2answers
4k views

How to clip a layer file

I have a world imagery layer that I want to clip to a single county. I would just save as a JPEG and edit using other software, but this uses a lot of processing power if I want a high resolution. I ...
2
votes
1answer
446 views

How to realign (PostGIS) layers in QGIS?

I'm trying to realign layers in QGIS. As you can see here, the "background" light-blue layer is not aligned with the top layers. I'm working with pgAdmin III and importing PostGIS Layers in QGIS. My ...
2
votes
1answer
863 views

How to use arcpy.mapping to batch export layer to KML?

I am trying to export map layers from an MXD to KML using arcpy with the following code: import arcpy, os, sys, traceback arcpy.env.overwriteOutput = True mxd = ...
2
votes
1answer
1k views

Create new polygon layers from postcodes latitude & longitude

First at all, I want to say that I am geocoding enthusiastic but have no formal background on GIS. I'll do my best to use the right wording and make myself clear what I am striving for. Also the only ...
2
votes
2answers
1k views

Openlayers - Get Type of Layer

Is there a way to get the type of all the layers in an OpenLayer maps object? What I am trying to do is iterate over all the layers in my OpenLayers map object and populate a dropdown list with the ...
2
votes
1answer
551 views

Make Feature Layer tool problems in Model Builder

I am having a slight problem with using the Make Feature Layer tool in model builder. Basically I have a file geodatabase of points. I am trying to make a model to pull out points according to a ...
2
votes
1answer
1k views

Changing the name of layer using python

I am attempting to change the name of the layer. The following code changes the name of the layer but then removes the layer from the map, and I am not sure why. Note: I don't have any remove layer ...
2
votes
1answer
913 views

How to have a layer with many images that scale?

I know that in OpenLayers you can add Features to a Vector Layer which each have image but then they will not scale (i.e. their size stays the same independent of the current zoom) or at least I do ...
2
votes
1answer
23 views

How to iterate through layers of an MXD?

I know model builder will not iterate through the layers in an MXD, which is kind of fundamentally stupid if you ask me, but I still need to do exactly that. I am not a strong coder but i understand ...
2
votes
1answer
21 views

Automatic selection of colored regions when digitzing choropleth maps

I am new to working with GIS. I have a raster choropleth map similar to the one displayed below. I want to create a shapefile from the map, where each layer contains all the countries that have the ...
2
votes
2answers
56 views

Search MXDs with specific dataSource layer using Python

I work with ArcGIS 10.3 and I try to search a specific layer (with dataSource named "D:\desktop\Project\layers\1.jpg" ) in hundred of mxd's that spread in folder "D:\PROJECTS" and it divided to ...
2
votes
1answer
135 views

Dynamically add layer(s) to Layer Group

I have an Openlayers 3 app and users can retrieve stored routes from a web service and display them on a map. Currently each route is added to the top of the index but I'd like them to be inserted ...
2
votes
1answer
44 views

Dissolving Features from different Layers

I'm trying to dissolve polygon features from different layers by their FID. If two polygons have the same FID the result should be one single polygon. Maybe this drawing will help to make clear what ...
2
votes
1answer
155 views

Shapefile/vector layer not appearing in QGIS

I have a shapefile (calling it 'new.shp' for discussion's sake) that won't show up with other layers. If a fresh file is started and I bring in new.shp, it will appear, but any other layers imported ...
2
votes
3answers
55 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, ...
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 ...
2
votes
1answer
61 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 ...
2
votes
1answer
51 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. ...
2
votes
1answer
134 views

How to display map tips only for one layer?

I'm relatively new to QGIS. I added the hover labels to my map using the Map Tips. My issue is that it makes hover labels for EVERY layer on my map. I only want it to make labels for one layer. Is ...
2
votes
1answer
61 views

Replacing layer ArcSDE connection

I am very new to using Python... I have an MXD with all of my layer files in it. They are grouped by category etc. Each layer file references a dataset within my SDE. My SDE has two different ...
2
votes
1answer
292 views

External layer switcher and layer order

So I'm using an external layer switcher because I need it imbedded in a bootstrap dropdown menu. It works really great except for one thing.... when I change between viewing my base layers, the ...
2
votes
1answer
255 views

Go through items in a composer legend (QGIS 2.6)

I'm trying to develop a plugin in QGIS 2.6, which opens a composer, add a map and a legend, and (among other things) adjusts the legend. Is there a way to go through items in a composer legend with ...
2
votes
1answer
907 views

Define spatial reference of layer in ArcGis JavaScript API

I get an error "Map: Geometry (wkid: 3301) cannot be converted to spatial reference of the map (wkid: 4326)" when I want to add only graphics layer. I found that spatial reference for a map is defined ...
2
votes
1answer
161 views

Edit attribute table for shapefiles in folders and subfolders with arcpy?

Continuously to Merge shapefiles in folders and subfolders with arcpy I try to edit attribute table for 20 shapefiles that spread in big a folder and are divided to a lot of sub folders. All ...
2
votes
2answers
163 views

Merge layers and fill gaps

I have 14 layers, which are polygons. They represent the channel of a river at different periods. I need to fill the gaps that exist once I overlay the polygons, but I can't change the properties of ...
2
votes
1answer
82 views

Layer toggle disappears leaflet

I'm having a bit of trouble finalizing a project I'm working on. When I upload my map to filezilla, my map layer toggle doesn't show up: before uploaded: after uploaded: Does anyone have any idea ...
2
votes
1answer
338 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 ...
2
votes
1answer
558 views

Perform a group by query on geodatabase in ArcMap

I have a geodatabase called predictions.gdb and a feature class called output_gis_120_Project in that database. I imported this feature class as a layer in ArcMap. The attribute table with columns ...
2
votes
2answers
357 views

How to query postgres with gis to get GeoJSON for GeoJSON tile layer?

I have a postgres database with one table like the following: CREATE TABLE post_pl ( gid serial NOT NULL, zip character varying(5), zip_n integer, city character varying(50), geom ...
2
votes
1answer
312 views

How to convert ASCII in x,y,z format using gdal_grid?

I have a map saved in (AFAIK) Arc/Info ASCII format and I would like to convert it with gdal grid but I am getting errors. My data (p.csv) is in the following format: 319053.25,319301.12,544.28 ...
2
votes
1answer
108 views

Restrict WMSLayer (not map) extent with ArcGIS JavaScript API

Is there a way to restrict the rendering of a WMSLayer to a specified extent without restricting map panning and zooming? That is, I need the client to be able to pan outside the limits of the ...
2
votes
1answer
730 views

Code works on python console in QGIS but same doesn't work in stand alone script

I'm trying map rendering with stand alone script, so I have small script which works fine in python console provided QGIS, however when I run same code in stand-alone script it executes without error, ...
2
votes
1answer
2k views

Adding multiple layers in CartoDB using createLayer() not working

Using CartoDB (cartodb.js 3.5.02), it seems like you should be able to add multiple, independent tile layers to an instantiated Google Map. I've tried using createLayer() a number of ways, using both ...
2
votes
1answer
50 views

General terms for the Esri-terms “Layer” and “Feature Class”

I'm familiar with these terms used by ESRI: Layer Stores visual properties (color, symbols,…) does not store data (attributes, coordinates) links to a Feature Class (or raster data) Feature Class ...