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
votes
1answer
29 views

Search layer in MXDs

I work on arcview 10.3 and i try to find layer called "ways" in several mxds. i try this code but it does not work. anyone know how to do it?: import arcpy,os,sys,string import arcpy.mapping from ...
0
votes
1answer
881 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
153 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
1answer
340 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 ...
7
votes
1answer
3k views

Use python to add layers to TOC

I've been battling with adding layers to the TOC for some time now. I have managed to single layers added but need to loop through a folder and add all layers. Shapefiles I cannot get to add at all. ...
4
votes
2answers
3k views

How do I add my own map layers to Leaflet

I have a Leaflet map and want to add two of my own small polygon layers (currently in shapefile format, but they could be converted to GeoJSON). Can this be done without a mapserver to publish them ...
1
vote
1answer
23 views

Adding shapefile layers in QGIS causes previous layers to disappear

This is my first time having such trouble, but I'm only a casual user. I have a base raster layer of the school I work for and I've been adding vector shapefiles on top of that in separate ...
0
votes
1answer
107 views

How to query postgres with gis to get GeoJSON for GeoJSON tile layer?

I have a postgres database with one table like the following: CREATE TABLE post_pl ( gid serial NOT NULL, zip character varying(5), zip_n integer, city character varying(50), geom ...
1
vote
0answers
23 views

Adjust Geoserver home page just to WMS service

I want adjust my first Geoserver home page(Before logging in) just to WMS service! Can anybody help me please?? Thanks.
1
vote
1answer
365 views

How to perform a true GIS clip of polygons layer using a polygon layer in R?

I would like to do a true GIS Clip in R of soils polygons using a series of single boundary polygons, but I cannot find an R function to properly do it. It should work just like the CLIP function in ...
0
votes
0answers
49 views
+50

Error with GeoExt.data.WMSCapabilitiesStore + gx_wmslegend

When I use this code (code in bold means for comparison between codes): // create a new WMS capabilities store store = new GeoExt.data.WMSCapabilitiesStore({ url: ...
0
votes
0answers
30 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
3answers
1k views

Adding shapefile as layer in ArcMap via Python scripting?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shapefile to the current map. (And then do stuff to it, but that's ...
-1
votes
1answer
51 views

Layers Question

I'm currently mapping with a free account on CartoDB but I've run into a roadblock. I need to add multiple visualization layers onto my map but the free account limits me to merely four. Is there any ...
0
votes
3answers
329 views

Z-index in OpenLayers 3: layer ordering in OL3

Is there a method to cjange Z-indexes of layers in OpenLayers3 like it was in old version? map.setLayerIndex(markers, 99); //set the marker layer to an arbitrarily high layer index and I need to ...
3
votes
1answer
946 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
0answers
17 views

Setting KMZ layer visibility

How do I set the visibility scale for a line KMZ created from ArcMap (Layer-to-KMZ). I'm sure I would have to go into the KML code and add, but add what. That is to say as I zoom in and out using ...
1
vote
0answers
12 views

How to add on click information on places in any layers in OpenGeo Suit 4.5?

I recently installed OpenGeoSuite 4.5 and I am very new in to it. I uploaded my .shp file in it and it showing that layer currently. Now I want to add some information(name and a little info etc) of ...
2
votes
2answers
712 views

Openlayers - Get Type of Layer

Is there a way to get the type of all the layers in an OpenLayer maps object? What I am trying to do is iterate over all the layers in my OpenLayers map object and populate a dropdown list with the ...
0
votes
1answer
21 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 ...
1
vote
1answer
95 views

How to update projection of layers in Geoserver using gsconfig

Im using following code to find projection of layer from geoserver.catalog import Catalog cat=Catalog("http:// localhost:8080/geoserver/rest") myResource = cat.get_resources(store='storeName', ...
1
vote
2answers
153 views

Save a layer for each unique value 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 ...
1
vote
1answer
25 views

Layer toggle disappears leaflet

I'm having a bit of trouble finalizing a project I'm working on. When I upload my map to filezilla, my map layer toggle doesn't show up: before uploaded: after uploaded: Does anyone have any idea ...
0
votes
2answers
106 views

How to request group of layers from Geoserver with turn off/on capabilities? Geoserver layer organizer

I would like to organize my layers by topics, and for each of them (if chosen on the client-side), I would like to request a single-tile image, which contains the predefined layers in the correct ...
1
vote
2answers
64 views

How do I rename Shapefiles in QGIS?

I have a huge list of layers in a project that are named in a foreign language. i I want to translate and add the English title to the name. When I right click on a layer and choose properties- ...
1
vote
0answers
55 views

Download layers from arcGIS online in python [closed]

How can I get layers/maps from arcgis online in Python? I mean to download layers from Arcgis online in python, just like publishing. I've searched about it in the documentation of Arcgis 10.2.2, but ...
1
vote
0answers
28 views

Geocoding Result layer does not show up in ArcMap?

http://i.imgur.com/XF5iQN4.png Everything was going fine until I geocoded the addresses. The addresses were all matched, but the Geocoding Result layer wouldn't show itself on the map. There should ...
2
votes
1answer
34 views

QGIS - Save not working after copy-paste between layers

I am trying to copy points from one layer to another in QGIS, both shapefiles, both with the same schema, both point files, both with the same Coordinate Reference System. The shapefile was originally ...
0
votes
1answer
90 views

Refresh Map after Invoke URL

I am making a map on Auto Desk Infrastructure Map Guide Studio. Now I created a small ASP.NET website and hosted in local machine, Now on click of different buttons in flexible layout toolbar, I ...
3
votes
0answers
58 views

Sourcing free live traffic layers to use in MXD of ArcGIS Desktop?

I am looking for free live traffic layers for an ArcGIS Desktop 9.3 MXD. My searches haven't been that successful.
9
votes
3answers
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 ...
0
votes
1answer
664 views

Draw order (zIndex) of OpenLayers polygons and points in the same layer

My question is similar but slightly different from this one: http://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons ...
0
votes
1answer
104 views

Problem with snap layer when in name is space

I'm trying to make a option, where user can choose layer to snap. All is okey when layers names are without space, but if in name is space (like 'something layer name') snapping does not work. How can ...
4
votes
1answer
71 views

Working with AutoCAD Layers in ArcMap

I am following the ArcGis10.0 desktop help to bring cad data into ArcMap but I'm having trouble accessing the Autocad layers set up in the Autocad file. I am: using the add data to reference in the ...
1
vote
1answer
36 views

python script to retrieve names and scale range from an ArcGIS MapServer url

i am pretty new at ArcPy. i need to write a python script to retrieve names and scale range from an ArcGIS Map Service url. i had a look around json and url2lib but i am lost. I want to retrieve the ...
0
votes
1answer
98 views

QGIS 2.0.1 - problems to add layers - encoding?

I have just installed standalone QGIS 2.0.1 on a PC with Windows 8. But, when I open it and try to add layers nothing happens? I browse to find the file I want and click 'open' but it doesn't turn up ...
1
vote
2answers
106 views

How to specify one layer among many with getWMSInfo?

I am using getWMSFeatureInfo with multiple point layers. When I click on a point on map, how to specify which layer that point belongs to?
7
votes
1answer
188 views

Load third-party APIs only when the corresponding map layer is requested?

OpenLayers allows multiple map layers to be hosted on a common platform. If the map application supports a wide variety of maps, say from Google, Yahoo and Microsoft, I find that upon initialization, ...
1
vote
1answer
214 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
33 views

How can I join a buffer layer to the layer it was created from?

I have two relevant layers for this problem: Real estate parcels (point data) Multiple ring buffer layer - contains multiple buffer rings around each particular real estate parcel. (0.5, 1, 1.5, ...
1
vote
1answer
208 views

How can I change SQL query through a layer of an action (python)?

I have three layers from three diferent database tables. When I click in other layer I want to change (with an action) the query of that three layers. How can I do that? Thank you
1
vote
2answers
188 views

Using Qt Designer to Create a Form in QGIS that can search for a specific point in a layer

Good Day! I would like to ask if you can create a form in Qt Designer to create a form that can search for a point on the map using data that the user will provide such as the Name. I am currently ...
2
votes
2answers
101 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 ( ...
0
votes
0answers
51 views

OpenLayers 3 - Monitor layer loading progress

I'm doing an upgrade from OpenLayers 2 to OpenLayers 3. In OL2, I was monitoring the loading progress of layers with their loadstart and loadend events. With grid layers I was even able to show a ...
0
votes
1answer
134 views

How can I copy columns from layer 1 to layer 2?

I have two layers, the first layer is pipe: that has some fields (column) title like : length, id, material. Also I have another layer that is empty (without any fields). How can I copy fields ...
0
votes
1answer
51 views

How can I enable a file to be edited if ArcMap won't let me edit it already?

I have two wetland layers. One file downloaded from the National Wetland Inventory and one from the U.S. Fish & Wildlife Services. Both layers were downloaded through MassGIS's Online Mapping ...
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
2answers
321 views

How to avoid “Handle bad layers” message when using QGIS Flowmapper plugin?

In QGIS, if I close a project and try to open it a few days later I often get a message that says "Handle bad layers". This is very frustrating because when I open the project various layers will have ...
0
votes
1answer
180 views

Get layer name by click on features OpenLayers3

I want to add selec interactions to my OL3 map. Adding two different select interactions like this is not working. Only the second one works. Like this: var select = new ...
0
votes
2answers
57 views

SQL filter to show one layer only if another layer is missing

I have two oracle tables that represent buildings in my town. The first table represent buildings that are surveyed and measured accurately but doesn't cover all the parts of the town while the second ...