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

0
votes
1answer
53 views

ArcGIS Feature Class verse Feature Layer

In general is it better (more efficient) to work with Feature Classes (FC) or Feature Layers (a feature layer of a FC). I know when I construct model I always (or generally) work with feature layers ...
1
vote
1answer
108 views

Ordering Cartodb torque visualization over Google Maps heatmap layer

I am attempting to create a map with two layers: a CartoDB Torque visualization on top and a Google heatmap layer underneath. So far I have only been able to get them to draw in the opposite order ...
1
vote
2answers
51 views

Referencing layer in Table of Contents using ArcPy?

I'm looking for the best way to reference a layer in the TOC using arcpy and, if it is possible, that is different than the following: mxd = arcpy.mapping.MapDocument("CURRENT") df = ...
1
vote
2answers
73 views

Using Python to export multiple layers to .pdfs

I have found a solution to the issue below. The problem had to do with coding GetParameterAsText without actually using it as an input in a tool. That was the reason the raster layers wouldn't turn ...
0
votes
2answers
32 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 ...
1
vote
1answer
119 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 ...
0
votes
0answers
13 views

OpenLayers get feature from layer at viewport position

How can I get a feature from layer at a viewport position, in openLayers 2.12. For example something like... Layer1.getFeatureAtPosition(x,y)
1
vote
2answers
131 views

How to request group of layers from Geoserver with turn off/on capabilities? Geoserver layer organizer

I would like to organize my layers by topics, and for each of them (if chosen on the client-side), I would like to request a single-tile image, which contains the predefined layers in the correct ...
0
votes
3answers
70 views

How to separate states in USA file using ArcGIS for Desktop? [duplicate]

I have found a few different files containing the entire United States, with attributes including states. Is there a way to separate the states out into their own files (perhaps in one file ...
0
votes
0answers
5 views

getFeatureFromEvent from multiple layers simultaneously in OpenLayers

I'm trying to return multiple features from two layers from a user click (one feature from each layer)? I'm using openLayers 2.12. I have 2 vector layers containing polygons, and a container layer ...
3
votes
1answer
70 views

Is it possible to add a raster file as layer from an URL?

I have several geoTIFFs stored on a server that I can access through http. I would like to add them as raster layers analogous to adding a local raster file through the "Add Raster Layer" button, but ...
0
votes
1answer
33 views

How to iterate through feature class to produce multiple point density files in ArcGIS?

I'm trying to create separate point density layers for each feature within a feature class owning to differing density characteristics within each feature. I would like to be able to accomplish ...
0
votes
1answer
113 views

Problem with snap layer when in name is space

I'm trying to make a option, where user can choose layer to snap. All is okey when layers names are without space, but if in name is space (like 'something layer name') snapping does not work. How can ...
1
vote
0answers
24 views

Update shapefile name with layer name

I had a layer that I split by fields. The resulting files were given a name. I updated the names of the resulting layers in QGIS but have realized that the shapefiles have not been updated ...
0
votes
1answer
19 views

Problem moving layers in QGIS

Just wondering if anyone ever experiences any problems moving layers? I have set up QGIS in the office and it works brilliantly for everyone apart from one of my colleagues who finds that on odd ...
1
vote
1answer
126 views

Why does Describe function fail on annotation layer with RuntimeError: Object: Describe input value is not valid type?

I am accessing layers in an mxd programatically and also accessing the layer properties using the Describe function lyr =arcpy.mapping.ListLayers(mxd) # gets me the list of layers in mxd desc= ...
0
votes
1answer
893 views

Draw order (zIndex) of OpenLayers polygons and points in the same layer

My question is similar but slightly different from this one: http://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons ...
1
vote
0answers
17 views

Print boundaries of one layer over another [closed]

i am new to QGIS. I have a base map from google, openstreet map over which i want to show the boundaries of another layer. How can i do that? While trying to edit, is it possible that QGIS allows to ...
1
vote
2answers
114 views

How to specify one layer among many with getWMSInfo?

I am using getWMSFeatureInfo with multiple point layers. When I click on a point on map, how to specify which layer that point belongs to?
0
votes
0answers
33 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
128 views

OpenLayers - cannot set layer opacity

I have the following problem: by default, you can simply change the opacity of layer by writing for example: layer.setOpacity(0.3); But when I add it to my map SelectFeature controls, my layer is ...
3
votes
1answer
41 views

how to copy layer and add to same mxd and rename layer using ArcPy and ArcMap 10.2?

I am trying to copy a layer in an mxd and add that layer to the bottom of the TOC using Python, but I have not found a way to save the mxd programatically without making a copy. I also haven't found ...
2
votes
0answers
33 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
286 views

How can I copy columns from layer 1 to layer 2?

I have two layers, the first layer is pipe: that has some fields (column) title like : length, id, material. Also I have another layer that is empty (without any fields). How can I copy fields ...
2
votes
1answer
153 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
2answers
107 views

How to bind layer display?

I work on several layers in arcmap 9.3 My question is about creating binds to display theses layers directly. like ctrl+1 ( display / hide layer 1 ) ctrl+2 ( display / hide layer 2 ) ctrl+3 ( ...
1
vote
1answer
250 views

Geoserver api: how to determine a layers respective workspace?

I am using the geoserver api to find information about layers that are available. I am using: http://localhost/geoserver/rest/layers.json to get a dynamic list of all layers. If I then select a ...
0
votes
0answers
14 views

Saving and updating problems with PostGIS-Layer in QGIS

I have a OSM populated PostGIS DB (filled with osm2pgsql). All tables are working fine. But for my work, I need to combine some polygons with some points: create table attraction as select way as ...
0
votes
1answer
38 views

Saving Feature Class Symbology into a Layer or Object to apply to another Feature Class

I am creating a tool to automate a data standardization process. Part of this process is saving the feature class (variable "filename") as a layer file, projecting it into another coordinate system ...
2
votes
2answers
250 views

Using Qt Designer to Create a Form in QGIS that can search for a specific point in a layer

I would like to ask if you can create a form in Qt Designer to create a form that can search for a point on the map using data that the user will provide such as the Name. I am currently creating a ...
2
votes
1answer
2k views

Layer visibility using maxscale minscale not working

I'm using Openlayer and Geoserver. I have a series of layers that have a scale parameter like: 1:50000-1:25000 where 50000 is the max scale while 25000 is the minscale. I have a map like in this ...
0
votes
0answers
27 views

PRACH data plotted in a better way but not completely

I am close to finishing the visualization of PRACH in mapinfo. Here's my output so far (for 4 counters) Unfortunately, for some sectors it is not working as it should be. Can you please help out? ...
-1
votes
0answers
28 views

Features in a layer dont transfer from data to layout view

i have a layer in data view that i am using to show the locations of wells and when i go to layout view about half of the locations disappear and cant view them anymore in layout view but still exist ...
0
votes
2answers
34 views

batch save as layer to relative path in ArcPy

I would like to use a similar code as below, but one that uses relative paths. Since my input is a batch of tif files (not layers), I do not know if I need to use other functions like ...
1
vote
1answer
360 views

Get feature from two overlapping KML layers doesn't work

I did an implementation similar to http://openlayers.org/dev/examples/sundials.html The difference is that I have two or more kml layers at the same location and want to show their information ...
1
vote
1answer
42 views

new layer from calculations with fields of other layers in QGIS

I've two layers, both with the same fields: A, V, where A is the shape's area and V a value given by me. I want a new layer with shape created by the intersection of the other layers' shapes and a ...
0
votes
1answer
47 views

Mapbox GL JS, self hosted vector tiles with missing levels

Using Mapbox GL JS with self hosted vector tiles in protobuf format where it looks for tiles using {z}/{x}/{y}.pb paths. I have a scenario where I only have data for zoom levels 9, 11 and 13. Is ...
0
votes
1answer
982 views

Marker layer not responding to events in OpenLayers

I have multiple layers in OpenLayers: three vector layers, one google map layer, and a marker layer. I registered feature selected event to all three vector layers (which works fine, but btw is that a ...
0
votes
1answer
32 views

Accessing “valueField” property of layer's symbology using ArcPy?

This has been really hard to debug, as I had no idea where to look at first, but I have made an attempt to access the "valueField" property of a layer file. This layer file is of the UNIQUE_VALUES ...
3
votes
1answer
1k 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) ...
1
vote
1answer
38 views

Source for cloud cover map layer over UK

I'd like to add a layer to display historical data on cloud cover in a Leaflet project I'm currently working on. This is specific to a given day in 2012 for a city in England, and ideally I'd like to ...
0
votes
1answer
162 views

Where to upload layers in geoexplorer?

I just install opengeo suite (boundless) in my machine and try to explore it. I followed the instruction in user manual and I encountered a problem. In "Load your data with GeoExplorer" part, after ...
1
vote
1answer
58 views

How to add label to QgsVectorLayer by Python

my goal is to define label programmaticly for the case similar for the figure below: But didn't find any guidance how to do so using Python. I have a feeling it could be done using QgsLabel but ...
3
votes
1answer
218 views

Using Python Add-In to delete/remove ArcMap layers that are turned off?

I have made a python addin button which removes layers that are turned off in an MXD. The strange thing is that I get different results depending on whether I run the python commands in the python ...
0
votes
1answer
35 views

How to Send a Feature to a Different Layer [duplicate]

I have a polygon that I made using the buffer tool on a layer. The problem is, I can't figure out how to send this polygon to the layer I would like it to be on. The yellow polyon is the one I'm ...
0
votes
1answer
154 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 ...
0
votes
1answer
145 views

Accessing secure Geoserver layer with username password

I created Users, Groups and Roles in geoserver. And I set the user roles for my workspace. user1 can read user2 can write And I want to access my layers as anonymous like this: ...
0
votes
1answer
107 views

Refresh Map after Invoke URL

I am making a map on Auto Desk Infrastructure Map Guide Studio. Now I created a small ASP.NET website and hosted in local machine, Now on click of different buttons in flexible layout toolbar, I ...
7
votes
2answers
208 views

Load third-party APIs only when the corresponding map layer is requested?

OpenLayers allows multiple map layers to be hosted on a common platform. If the map application supports a wide variety of maps, say from Google, Yahoo and Microsoft, I find that upon initialization, ...
2
votes
3answers
1k views

Adding shapefile as layer in ArcMap via Python scripting?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shapefile to the current map. (And then do stuff to it, but that's ...