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

0
votes
2answers
67 views

Trouble using saveACopy with group layers [closed]

This code works fine on layers in the TOC that are not group layers, but errrors out if there are any group layers in the TOC. import arcpy, re, os arcpy.env.overwriteOutput = True #loop through ...
3
votes
2answers
246 views

How to subsribe Web Map Service from GeoServer?

I have my shapefile inside GeoServer and I already published it as a layer. I am able to preview the layer under GeoServer web interface. Now, I want to subscribe / import/ retrieve the shapefile as ...
1
vote
1answer
58 views

How to preview new added layer in Geoserver?

I get my GeoServer up and tried to published my layer. I have my own shapefile and I follow the document below to add new layer intend to publish it. geoserver shapefile-quickstart doc Referring to ...
0
votes
2answers
104 views

How to save all layers in a MXD with arcpy

I'm using this code and it does not work. I simply want to save the layer after I repair the source/symbology/etc without manually clicking, save as layer file and overwriting the file. import arcpy ...
2
votes
0answers
62 views

Is there a size restriction on KML layer in esri map?

My website utilizes ESRI's map and it contains several KML layers. Most of them show up fine except for the ones bigger than ~4MB. Are there any restrictions on KML file size? Thanks,
1
vote
0answers
97 views

Why does Describe function fail on annotation layer with RuntimeError: Object: Describe input value is not valid type?

I am accessing layers in an mxd programatically and also accessing the layer properties using the Describe function lyr =arcpy.mapping.ListLayers(mxd) # gets me the list of layers in mxd desc= ...
2
votes
1answer
44 views

General terms for the Esri-terms “Layer” and “Feature Class”

I'm familiar with these terms used by ESRI: Layer Stores visual properties (color, symbols,…) does not store data (attributes, coordinates) links to a Feature Class (or raster data) Feature Class ...
1
vote
1answer
343 views

How to convert shapefile to KML file using ArcPy? [duplicate]

Python script that checks to see if a specific layer file exists in the current workspace and, if it does, converts the layer file to a KML file. Does it work with a shapefile? Code so far: for file ...
0
votes
1answer
401 views

How to zoom to the extent of Qgsvectolayer qgis?

Anyone know how to zoom to the extent of a Vectorlayer in qgis using python plugin?
1
vote
0answers
80 views

qgis 1.8.0 crash when starting qthread

I am trying to update a vector layer attribute table using QThread. i connect a pushbutton click with a slot to start the thread: def EGSupdateAttributeTable(self): AttUpdateEGSThread = ...
0
votes
0answers
141 views

how can i read an attribute value from qgsfeature?

How can i read an attribute value from qgsfeature ? i am trying to update some attribute using other and i have to read value from attribute in the qgsfeature . my source code: provider = ...
1
vote
1answer
97 views

ESRI ArcMap Topology rules on multi story buildings

I would like to run some topology rules to find snapping errors in our polygons but I am running in to the problem where we are working on multi story buildings with every polygon regardless of floor ...
1
vote
1answer
438 views

How to activate a layer in QGIS layers legend

How can I activate a layer in qgis map legend automatically using python code . I am using qgis.utils.iface.setActiveLayer(self.theLayerToEdit) but the layer is still not checked in the maplegend. ...
1
vote
0answers
73 views

Sources for meterological data with high resolution

I was running Maxent on an endemic species of andaman and nicobar.But the climate data I have from worlclim.org ( tile number 29 ) is not of high resolution and thus I can't see the distribution ...
0
votes
0answers
63 views

Geoserver 2.4.0 via the web admin interface, not adding layers in Internet Explorer, but working in Firefox

For some reason I cannot seem to add layers via Internet Explorer, but I can via Firefox 23. In addition the styles that I upload also appear broken in Internet Explorer 8, but do not in Firefox. Is ...
2
votes
0answers
87 views

why is my map is not in the center when I load my map in OpenLayers?

why is my map is not in the center when I load my map in OpenLayers?And when I drag my map,it dont move sometimes,It has been tortured me for a long time,any advice would be grateful! var maxExtent = ...
1
vote
1answer
131 views

How to convert format and CRS of many shapefiles to kml (or csv, json..)?

I tried to use QGIS to transform shp files in kml and to translate the CRS to use in a google maps application. My problem is that I have a lot of shp files that i can open in a bulk manner by drag ...
3
votes
2answers
370 views

Access Stamen tiles flavors with OpenLayers

i'm using OpenLayers (v2.13.1) and would like to use Stamen Toner tiles as background. The example is simple to understand : http://maps.stamen.com/test/openlayers.html But i'd like to use the ...
2
votes
1answer
163 views

Can I Turn Off or Remove Map Layers in QGIS Print Composer

The title pretty much says it all. I have a base map in QGIS that I am using with several Print Composers. In one of the Print Composers, I don't want one of the layers to show up. Is there any way ...
1
vote
2answers
395 views

OpenLayers: WMS layer above select-controlled vector layer?

Is it possible to display an image layer (WMS or Image) above a vector layer with activated SelectFeature control in OpenLayers? The image layer (radar returns) contains only sparse, semi-transparent ...
3
votes
1answer
232 views

How to replace the legacy function “doQueries ” to AMD ESRI Javascript format?

I'm trying to understand the migration of ESRI API for javascript, from legacy to AMD. In the case of this example, how replace the fucntion doqueries????: function init() { map = new ...
3
votes
1answer
668 views

Layer map plots on top of one another in R/ggplot2

I'm making a choropleth map in R/ggplot2. I have the colored part working just fine. This code p <- ggplot() + geom_map(data=c_1860, aes(map_id = GISJOIN, fill = AHL002), ...
1
vote
0answers
37 views

How to search for layers in the layers panel?

I have QGIS projects with a lot of layers. Sometime it's difficult to find a layer into Layers Panel. How to search it?
0
votes
1answer
378 views

Arcgis SDK for Android - Query multiple feature layers

I'm developing a android application with arcgis sdk. I have a basemap and then 4 different feature layers on top of it. I began with the arcgis sample "attribute editor" and removed the edit ...
0
votes
0answers
128 views

Add Layer into existing GroupLayer in map c#

I can't add Layer into existing GroupLayer in map. I'm trying this code below, but it does not work! I need code looks like this: public void AddLayer(AxMapControl mapControl, ILayer pLayer) { ...
2
votes
1answer
400 views

ArcGIS 10.0 get sde information out of .mxd

The overall goal here is to iterate through several directories of .mxd files and document which SQL Server instance of SDE they are pointing to, with the database name and feature class names. All ...
4
votes
1answer
62 views

QGIS 2 bold Layer names?

I am currently working with QGIS 2.0 in an Ubuntu environment. I have a quite large project with many different layers and layer-groups. By default the layernames are in bold fonts and the groups are ...
1
vote
1answer
221 views

How to set style in the database (QGIS)

Is it possible to set style layers in the database? (QGIS) [MySQL database] I would like to set and share my style to other users when they open the layer it's still as my style. Thank you
1
vote
2answers
82 views

Error adding a delimited text layer

Im working with QGIS 1.8.0 and I have been trying to upload a delimited text layer but keep getting the following error : The layer ...
2
votes
1answer
190 views

Unable to change the layer unit in QGIS

I have been working with QGIS for 2 weeks and I got the hang of it now. The problem now is I cannot calculate the area of a created polygon. Because the layer unit is not changing to meters. When ...
0
votes
1answer
36 views

Last moment a layer in Geoserver was viewed

My company publishes >1,000 layers using several geoservers. We are publishing them on several different websites. Because there are so many layers, it is impossible for us to know which layer is ...
2
votes
1answer
487 views

Openlayers custom (local) OSM tiles layer with limited extent

I know, how to add an overlay layer by specifying my own URL. But what if the overlay layer extent is not as large as base layer - e.g. overlay layer is only avaliable for one country and not for the ...
0
votes
1answer
82 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
2answers
363 views

How to fix link between layer and shapefile in ArcGIS 10?

Does anybody know how to fix a link between shape file and layer file in ArcGIS 10? Every time I add layer file, there is a small exclamation mark next to icon and I have to define a source (path to ...
1
vote
1answer
196 views

Error 'Invalid geography. Antipodal edge…' with Postgis

I have a table in postgis like this CREATE TABLE locations (id int, name VARCHAR(255), pos geography(POINT, 4326)); with a couple of points. E.G. INSERT INTO locations (name, pos) VALUES ...
3
votes
2answers
613 views

How display many layers from Geoserver in one map?

1) I publish 4 layers in Geoserver (planet_osm_line, planet_osm_point, planet_osm_polygon, planet_osm_roads). 2) Then I add styles (from sld styles) to the Geoserver. 3) Then I set this styles in my ...
2
votes
1answer
161 views

OpenLayers: Can I drag a feature between two maps?

Is it possible to drag the features between two different maps? Now, I create feature on event mouseenter but I would like to insert the feature and at the same time start to drag this feature.
1
vote
0answers
40 views

How to save KML-layers style (Q-GIS)?

Is it possible to save a KML-layers style? My layer is set to 50 % opacity and I want to save that setting into the KML-file. The plugin qgistokml can´t yet do it, and only work with points.
0
votes
1answer
107 views

Deleted layers still appear while loading project QGIS 1.8

I'm working on a project where I digitized a few maps (georeferenced) and I also added a couple of csv files. I deleted the raster and cvs layers after I included them into the project as shapefiles ...
0
votes
1answer
1k views

Could not add the specified data object to the map

I have registered the postgresql database with arcgis desktop 10.1. In ArcMap, When I try to drag and drop one of the tables to the map I get this error: Could not add the specified data object to ...
1
vote
2answers
380 views

Custom filters (server side) for Openlayers Vector Layer

I have a vector layer in openlayers with source in GEOJSON (custom php server, which I have in complete control) and BBOX strategy. Vector points contain point sources which have different ...
1
vote
2answers
63 views

How to create thinner outside boundary outlines with bolder interior lines [closed]

I am working with a shapefile with a jagged coastline and interior regional boundaries. I am trying to create a thin line for the coast, so it appears more clearly, while still keeping bold, thicker ...
0
votes
1answer
105 views

Mouse click event used gis application with much data

I will create an application that using my water pipes, electric cables, gas pipes service in a city. All of streets and roads including water pipes. My service is publishing pipes. My service like ...
1
vote
1answer
97 views

Differences between Arc 10.0 and Arc 10.1 Layer files

We have a program that cannot import Layerfiles from 10.1, but instead changes them to 10.0 layer files. I'm wondering if there is any Layer functionality that is lost in this transition. Right now ...
2
votes
1answer
228 views

Openlayers: How to make layer come to top after choosing it in layer switcher?

I have a base layer and 3 image layers . I also have setup a layerswitcher so that user can choose which layer is to be overlayed on the base map and I have 3 sliders such that user can choose the ...
0
votes
0answers
61 views

Making a KML layer “always on”

Is there a KML tag or specification by which you can force a given layer (specifically, a screen overlay) to be "always on", in that there is no way for the user viewing the file to make that layer ...
0
votes
1answer
240 views

how to make transparent layers with Google earth layer?

with your help, i solved most of my problems, but here is another one - i guess, a smaller issue... I managed to get Google earth layer, but when I add my GPS gpx files, are all hidden under the ...
0
votes
1answer
344 views

Why does arcpy.mapping.Layer give Runtime error: CreateObject Layer invalid data source?

I want to connect an existing .lyr file to a variable defined as lyr2. lyr2 = arcpy.mapping.Layer(r"C:/Iso100Red.lyr") Although its a .lyr file I´ll get this Errorcode: Runtime error : Object: ...
0
votes
1answer
63 views

Popups on Layer (OpenLayers)

I have the following situation: i display points and point informations in popups. the points are added to a layer. The popups are added to the map, with map.addPopup function. It works great. The ...
0
votes
0answers
106 views

QGIS layers not adding properly

using QGIS 1.8.0 lisboa on windows 7 pc adding vector layers and they are not adding properly they don't show up in the layers list but they are there when I happen to merge the the layers ...