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

4
votes
0answers
65 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 ...
3
votes
0answers
219 views

calculate total Miles in a polygon using Google Map

I have an application that allows the users to create any custom polygon layer on top of google maps, i am interested to know if their is a way to select the road layer in this polygon and then ...
2
votes
0answers
30 views

Updating Description of MXD Layers

Is there a way to force the update of the Description content in the Properties/General/Description of each feature layer in an MXD? I frequently update metadata for each feature class in ArcCatalog, ...
2
votes
0answers
42 views

Is there a size restriction on KML layer in esri map?

My website utilizes ESRI's map and it contains several KML layers. Most of them show up fine except for the ones bigger than ~4MB. Are there any restrictions on KML file size? Thanks,
2
votes
0answers
62 views

why is my map is not in the center when I load my map in OpenLayers?

why is my map is not in the center when I load my map in OpenLayers?And when I drag my map,it dont move sometimes,It has been tortured me for a long time,any advice would be grateful! var maxExtent = ...
2
votes
0answers
49 views

What is the best way to manage dependencies between layers?

I have multiple layers that has dependency with each other. Such as: City; Courts; Lots; Front Lot; Buildings. The polygon's "block" depends on the polygon's "City." Example dependency: Buildings-> ...
2
votes
0answers
117 views

Ogr: How to add layer description to dgn?

I have created a dgn-file using Ogr, but can't find a way to fill out the description for this layer programatically. (something like _dgnLayer.Description = "Highways") opts.Add("SEED=" + ...
2
votes
0answers
221 views

Getting layers from SDE with vba

Im running arcmap 9.1. i have the code that lists feature classes in a list box from the SDE. The users select from one list box and adds it to another list box. How do i get it to show the layer name ...
2
votes
0answers
165 views

The layer added did not move in ArcGIS 10

I have a favor to ask. I already done the step that Mr PolyGeo and Aaron gave me from my previous question and it really look great when the layer did match all together. Thank you for that advise. ...
2
votes
0answers
669 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
0answers
359 views

Add CAD Drawing Dataset into ArcMap using Python

I am trying to add an CAD Drawing Dataset into ArcMap using Python. Question is how to add a Auto-CAD .dwg file to ArcMap using Python Normally comes in as CAD file within a Group layer with: ...
1
vote
0answers
15 views

Alternative satellite and hybrid layers for Europe published on WMS

For an application I am building I require to show satellite (high resolution) and street view layers, preferably also a hybrid view. Unfortunately, due to the application not running on a typical ...
1
vote
0answers
10 views

Can QGIS2 refresh layers without the need to reclassify each layer individually?

I have a set of layers which I'd like to have refreshed each time I open QGIS2.2.0 (Windows 7). Each of 14 layers (polygons) is linked via a join to a csv file with no geometry. The layer displays a ...
1
vote
0answers
39 views

Leaflet add and remove legends with layer selection

I'm new to Leaflet/Javascript and have been struggling to get legends a map to show only when a specific layer is selected from the layer control. I have three layers, one of which I would like to ...
1
vote
0answers
20 views

Changing the symbology of layer when converting from Layer to KML using Python

Is it possible to change the symbology of a layer file using Python? I have a script that creates a layer file and converts it to kml, but every time I run it the symbology color in the kml of the ...
1
vote
0answers
75 views

Part of text missing in legend and text boxes

I have had issues lately when exporting to pdf from ArcMap 10.2. Parts of the text sometimes fall off and goes missing. Mostly it's been some lines in legends, but now also text boxes. The text is ...
1
vote
0answers
41 views

Geoprocessing Ungroups Layers

Is there a fix for this, am I only imagining this, or is it a bug: ArcMAP 10.1 for Desktop Build 3035 on a 64 bit Windows 7 system When I run a geoprocessing task that modifies the input data (such ...
1
vote
0answers
83 views

How to add a MSSQL spatial layer using Python?

I'm having difficulty adding a MSSQL spatial data layer using Python. The database is password protected, and I can add the layer without any problems using the built in feature, but I can't make it ...
1
vote
0answers
57 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= ...
1
vote
0answers
46 views

qgis 1.8.0 crash when starting qthread

I am trying to update a vector layer attribute table using QThread. i connect a pushbutton click with a slot to start the thread: def EGSupdateAttributeTable(self): AttUpdateEGSThread = ...
1
vote
0answers
66 views

Sources for meterological data with high resolution

I was running Maxent on an endemic species of andaman and nicobar.But the climate data I have from worlclim.org ( tile number 29 ) is not of high resolution and thus I can't see the distribution ...
1
vote
0answers
33 views

How to search for layers in the layers panel?

I have QGIS projects with a lot of layers. Sometime it's difficult to find a layer into Layers Panel. How to search it?
1
vote
0answers
29 views

How to save KML-layers style (Q-GIS)?

Is it possible to save a KML-layers style? My layer is set to 50 % opacity and I want to save that setting into the KML-file. The plugin qgistokml can´t yet do it, and only work with points.
1
vote
0answers
161 views

How to load the default layer style from Postgresql with Python?

I would like to write a python macro that upon opening my QGIS project file will reload the default style for each layer from the postgres 'layer_style' table. I have had a look at the documentation ...
1
vote
0answers
109 views

Adding multiple layers to Tilemill from a single sqlite DB

This is a repost of a question I had over at the MapBox support board. Since I wasn't having much luck over there, I'm hoping I would have better success here. I'm having trouble adding more than a ...
1
vote
0answers
205 views

Handling “bad layers” in QGIS version 1.9

I'm having a problem every time I try and open any project in qgis 1.9. It will load part of a few layers and then a yellow bar comes up across the top of the map area that says "Handle Bad layers: 23 ...
1
vote
0answers
127 views

How can I move two layers at once in QGIS?

I'm trying to move two digitized layers, one containing points, the other polygons to a different location at the same time. QGIS doens't seem to allow this. Even if I select both layers and features ...
1
vote
0answers
59 views

proportion of image layer in OL

I tried create map with single image used OL. But I have a trouble: image in map has a wrong proportions. Img: 1540 x 1481 Img in map: 2858 x1481 My js code: $(function (){ var map = new ...
1
vote
0answers
147 views

Layer set visible

I add this layer like this: var POIData = new esri.layers.ArcGISDynamicMapServiceLayer("https://mysite.com/ArcGIS/rest/services/POI_Data/MapServer"); map.addLayer(POIData); ...
1
vote
0answers
61 views

Get layers and apply renderer to layer list from SDE ArcMap

I have the code that gets the layers from SDE, but when i add them to the map they have a different symbology. there is about 80 layers and i am accessing the SDE by getting the workspace from a ...
1
vote
0answers
193 views

Hack to change data source of a layer file in ArcGIS 9.3.1 with python?

I'm looking for a way to change the source of my layer file using python. Actually I want to do this because I need to re-use a XSL template which is defined under the tap HTML popup of the layer ...
1
vote
0answers
96 views

Remake gxp class

I want to remake gxp.editFeature class. In standart class to edit object need to choose it on map. I want choose abject in list of objects and edit it. So To do this i need make a new gxp.editFeature ...
1
vote
0answers
325 views

Using Google Maps with OpenLayers for some zoom levels

I've had a search on here to see if this has come up but I've not found anything, sorry if this is a duplicate. I'm trying to use the Google Maps layers with an OpenLayers site, but not for all zoom ...
1
vote
0answers
322 views

pdf google maps export

In my php+postgis+geoserver+OL application I have to export a map in a pdf file. This map has two layer: the base is a google map layer and a vector layer as overlay. Is there a way to make a pdf ...
0
votes
0answers
23 views

How to intersect more than 2 layers in QGIS

I have a dozen layers, some intersecting with others. Using the Intersect tool only allows 2 layers at a time but can you add extra layers to find where it intersects? Even if it's 3 layers as shown ...
0
votes
0answers
12 views

Layer offset issue in QGIS 2.0.1

I have two loaded WMS layer and want to change their position relative to each other. First, I tried to use Layer class and write some kind of plugin, but I can't find any method that allow to change ...
0
votes
0answers
11 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
12 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
47 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
51 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
20 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
18 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
17 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
28 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
20 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
31 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
31 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
39 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
57 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
30 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 ...