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 (1)

0
votes
0answers
13 views

Changing datasource of a .lyr file results in empty layer with empty symbology (ArcObjects VB.NET)

I'm having a hard time adding my grid to the map and changing its symbology with an existing lyr file. I have found a great post by Neil Clemmons that explains this, but it doesn't work for me. I ...
10
votes
8answers
8k views

How to georeference a vector layer with control points?

I have a non-georeferenced vector layer that I need to be georeferenced. With raster layers the task is easy and straightforward, but I have no idea what should I do with my vector layer. I have a few ...
0
votes
2answers
96 views

Change Data Source of Raster Layer Added to Map Display? Unexpected default

I have a script that I'm using to generate raster maps and automatically add them to the map display, but when they are added they are sourced to a temporary location. I use the same code for ...
2
votes
1answer
95 views

Clipping from given point using ModelBuilder?

I am working with ModelBuilder 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 ...
1
vote
1answer
21 views

How to add a tool as a layer in table of contents ArcGIS desktop 10.3

I have a custom script tool in my toolbox in arcgis. I want to add it as a layer in table of contents so when the map is shared people can have access to it easily. for example as shown in figure When ...
3
votes
2answers
89 views

Make a Qgis layer update from a changed data source

I'm trying to get layers to update automatically when their data source changes. I'm using R to write a shapefile with an attribute, and colouring according to that attribute in QGIS. I want to write ...
1
vote
1answer
16 views

Assigning OpenLayers Layers to different layer trees 'automatically'

I am developing an OpenLayers 3 web application were I would like to incorporate multiple layer selectors. Instead of manually adding each layer to a layer selector I would like to do it using the ...
1
vote
0answers
18 views

Different Leaflet fillcolors for different layers

I have a leaflet map set up with two layers and I want them to use different colorization functions to color the choropleth shapes. My shapes are set up in layers like this: var povertyLayer = ...
0
votes
2answers
54 views

SaveToLayerFile failed - “value is not a layer”

Tried doing a SaveToLayerFile on a layer in a workspace, but it confusingly says it's not a layer. I know it is a layer because the script can access lyr properties (e.g. name) and all of the ...
0
votes
0answers
20 views

How to properly draw and label overlapping polygons?

I would like to show overlapping polygons on a single layer. The polygons are coloured based on a property and labelled according to another property. The problem is then twofold: The polygons are ...
0
votes
0answers
18 views

Layer coordinates and geometry in ArcGIS API for JavaScript?

Currently I'm working on a system that uses the ArcGIS API for JavaScript with layers and map to display information on borders of specific regions. I don't want to display all information at once ...
0
votes
2answers
25 views

Add external WFS layer to geoserver using REST API

I am trying to add an external WFS as a datasource to my geoserver via REST API. I already added a new workspace and WFS datasource. Now I want to publish a layer from that WFS on geoserver. The ...
1
vote
1answer
406 views

Get feature from two overlapping KML layers doesn't work

I did an implementation similar to http://openlayers.org/dev/examples/sundials.html The difference is that I have two or more kml layers at the same location and want to show their information ...
0
votes
0answers
11 views

CartoDB adjusting the style of the layer toggle function

The layer names are cut off in the toggle layer function. Is it possible to adjsut the font size or the length of the layer function box so text is not cut off?
0
votes
1answer
42 views

Having more than one Openlayers layer switcher associated to one map

I am developing an OpenLayers 3 web application were I would like to incorporate more than one Layer Tree alongside my map. I have this JSFiddle set up that it has a map with multiple layers and one ...
0
votes
1answer
19 views

Mapbox Studio Draw Order

I have made a map using Mapbox Studio. The map is made up of 2 map sources, MapBox Streets Custom Style - a PostGIS layer I am having trouble working out how to set the draw order. I have tried ...
1
vote
1answer
303 views

Geoserver api: how to determine a layers respective workspace?

I am using the geoserver api to find information about layers that are available. I am using: http://localhost/geoserver/rest/layers.json to get a dynamic list of all layers. If I then select a ...
0
votes
1answer
49 views

OpenLayers & Google Maps: TERRAIN not showing as baseMap

I have a problem with OpenLayers and Google maps: on this page: http://46.37.22.75:8085/public/ I'm loading Google maps TERRAIN with Openlayers.js, everything worked well for about 1 year, but now ...
0
votes
0answers
11 views

Sub catagories in leaflet layercontrol

I am trying to create subcategory in layers which looks like below and trying to display the Banks on basis of their names. I created a new control customLayerSwitcher = L.control({ ...
0
votes
0answers
20 views

Transparent layers won't display correctly, but print OK in ArcMap?

Transparent layers are not displaying correctly in ArcMap 10.2 or in exported maps, but they do print OK. They look like this: The weird thing is - the transparent layers displayed fine a few ...
0
votes
0answers
16 views

Layering polygons over neighborhoods?

I would like to layer a polygon with 30% opacity using different colors over OpenStreetMaps or Google Maps like so: How might I go about doing that?
1
vote
0answers
31 views

Qgis delimited text layer from an excel file converted to .csv

I'm trying to add a delimited text layer using coordinates. The file has been created in excel and then converted to a csv file in the saving. When I put it into Qgis it doesn't recognise the ...
2
votes
2answers
476 views

GeoExplorer: “Could not create layer record for layer group”

I installed GeoServer via OpenGeo Suite, and still working on it. I created a "Layer Group" and add layers from local PostGIS. I tried to preview it from "Layer Preview" and show perfectly through ...
2
votes
1answer
384 views

OpenLayers - cannot set layer opacity

I have the following problem: by default, you can simply change the opacity of layer by writing for example: layer.setOpacity(0.3); But when I add it to my map SelectFeature controls, my layer is ...
2
votes
1answer
107 views

Where is the “Add vector layer”-button in GRASS 6.4.4. plug-in QGIS 2.10.1?

I've just downloaded and installed the new version of QGIS 2.10.1 with GRASS 6.4.4. When opening a new GRASS mapset and importing layers, I missed the button "Add a new vector layer". I've updated ...
1
vote
0answers
32 views

How to show two layers at the same time in Qgis

I have a question about Qgis layers. I want to see two layers at the same times. one is lines which are boundary lines and the other is polygon which are district. when i was surfing about this ...
1
vote
0answers
12 views

How to SetVisible a layer without redraw all the mapcanvas

I am working with QGis 2.8.2 API c++/ QT 4.5 I am displaying a lot of layer in a mapcanvas, I am looking for a method like setVisible(boolean ) in order to setvisible or not a specify layer ...
1
vote
1answer
328 views

ogr2ogr - extracting S-57 layers

I'm trying to extract the layer DEPARE from an S-57 datafile and convert it into a shapefile. I'm using ogr2ogr from OpenGeo Suite 4.5 (GDAL 1.11.1) on Windows 7 64 bit. The problem is that when I ...
2
votes
1answer
39 views

Programmatically get Layer source properties DataType with ArcObjects?

I am trying to access the DataType property of a Layer in the TOC in ArcMap. The layer is added from a web service as an IMapServerRESTLayer. The Data Type property is listed with Layer > Properties > ...
3
votes
3answers
69 views

Copying one or more layers (with properties, style, and path of source data) on ArcMap and paste into different ArcMap project?

I am using ArcMap 10.2.1 and i would like to take all the layers from one plan and bring them into another plan with all of the associated properties.
5
votes
2answers
2k views

Layer loadstart & loadend events in OpenLayers 3

OpenLayers 2 has these layer events "loadstart & loadend." What is equivalent to them in OpenLayers 3? While a vector layer loads and is rendered, I need to show a loading icon.
1
vote
1answer
190 views

Where to upload layers in geoexplorer?

I just install opengeo suite (boundless) in my machine and try to explore it. I followed the instruction in user manual and I encountered a problem. In "Load your data with GeoExplorer" part, after ...
1
vote
0answers
37 views

What could be making QGIS 2.10 crash when loading a project file?

On QGIS 2.10, running on Ubuntu 15.04 Linux, I have a project file that has a fairly large number of mainly shapefile layers, which gets to 99% on the slider to the right of where it has a message ...
0
votes
1answer
24 views

Arcpy script to turn off all layers in a MXD

I tried this standalone script to turn off all layers in the MXD: print "This script turns off the following layers:" try: arcpy except NameError: import arcpy mxd = ...
0
votes
1answer
1k views

Marker layer not responding to events in OpenLayers

I have multiple layers in OpenLayers: three vector layers, one google map layer, and a marker layer. I registered feature selected event to all three vector layers (which works fine, but btw is that a ...
0
votes
1answer
11 views

Openlayers 3 layer style issue

I need to create a layer with meteorological icons on it - about 100 of them. So. I define its source like this: mappingAPI.meteoIconLayerSource = new ol.source.Vector({}); I add icons as ...
1
vote
1answer
25 views

ArcGIS Layer Visibility Shortcuts or Tools

I am wondering if there are ways in which we can enable the layer visibility when holding a key and turn the layer off when releasing the key (in ArcMap). Something like in some online games you can ...
0
votes
1answer
20 views

Updating and interacting with map layers through a windows form

Using arcobjects I am attempting to connect a windows form with a checkedlistbox, to the layers that I have on my map in ArcGIS. When I first create my form, the list of checkboxes will automatically ...
0
votes
2answers
210 views

add featureset in graphics layer without iterating

I have a geoprocessing service that returns a large amount of features (featureSet). I want to attach them in a graphics layer, but I dont wont to iterate over all them. I tried using the ...
0
votes
2answers
38 views

Layered world map

First off I just want to say that I am NOT sure if this is the correct place to ask this question; So if it is not, please direct me to the correct exchange. So for the question: I am looking for a ...
0
votes
1answer
27 views

Arcpy - add layer tif

I'm trying to write a python script that will add a tif to the table of contents of my map. (Eventually I want to convert to tool that allows the user to type in the filename and then has the tool ...
3
votes
5answers
3k views

Adding Raster Layer without lyr file using ArcPy?

i wonder how i can add a raster layer to a remote (not the current) mxd file with arcpy. I need to not use a lyr file for that. For vector Layer i have the following lines working fine : mxdPath = ...
1
vote
1answer
173 views

Ordering Cartodb torque visualization over Google Maps heatmap layer

I am attempting to create a map with two layers: a CartoDB Torque visualization on top and a Google heatmap layer underneath. So far I have only been able to get them to draw in the opposite order ...
2
votes
1answer
2k views

Layer visibility using maxscale minscale not working

I'm using Openlayer and Geoserver. I have a series of layers that have a scale parameter like: 1:50000-1:25000 where 50000 is the max scale while 25000 is the minscale. I have a map like in this ...
1
vote
1answer
22 views

Serve very basic WMS data to a GIS system from my PHP server

Apologies for the basic nature of this question - I hadn't heard of GIS until this morning! I have a PHP server with some basic data for geographic points in a MySQL database - each one has a ...
1
vote
0answers
15 views

PyQGIS Set Extent for loaded layers - Refresh problem

I've written a plugin which loads a number of map layers (based on constraints) and I would then like to set the canvas extent to a selection of them. Code very similar to that below works perfectly, ...
0
votes
0answers
8 views

Problem on displaying a layer in overlay on a s57 map

I am loading a s57 file, I select only some layer to be displayed. I am under QGIs 2.8 At this point it is ok, the coordinatereferencesystem is EPSG4326 WGS84 and at the bottom of the windows of qgis ...
0
votes
1answer
225 views

Openlayers event cluster feature id does not appear on layer vector feature id list

My application's objective is to click on a cluster and produce a popup with a list of all placemarks clustered there where every entry is a hyperlink that closes current popup and opens a new ...
0
votes
0answers
19 views

OpenLayers 2: WMS layer attribution legend doesn't change between WMS layers, it just piles up

I'm using this to put legends in WMS layers. It works nicely when similar layers have the same legend (eg. layer A1 with legend AAA and layer A2 with legend AAA). The problem is when WMS layers have ...
1
vote
0answers
17 views

VectoreLayer Still Empty even if attribute has been set with value

I am working with the qgis api c++ 2.8.2, my application is written in QT 4.5.3 / C++ I had to create a vectorlayer in memory with attributes and features and export it to a shp file to import it in ...