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
3answers
220 views

How to symbolize a layer on multiple fields?

I'm working in ArcGIS 10. I have a layer that contains 8 attributes and each one of these fields can be categorized into 3 sub categories. I need to display them on a single map. Update I ...
2
votes
1answer
539 views

how to fix greyed out edit button

I created a QGIS map, which I was able to edit (right click on layer and select toggle edit, or use button in tool bar). Having returned to work on the plan, most layers now have this button greyed ...
0
votes
0answers
102 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
37 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
1answer
305 views

How to extract list of layers in MXD using ArcGIS Desktop 9.3.1 and Python 2.5?

I have been trying to extract a list of all the layers in my mxd (Arc9.3.1), using Python 2.5. If I could have the source of the layers too that would be even better... But as long as I can get a list ...
0
votes
3answers
91 views

Many to Many Efficient Routing

Not sure if this has been posted yet. But I couldn't find any software that can do this yet. I am given a large set of random locations and a set of set office location. I would like to map the ...
4
votes
1answer
740 views

What is Python equivalent of ModelBuilder's Iterate Feature Selection?

My data consists of two featureclasses: Points = points representing trees Polygons = Polygons representing % canopy area by area. Each polygon in the FC has a % canopy measurement in the ...
1
vote
0answers
144 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
2answers
281 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?
0
votes
0answers
82 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
1answer
84 views

Split by attribute automatically on several layers in QGIS

I need to do a 2 stage split by attribute, using QGIS 2.0.1-Dufour. After the first split, I got 30 layers. Is there any way to do the second split automatically? I don't really like the idea to make ...
0
votes
2answers
98 views

How to save all layers in a MXD with arcpy

I'm using this code and it does not work. I simply want to save the layer after I repair the source/symbology/etc without manually clicking, save as layer file and overwriting the file. import arcpy ...
2
votes
1answer
215 views

How to copy single polygon and paste multiple times to same layer in Arcmap 10?

I'm attempting to copy a single polygon and paste it 113 times to make "parcels" for a condominium building.
0
votes
2answers
65 views

Trouble using saveACopy with group layers [closed]

This code works fine on layers in the TOC that are not group layers, but errrors out if there are any group layers in the TOC. import arcpy, re, os arcpy.env.overwriteOutput = True #loop through ...
1
vote
1answer
54 views

How to preview new added layer in Geoserver?

I get my GeoServer up and tried to published my layer. I have my own shapefile and I follow the document below to add new layer intend to publish it. geoserver shapefile-quickstart doc Referring to ...
2
votes
0answers
57 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,
5
votes
3answers
1k views

How can I set the base layer of map before initialization?

I have been using map.setBaseLayer(layer); to switch to my preferred map layer, using the localStorage variable layer that is stored in my web browser, upon initialization of the map. But I realize ...
1
vote
0answers
97 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= ...
2
votes
1answer
44 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 ...
1
vote
1answer
303 views

How to convert shapefile to KML file using ArcPy? [duplicate]

Python script that checks to see if a specific layer file exists in the current workspace and, if it does, converts the layer file to a KML file. Does it work with a shapefile? Code so far: for file ...
0
votes
1answer
361 views

How to zoom to the extent of Qgsvectolayer qgis?

Anyone know how to zoom to the extent of a Vectorlayer in qgis using python plugin?
1
vote
0answers
76 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
1answer
92 views

ESRI ArcMap Topology rules on multi story buildings

I would like to run some topology rules to find snapping errors in our polygons but I am running in to the problem where we are working on multi story buildings with every polygon regardless of floor ...
0
votes
0answers
124 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 = ...
1
vote
1answer
365 views

How to activate a layer in QGIS layers legend

How can I activate a layer in qgis map legend automatically using python code . I am using qgis.utils.iface.setActiveLayer(self.theLayerToEdit) but the layer is still not checked in the maplegend. ...
0
votes
0answers
46 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?
1
vote
0answers
72 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 ...
4
votes
4answers
1k views

How to get vector data from OSM to use in QGIS?

How do I get data from OpenStreetMap which I can then edit in QGIS layer by layer? What is the best OSM output and what / how do I get to a suitable input for QGIS? OR...is there another appraach to ...
6
votes
2answers
943 views

Can QGIS preserve layers when exporting a PDF? [duplicate]

I saw this posted about a year ago (Can QGIS preserve layers when exporting to PDF?) but figured it was worth asking again -- is this possible? My usual workflow with ArcGIS is to export to AI then ...
0
votes
0answers
61 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 ...
1
vote
1answer
530 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 ...
2
votes
0answers
84 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 = ...
1
vote
1answer
123 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 ...
3
votes
2answers
326 views

Access Stamen tiles flavors with OpenLayers

i'm using OpenLayers (v2.13.1) and would like to use Stamen Toner tiles as background. The example is simple to understand : http://maps.stamen.com/test/openlayers.html But i'd like to use the ...
2
votes
1answer
132 views

Can I Turn Off or Remove Map Layers in QGIS Print Composer

The title pretty much says it all. I have a base map in QGIS that I am using with several Print Composers. In one of the Print Composers, I don't want one of the layers to show up. Is there any way ...
3
votes
1answer
216 views

How to replace the legacy function “doQueries ” to AMD ESRI Javascript format?

I'm trying to understand the migration of ESRI API for javascript, from legacy to AMD. In the case of this example, how replace the fucntion doqueries????: function init() { map = new ...
3
votes
1answer
619 views

Layer map plots on top of one another in R/ggplot2

I'm making a choropleth map in R/ggplot2. I have the colored part working just fine. This code p <- ggplot() + geom_map(data=c_1860, aes(map_id = GISJOIN, fill = AHL002), ...
1
vote
0answers
36 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?
0
votes
0answers
121 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) { ...
2
votes
1answer
357 views

ArcGIS 10.0 get sde information out of .mxd

The overall goal here is to iterate through several directories of .mxd files and document which SQL Server instance of SDE they are pointing to, with the database name and feature class names. All ...
4
votes
1answer
60 views

QGIS 2 bold Layer names?

I am currently working with QGIS 2.0 in an Ubuntu environment. I have a quite large project with many different layers and layer-groups. By default the layernames are in bold fonts and the groups are ...
1
vote
1answer
217 views

How to set style in the database (QGIS)

Is it possible to set style layers in the database? (QGIS) [MySQL database] I would like to set and share my style to other users when they open the layer it's still as my style. Thank you
1
vote
2answers
80 views

Error adding a delimited text layer

Im working with QGIS 1.8.0 and I have been trying to upload a delimited text layer but keep getting the following error : The layer ...
2
votes
1answer
152 views

Unable to change the layer unit in QGIS

I have been working with QGIS for 2 weeks and I got the hang of it now. The problem now is I cannot calculate the area of a created polygon. Because the layer unit is not changing to meters. When ...
0
votes
1answer
36 views

Last moment a layer in Geoserver was viewed

My company publishes >1,000 layers using several geoservers. We are publishing them on several different websites. Because there are so many layers, it is impossible for us to know which layer is ...
2
votes
1answer
435 views

Openlayers custom (local) OSM tiles layer with limited extent

I know, how to add an overlay layer by specifying my own URL. But what if the overlay layer extent is not as large as base layer - e.g. overlay layer is only avaliable for one country and not for the ...
2
votes
1answer
441 views

Can one convert text annotations to a layer in Qgis?

I know text annotations can be turned on & off with Ctrl+T... but is there any way to export them as a layer? Thanks!
0
votes
1answer
181 views

Error 'Invalid geography. Antipodal edge…' with Postgis

I have a table in postgis like this CREATE TABLE locations (id int, name VARCHAR(255), pos geography(POINT, 4326)); with a couple of points. E.G. INSERT INTO locations (name, pos) VALUES ...
3
votes
2answers
539 views

How display many layers from Geoserver in one map?

1) I publish 4 layers in Geoserver (planet_osm_line, planet_osm_point, planet_osm_polygon, planet_osm_roads). 2) Then I add styles (from sld styles) to the Geoserver. 3) Then I set this styles in my ...
2
votes
1answer
155 views

OpenLayers: Can I drag a feature between two maps?

Is it possible to drag the features between two different maps? Now, I create feature on event mouseenter but I would like to insert the feature and at the same time start to drag this feature.