Tagged Questions

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

2
votes
1answer
88 views

Clipping from a given point

I am working with model-builder and I am trying to clip an area around a certain point. Is there a tool that I can use in which I can assign it a certain distance from the point. For instance, if I ...
2
votes
0answers
895 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
2answers
2k views

How to get names of all layers in a store in GeoServer using OpenLayers

I have strict requirement to retrieve names of all layers in a GeoServer store using OpenLayers. I've gone through the post here, but it doesn't answer my question. I've also gone through GeoServer's ...
1
vote
3answers
4k views

Merging Two or More Layers using ArcGIS for Desktop?

I am working with three clipped layers that are shown in the TOC. I created these layers from a large watershed shape-file. However, each clipped layer includes the layer before it and only expands on ...
1
vote
0answers
101 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 ...
2
votes
0answers
53 views

Merging Layers and assigning different values [duplicate]

Possible Duplicate: Merging Two or More Layers I am working with three clipped layers that are shown in the TOC. I created these layers from a large watershed shape-file. However, each ...
3
votes
2answers
59 views

Where to look for oceanographical/environmental data for the Arctic (Baffin Bay/Davis Strait area)

I am looking for oceanographical/environmental variables that are available for Baffin Bay/Davis Strait area over the time period of 1995-2011, however, I am not familiar with ...
2
votes
3answers
2k views

Change zIndex of Vectors in openlayers

I have a bunch of linestring features on a vector layer. Some of them overlap. If I trigger the hover event on those features, I want them be in front. I did find some functions to set the z-index of ...
0
votes
0answers
134 views

Leaflet Layers Control - Z-Index? [duplicate]

Possible Duplicate: How to change Leaflet Map panes layering order (z-index)? In the Leaflet Layers Control L.Control.Layers() described here, is there a way to control the z-index (layer ...
0
votes
1answer
92 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
643 views

Applying layer file not formating labels in ARCGIS 10

I'm applying layer files in ARCGIS 10 using the ApplySymbologyFromLayer_management command via a python script tool. The symbology part works fine but the lables are not formatting. It is my ...
1
vote
0answers
346 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 ...
2
votes
1answer
355 views

How to create new layer within a DXF file?

Using OGR in Python, I'd like to create some geometries within a DXF file, but not in the "0" layer, but in new ones. I tried with: import ogr, os, osr, sys ds = ...
3
votes
1answer
283 views

List Elements or Datasets of a given Layer

I am sorry of this might sound like a noob question but I cannot find any answer from google. I used arcpy to do batch processing of Network Analyst - Make Service Area layer of thousand of stores. ...
1
vote
2answers
131 views

Fetching field values from uncommitted features on Qgis

I'm trying to fetch a feature's field value on Qgis, I use QgsFeature.attributeMap().value(cont int & key).toDouble() This works fine for committed features but it always returns " 0 " if the ...
1
vote
2answers
157 views

How to edit several layers simultaneously?

I have the land occupation of an area and a layer for each year : 2005-2006-2007-2008...2010. Theses are polygons. There is errors on layers which are common to all of them. For instance: There's a ...
2
votes
1answer
948 views

Add AutoCAD .dwg annotation file to Arcmap using python (Same as +ADD Data button)

I would like to add an AutoCad .dwg file to Arcmap using python the same way that the +ADD Data button does. I can add an Annotation layer with python but only as a feature layer not as an annotation ...
3
votes
1answer
2k views

XYZ Layer in Open Layers has Missing Tiles

In Open Layers I'm having a missing tile problem where it generates a missing link icon and a pink background. I found several threads including this one saying to add this code ...
2
votes
5answers
3k views

Is there any way to extract coordinates of a road segment using QGIS?

I add my own road vector data on top of Google map using open layers plugin with QGIS. The vector layer is generated using PostgreSQL DB. Is there any way to extract coordinates of a road segment ?
4
votes
1answer
1k views

OGR and DXF files: Is it possible to handle layer names? (only “entities”)

I'm using Python and OGR to extract the layers of a DXF file and convert them into SHP. I began with: import ogr, os, sys driver = ogr.GetDriverByName('DXF') datasource = driver.Open('test1.dxf', 0) ...
1
vote
2answers
564 views

Its possible to catch ServiceException in Openlayers?

Im trying to catch exception in OpenLayers using vector layers in conjunction with http protocol, its possible to intercept an ServiceException from geoserver ... it will be great to display some ...
2
votes
1answer
719 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 ...
0
votes
3answers
157 views

Postgres geometry in a pdf file with php

Is there a way to draw a postgres geometry in a pdf file using a php script? Thank you.
1
vote
0answers
353 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 ...
2
votes
0answers
432 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: ...
2
votes
1answer
616 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 ...
1
vote
2answers
3k views

Some Help to select some features from a vector layer

I have a vector layer (kml) that has some point with scientific name of plants and animals, some description of the place where the people saw them and the coordinates. Basically the table associated ...
2
votes
2answers
1k views

Why am I unable to publish a postgis layer to geoserver?

I left arcgis and microsoft sql and now I am trying to connect Qgis+PostgreSQL (PostGIS) + GeoServer. I've brought my postgis database to the server, created a "store". And now I'm trying to publish ...
5
votes
1answer
1k views

How do you symbolize a feature class layer in ArcMap 10 based on one attribute's value and then another attribute's value?

I currently have a point feature class that has a couple of attributes that I want to use to symbolize its layer. One of the attributes is called ExceedsTolerance, which either has "Y" or "N" for its ...
3
votes
2answers
453 views

Unable to select Vector Layer

I am using the following example, to select a vector layer feature on click. The example demonstrates Highlighting and selecting the layer. I was able to successfully implement the Highlighting of the ...
1
vote
2answers
227 views

Add record in related table ArcPad

i have a layer form (named form_layer) containing a combobox and allows to add records into the related table, by showing a form of the related table (named form_table) When i try to add record ...
6
votes
2answers
990 views

How to copy a group of layers between QGIS projects?

In ArcGIS I am used to being able to have a couple of MXD documents open and copy-paste groups of layers from one MXD's table of contents to another. This can save a LOT of time ensuring consistent ...
6
votes
2answers
961 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 ...
3
votes
1answer
573 views

is it possible to convert 9.3 lyr to 10 lyr

I have a customer who sent me a lyr file in 9.3 and I am using 10, is there a way to import it in. It seems to hang up whenever I attempt to open it! Thanks
1
vote
1answer
2k views

OpenLayers - How to display selected features as graphic markers?

I'm attempting to render a point feature as a graphic. When that feature is selected I'd like to display a green indicator above the graphic. It seems backgroundGraphic and externalGraphic are ...
3
votes
2answers
163 views

Why might layer appear not to turn off in ArcMap?

I was called over to try and fix an issue with a coworkers ArcGIS software (ArcView 9.3.1 SP1, Windows 7) and couldn't fix it. When a certain layer is turned off in the table of contents it never ...
21
votes
5answers
11k views

What is difference between map layer and spatial dataset (e.g. feature class, shapefile)?

This may be very trivial question. To me they seems very similar in concept. What is the difference between feature class and feature layer?
8
votes
2answers
3k views

How can I iterate over map layers in QGIS python

I'm having trouble figuring out how to iterate over map layers. I can access the currently highlighted layer in the table of contents via iface.activeLayer() but I want my code to operate on all ...
3
votes
1answer
241 views

Repairing disconnected layers with selection sets

Has anyone had any success of repairing disconnected layers that have selection sets that have their data sources broken in ArcGIS? Is there a way to detect this through code and then re-create that ...
4
votes
3answers
6k views

How to get the layer name?

I am using OpenLayers, Geoserver 2.1 CQL language. The problem is that I do not know how to address the layer. I am trying to call a function like this: var createWmsLayer = function(name, url, ...
1
vote
1answer
297 views

need to show multiple symbols for one point

I am working on a state map of parks with campsites. I want to show symbols for handicap access, tent camping, backpack camping, winter camping, rv camping. I have used a symbol for handicap but it ...
5
votes
1answer
1k views

Can I change properties of several layers simultaneously?

I'm working on bulk data. I have a few hundred GeoTIFF images imported into a QGIS project, and I'd like to modify their layer properties - things like the no-data-value, transparency of certain pixel ...
1
vote
1answer
1k views

Adding time enabled layers to ArcGIS online

I am trying to add time enabled layers into ArcGIS online. The information in the ArcGIS resource center makes it sound like it is possible to add time enabled layers from ArcMap to ArcGIS online. I ...
2
votes
2answers
1k views

How to remove layers of detail from an osm file?

I want to remove some layers from the osm map of an area. It has all the details like POI, offline routing and all. But I just want the map data. How can I remove this extra layer from the map?
2
votes
1answer
111 views

Keeping a vector layer always on top

I want to know how to keep a layer always on top of other layers! After adding a vector layer ( QgisInterface->addVectorLayer ), I want that layer to always be displayed on top of layers added later. ...
0
votes
1answer
329 views

Tiff raster display with polygon layer

Does any body have an idea about why *.tiff images are not displayed when added as raster layer to QGIS after adding a vector layer which has a polygon geometry? SOLVED !! In fact the tiff is ...
5
votes
1answer
529 views

MXD Performance - number of layers vs number of datasets

My mxd currently has 5 buildings layers accessing 5 different buildings datasets (one for each of 5 counties). Most often there would only be a single county's buildings in the current view, if that ...