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
854 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
2k 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
516 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
631 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
154 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
339 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
391 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
575 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
428 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
220 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 ...
5
votes
2answers
837 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
822 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
545 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
152 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
10k 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
229 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
5k 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
284 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
109 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
316 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
508 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 ...