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

6
votes
1answer
153 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, ...
4
votes
1answer
125 views

How can I modify layer order with the QGIS python API

Typically, after a new_layer = addRasterLayer(...) that inserts new_layer before the active layer, I'd like to move it to the top of the table of contents. How to do it? I use an existing QGIS ...
2
votes
1answer
55 views

geoserver/openlayers: multiple layer geotiff

I have a geotiff file with multiple layers (46 layers), each layer corresponding to a different date (the geotiff layers corresponding to sea surface temperature, 1 layer per year). I imported this ...
2
votes
1answer
265 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 ...
2
votes
1answer
290 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 ...
2
votes
1answer
1k 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 ...
1
vote
1answer
26 views

More than one group for a single layer in Geoserver?

I have a huge number of layers in my geoserver that I have painstakingly imported and they all work correctly when viewed with GeoExplorer etc. I want to know if there is any way to create set maps ...
1
vote
1answer
18 views

How to change the symbology on many image files within a group?

I have a group of raster images from lidar data (so a DEM). When loaded in, they all have different symbology - so their color scheme and color ramp are all different. I would like to create a group ...
1
vote
1answer
49 views

Displaying QGIS layer after loading with Python

I'm successfully loading several layers with Python, but can only get to see them in the map window if I manually zoom to extent afterwards. Once the last layer is loaded I call zoom to extent in the ...
1
vote
1answer
23 views

Icons of different layers cover each other

I have converted 6 KML files (including a set of points) into 6 layers by ArcMap 10. For points in each layer, I have considered a special icon with a specific color. I also decreased the size of ...
1
vote
1answer
140 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 ...
1
vote
1answer
188 views

How can I change SQL query through a layer of an action (python)?

I have three layers from three diferent database tables. When I click in other layer I want to change (with an action) the query of that three layers. How can I do that? Thank you
0
votes
1answer
36 views

Millions of polygons: displaying layers in Leaflet based on location being viewed?

I'm trying to create a map of all parcels in a state. In my state, this is several million parcels. In their current format, they are encoded as topojson and divided up by county. I'd like to show ...
0
votes
1answer
73 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 ...
0
votes
1answer
16 views

Using QGIS, how can I create attributes within a polygon layer based from a selection in that layer?

I'd like to add a column, or attribute rather, to selected rows within a polygon layer. I would simply like to make a binary system, where those that are selected receive a "1,' let's say, and all ...
0
votes
1answer
59 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 ...
0
votes
1answer
59 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
1answer
144 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 ...
0
votes
1answer
63 views

QGIS 2.0.1 - problems to add layers - encoding?

I have just installed standalone QGIS 2.0.1 on a PC with Windows 8. But, when I open it and try to add layers nothing happens? I browse to find the file I want and click 'open' but it doesn't turn up ...
0
votes
0answers
23 views

In QGIS Process Modeller, is it possible to automatically run a function on several layers without listing all combinations?

Trying to develop a Model which includes finding any intersections between layers and then merging them all into a single layer. I have 12 layers in total, it's not really efficient to list all the ...
0
votes
0answers
15 views

Can a joined-layer have its attribute changed depending on what layers are selected/deselected?

Using QGIS, I have a polygon-grid layer which covers everything, Layer_All joined with 2 other grid layers: Layer_1 and Layer_2, both of which intersect at various points. I would like Layer_All to ...
0
votes
0answers
132 views

OpenLayers modify selected feature

I am trying to modify an already selected vector (feature) in Open Layers. In my map i have implemented "select on click" functionality, so what i would like to achive is to have a "Modify" button ...
0
votes
0answers
57 views

How to activate edit tools

I have opened a project I worked on earlier on another machine, but the edit tools are not active, so i cant turn on editing to change a layer. What is the reason for them to be gray, and how can i ...
0
votes
0answers
33 views

Android app where i can import image and set waypoints by GPS

Hello i'm looking for an application for android where I can upload a large image raster and apply for it `these GPS waypoints. We would like to count the trees in the area, we have the exact raster ...
0
votes
0answers
23 views

LayerSwitcher problem in FireFox: layer after turn off and on are not displayed

I have a problem displaying layers using the LayerSwitcher. The problem only occurs on FireFox and not in the IE. On some applications, layers which I turn off and again on, are not displayed until I ...
0
votes
0answers
28 views

In Opengeo 4.0.2 suite, enabling labels causes map to show pink screen.

In Opengeo 4.0.2 suite, enabling labels causes map to show pink screen. The map shows up properly if labels are switched off. I am using Opengeo 4.0.2 suite on Ubuntu 13.10 server. How do I ...
0
votes
0answers
73 views

Geoserver tile caching

i have a problem with "tile layers". i want to display my layers in tile layers but i always have a blank page. i'm already displaying them in the "Preview layer" with openlayers and it worked. i ...
0
votes
0answers
23 views

Show the paths but not roadsides and driveways in the line layer

I want to display paths in the woods but the paths are all in One (line) layer that contains all roadsides, pavements, drivvays, but also paths, tractor road and other relevant roads in, and up to the ...
0
votes
0answers
53 views

Crash when editing a layer and when saving in QGIS

When I edit the layers, and its small changes like adding a name (or make it appear in the map), QGIS very often crashes (like for every third or fourth or fifth edit, seldom gets past ten edits ...
0
votes
0answers
42 views

OpenLayers: WMSGetFeatureInfo shouldn't return feature when a layer is hidden

In OpenLayers, I have a map with several layers. I created a control to query the layers and return feature info. var info= new OpenLayers.Control.WMSGetFeatureInfo({ ...
0
votes
0answers
48 views

QGIS 2.0.1: Changing layer properties with python console

I'm working on a plugin that will aim to ensure that the following steps either "transparent" to the user with one click :   Creating a table with predefined fields Record in this table in postgis, ...
0
votes
0answers
79 views

how do I add attribute features to an attribute table which already exists?

Using Verson 2.0, downloaded as normal. I have an ESRI shapefile of my road map for 2006. I have a paper map of roads for 1969. I want to see what roads have been built between 1969 and 2006 (none ...
0
votes
0answers
34 views

Ignore Transparent Pixels for Bounds Determination

I am displaying an Image using GWT OpenLayers on a map. My Image has transparent pixels and the system which returns my Image returns a footprint that is equal to the image plus the transparent ...
0
votes
0answers
65 views

Kartograph.js: Conditional styling of each path in a layer

I'm trying to make a web-map with Kartograph.js based on an svg map. I want to fill the paths of a layer based on an attribute. I tried doing it with the accompanying .css file like this: #map svg ...
0
votes
0answers
92 views

how can i read an attribute value from qgsfeature?

How can i read an attribute value from qgsfeature ? i am trying to update some attribute using other and i have to read value from attribute in the qgsfeature . my source code: provider = ...
0
votes
0answers
41 views

What is the action name in qgsinterface for the deselect feature from all the layer tool?

I want to add the deselect feature from all the layer tool in the toolbar when the qgis user start editing a vector layer. anyone know what is the name of this action in qgis api 1.8?
0
votes
0answers
55 views

Geoserver 2.4.0 via the web admin interface, not adding layers in Internet Explorer, but working in Firefox

For some reason I cannot seem to add layers via Internet Explorer, but I can via Firefox 23. In addition the styles that I upload also appear broken in Internet Explorer 8, but do not in Firefox. Is ...
0
votes
0answers
104 views

Add Layer into existing GroupLayer in map c#

I can't add Layer into existing GroupLayer in map. I'm trying this code below, but it does not work! I need code looks like this: public void AddLayer(AxMapControl mapControl, ILayer pLayer) { ...
0
votes
0answers
63 views

group all layer index file after adding to TOC

I have added all the tif file of shape file to the map (Desktop).what i need to do group all tif file as one layer to TOC.How to do? Please help me.I am using c#.net
0
votes
0answers
98 views

How to create a Layer from a list of points in PyQgis

I`ve developed an algorithm that generated an two dimensional array with points. Each subList of this array must be displayed as an polygon on the map view, and the recently created Vectors should be ...
0
votes
0answers
55 views

Change feature's image when it's not clustered

I'm clustering the features on the layer using AnimatedCluster this way: dataLayer = new OpenLayers.Layer.Vector("Data", { strategies: [ new ...
0
votes
0answers
51 views

Is there a way to create read-only layers?

I have a project in QGIS with several views loaded from a postgis-database. Editing and creating new objects in these layers won't work (because they are views) and it would be easier if the user ...
0
votes
0answers
47 views

Making a KML layer “always on”

Is there a KML tag or specification by which you can force a given layer (specifically, a screen overlay) to be "always on", in that there is no way for the user viewing the file to make that layer ...
0
votes
0answers
130 views

How to populate an asp.net text box with values rather than display them as popups

I am using Leaflet Vector Layers from here and Esri ArcGIS Server 9.3.1 and developing in the .NET Framework. I would like to send the information that displays in a popup to text boxes when the user ...
0
votes
0answers
103 views

QGIS layers not adding properly

using QGIS 1.8.0 lisboa on windows 7 pc adding vector layers and they are not adding properly they don't show up in the layers list but they are there when I happen to merge the the layers ...
0
votes
0answers
248 views

WMS layers and KML layers are shifting in openlayers

I am searching a solution for this problem for a long time (2 weeks) and i could not find any thing that solved my problem: I am building a map application that i need to show some features (points ...
0
votes
0answers
41 views

How can I import layers into a database?

According to the QGIS User Guide (release 1.8.0, page 203/204) I only have to drag a layer from the QGIS Browser to the DB Manager. But for me this does not work.
0
votes
0answers
87 views

“could not get any sources: no image returned from source WMS” error in mapproxy demo

I am trying to connect my mapserver to MapProxy. First part of the map file is shown below MAP FONTSET "fonts.lst" IMAGETYPE png MAXSIZE 4000 SIZE 800 800 EXTENT -20000000 -20000000 20000000 20000000 ...
0
votes
0answers
83 views

Create Layer including drawing objects

I draw some polylines on map. How create new layer with this features? Map and Polylines must be in different layers. public void DrawPolylineUsingInputGeometry(IActiveView activeView, ...
-2
votes
0answers
50 views

Using python script to change group layers data source path

I am trying to implement the python script supplied by GetSpatial here: Python Script to change Group layers and am having some difficulties. import arcpy, datetime, os, io, sys def ...