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
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
3answers
152 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
1answer
119 views

Rendering order of layers in QGis libraries

I am using the QGis libraries in a external Qt App. When adding vector and raster layers (in any order) to the QgsMapLayerRegistry instance, it somehow sorts the layers so that the vector layers is ...
1
vote
1answer
66 views

How to copy a layer in TileMill?

I've been learning to use TileMill, and I want to be able to copy a layer. I especially want to copy layers connecting to an SQLite or PostGIS database in order to avoid having to type in multiple ...
0
votes
4answers
632 views

How to merge 48 separated US States layers into 1 layer, using MapInfo?

They are Census Block layers. The person on the website separated them into states so they can be download easier. I uploaded each states separate layer into MapInfo. Now I need to merge the files ...
0
votes
1answer
292 views

How to resolve error “Handle bad layers” in QGIS?

I'm new to QGIS and have been seeing what it can do for me – seems good. I imported shape file data from a UK Ordnance Survey data file and saved the file in a new folder. It was very good, doing all ...
1
vote
0answers
188 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 ...
0
votes
1answer
152 views

How can i select many rows from a table?

I want to create an action that select many rows from PostGIS table to show many lines in QGIS. How can i select many rows from table with python to add these rows in a layer? Thank you
0
votes
1answer
162 views

How do I style lines to show gradient colors for two attributes?

I have a layer with the city streets. I have a database with traffic values, including traffic going into the city and traffic going out from the city. I need to show the street links with different ...
3
votes
0answers
233 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 ...
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 ...
0
votes
0answers
85 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 ...
1
vote
0answers
143 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
224 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
2answers
288 views

ArcGIS 10.1: “ERROR 000223: Cannot extract event table properties” when iterating through multiple files/folder

I am trying to convert ~270k csv-files with lat/long-data to layerfiles. The files are split into folders by year, i.e. ~30 folders with ~9k csv-files in each. I have written a script to iterate ...
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 ...
1
vote
1answer
109 views

Openlayers Overview - disappearing layers

when I do this: var options = { autoPan : true, size : new OpenLayers.Size(300, 200), layers : this.map.layers, mapOptions : { allOverlays : true ...
5
votes
1answer
499 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 ...
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, ...
0
votes
1answer
107 views

In QGIS can I show just the lines in a Postgis query? How can I do that?

I have three tables in Postgresql, each table with one layer of lines. I want to show the path of an initial line to another final. Is it possible executing a SQL query? Thanks My three tables are ...
3
votes
1answer
159 views

Performing a field calculation affects selectable layers in ArcGIS 10.1

In ArcMap 10.1 I have a table open for a layer that I have set as not selectable. Yet when I use the Field Calculator for a record(s) in that table, it automatically makes the associated layer a ...
1
vote
0answers
149 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
1answer
101 views

Join attributes by date in Qgis

I learned (thanks!) to use the join feature built into the layer properties, but in my case it doesn't work because data do not match perfectly. Infact shape refers to geotagged photos, csv is a log ...
2
votes
1answer
221 views

Using multiple LayerIDs in a Legend

This should be simple, but I cannot find any documentation on how to do it. I have a legend that is bound to my map that contains several layers. I do not want all of the layers to appear on my Legend ...
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 ...
1
vote
0answers
62 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
1answer
45 views

geoserver returns incorrect number of points when cql used

I'm using Geoserver 2.2.4 to support WMS queries. All testing is done via the "Layer Preview" page. If I send a request with no CQL a map full of points is returned as expected. If I add a CQL ...
2
votes
2answers
415 views

Managing a large number of layers in OpenLayers/GeoExt and Geoserver

I am building a web application to facilitate the handling of approximately 2500+ historic maps. I think it would be too difficult for our users to search for specific maps in an ordinary layer tree. ...
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, ...
0
votes
1answer
138 views

Split Map using Python in Qgis

I have a map, in which each region is defined as an attribute of the map (I can select each region from the attribute table). I am trying to create new layers each one containing only 1 region using ...
0
votes
1answer
411 views

Feature Layer Selections

I'm new to arcgis and arcpy, so some of my lingo and terminology may be off. I have a script that takes a feature layer as an ainput. From there I want to be able to count the number of selections in ...
2
votes
2answers
1k views

How to clip a layer file

I have a world imagery layer that I want to clip to a single county. I would just save as a JPEG and edit using other software, but this uses a lot of processing power if I want a high resolution. I ...
1
vote
1answer
117 views

What ArcGIS Online feature layer can I use to display European states with unique country codes?

I'm writing a web page to display ECB statistics on an ArcGIS JavaScript API-based web map. I'm a bit lost when selecting a feature layer so that I can use the UniqueValueRenderer to make the states ...
1
vote
1answer
1k views

How to manage user privilege on layers to Arcgis 10 Desktop?

Problem: I am a Computer Analyst on a town hall. Here we have the sector A and B. Both work in ArcGIS 10 Desktop. The sector A has granted to access/edit everything. The sector A has all the ...
0
votes
1answer
97 views

How can I create a button to add a POI layer?

I am making a map of a city with openlayers. I have the shapefile data of the POI (hospital,bank,school etc.) I want to add the layers with buttons not in layerswitcher. Like whereis.com's quick ...
2
votes
1answer
227 views

How to realign (PostGIS) layers in QGIS?

I'm trying to realign layers in QGIS. As you can see here, the "background" light-blue layer is not aligned with the top layers. I'm working with pgAdmin III and importing PostGIS Layers in QGIS. My ...
5
votes
2answers
2k views

Create multiple vector layers by reading a GeoJSON file once in OpenLayers

I am a begginner to OpenLayers, and my question is about making things more efficient. My work is about displaying time-dependent weather elements on several point locations on the map. All these ...
5
votes
1answer
895 views

Export each layer in map to a separate image

I have a mxd file with multiple layers I have to export to PNG/JPG. I would like to create a script which turns on layers one at the time before they are exported. So far I have come up with the ...
2
votes
1answer
106 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. ...
4
votes
3answers
336 views

Why does the layer list context menu not open anymore?

I cannot access layers properties (i.e. change color, filter by query, anything). The mouse right click doesn't do anything. Is there a way restoring qgis to default? Ubuntu 12.04, QGIS 1.8
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 ...
0
votes
1answer
408 views

MapBox import from TileMill gives only 1 layer

This is my first time using MapBox and I'm trying to import a map from TileMill. The map has 11 layers, in TileMill, but when I import it directly to MapBox, it only seems to have a single layer. It ...
3
votes
1answer
139 views

definition query and mosaic dataset from gdb ArcMap 10.1 SP1

I have a Python AddIn Combobox to select a value from the drop-down list. This value changes the definition query of the layers in mxd. This works fine for "normal" feature classes, not for a mosaic ...
2
votes
1answer
444 views

How to use arcpy.mapping to batch export layer to KML?

I am trying to export map layers from an MXD to KML using arcpy with the following code: import arcpy, os, sys, traceback arcpy.env.overwriteOutput = True mxd = ...
2
votes
1answer
272 views

Special background layer not coloring in Kartograph map

I'm testing out Kartograph according to the documentation and a linked gist. Both my US and non-US layers color correctly, but I can not get the special "sea" layer to fill. I found an example here ...
3
votes
1answer
3k views

How to set up a layer control using Leaflet?

I have been working on a mapping application using Leaflet. I am using a WMS on Geoserver to get my layers, which are overlaid on a cloudmade basemap. I tried to use the layer control on my map by ...
2
votes
0answers
50 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-> ...
1
vote
1answer
969 views

Openlayers Vector Feature Popup

im trying to create a popup in Openlayers that would open when someone clicks a marker. And the marker is setup like this: new OpenLayers.Feature.Vector() and not with the ordinary marker layer. The ...
1
vote
1answer
476 views

How to select features from different WFS layers?

I'm trying to select features from different WFS layers but unfortunatelly it doesn't works in my code. This is my code: var select = new OpenLayers.Layer.Vector("Selection", {styleMap: new ...
1
vote
3answers
3k views

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 clipped layer includes the layer before it and only expands on ...