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
0answers
129 views

Ogr: How to add layer description to dgn?

I have created a dgn-file using Ogr, but can't find a way to fill out the description for this layer programatically. (something like _dgnLayer.Description = "Highways") opts.Add("SEED=" + ...
1
vote
0answers
182 views

Layer set visible

I add this layer like this: var POIData = new esri.layers.ArcGISDynamicMapServiceLayer("https://mysite.com/ArcGIS/rest/services/POI_Data/MapServer"); map.addLayer(POIData); ...
1
vote
0answers
63 views

Get layers and apply renderer to layer list from SDE ArcMap

I have the code that gets the layers from SDE, but when i add them to the map they have a different symbology. there is about 80 layers and i am accessing the SDE by getting the workspace from a ...
5
votes
2answers
3k views

Leaflet: How to move the layer-control menu?

This might be a silly question, but I could not find a documented way to achieve this. I'd like to freely position the layer-control menu, probably to the top left near the default zoom-in/out ...
5
votes
1answer
133 views

How to convert PostGis Table (Grid data) to Continuous field using Qgis?

I'd like to transform my Gridded Layer (generated form a PostGIS table of points) to a continuous and colored layer. How could I do this with Qgis or any other program? Many thanks and best regards, ...
0
votes
3answers
346 views

Accessing fields of particular layer

I am trying to access the fields which I can see in this particular layer. I am able to see that it has fields but fetching the values in those fields is something that I am unable to do. Is there ...
2
votes
1answer
554 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 ...
4
votes
2answers
292 views

Is there easy way to get layers names from WMS server?

I've been looking for information on how to get layers names from certain WMS servers, but I didn't find any. E.g. I have this server: http://sdi.geoportal.gov.pl/wms_prg/wmservice.aspx and I want to ...
2
votes
0answers
257 views

Getting layers from SDE with vba

Im running arcmap 9.1. i have the code that lists feature classes in a list box from the SDE. The users select from one list box and adds it to another list box. How do i get it to show the layer name ...
1
vote
1answer
971 views

is it possible to obtain layerInfo from the Layer's URL

I am trying to fetch the names of the layers in the MapService, so that I can populate them in the dijit.form.select. I am able to get the layerInfo when the ArcGISDynamicMapServiceLayer is added to ...
6
votes
1answer
159 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, ...
2
votes
1answer
1k views

How to record a base layer change event in OpenLayers?

The OpenLayers.Control class possesses an eventListener property which could be used in the layer switcher control. I am not sure how to make use of it to detect a base layer change event so that I ...
1
vote
1answer
1k views

Adding layers using ArcGISDynamicMapServiceLayer

I am right now adding individual layers using FeatureLayer but it takes quite some time to load as the map is for US Counties (3076 count). I tried to load it using ArcGISDynamicMapServiceLayer but I ...
3
votes
0answers
237 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 ...
13
votes
6answers
2k views

How to improve rendering performance of very large shapefile?

I have a polygon shapefile that has a 100MB .dbf and 500MB .shp file component. The reason it is so large is it is a landbase classification for a whole district. Everytime I am viewing the file in ...
3
votes
1answer
904 views

How to add a layer file to an ArcGIS map document programmatically?

I want to create a feature layer from a layer (.lyr) file and add it to my ArcGIS map document programmatically. I am using C# and ArcGIS. I have a layer file and a shapefile.
2
votes
1answer
100 views

Library design: Layer coodinates/origin

I am working on a vector map library where you can add plain image and vector layers to a map. The map itself consists of an infinite coordinate system and each layer is a coordinate system of it's ...
2
votes
2answers
2k views

How to make the Overlays section in an OpenLayers LayerSwitcher exclusive?

At the simplest level I need to figure out how to create a customized OpenLayers LayerSwitcher Overlays section which is not using Checkboxes, but uses RadioButtons instead. For my application its ...
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 ...
2
votes
1answer
2k views

How to change an OpenLayers vector layer from automatic to manual get request?

I have a web server that returns a FeatureCollection in JSON. I was getting this using the code below, which works perfectly: var vectorLayer = new OpenLayers.Layer.Vector('geoJSON', { ...
0
votes
1answer
2k views

How to Obtain the feature attributes from feature collection

I am able to obtain the features of the layer which is selected by the user in the Layers table and then intersected by a user defined polygon, using e.features. I was able to obtain the attribute ...
2
votes
1answer
461 views

QGIS identify features button issue

Is there anyway to get the Identify Features button in QGIS to automatically select a layer and provide the information without having to highlight it first in the layers TOC? MapInfo and ArcGIS ...
1
vote
1answer
178 views

Problems with matching layers with different projections

I have two layers with the following projections: Monte Mario IT1 UTM* Anyhow, I followed the instructions (open the project, set the projection, select on the fly projection, load the layers but no ...
2
votes
1answer
349 views

Make Feature Layer tool problems in Model Builder

I am having a slight problem with using the Make Feature Layer tool in model builder. Basically I have a file geodatabase of points. I am trying to make a model to pull out points according to a ...
9
votes
6answers
4k 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 ...
5
votes
3answers
7k views

Change Icon of Single Vector Feature in Layer

Currently I am trying to change the icon of a particular feature of a vector layer that the user is focusing on. I add each feature to the map like so: var point = new ...
0
votes
1answer
117 views

Difference between a *.lyr and layer directly added from *.gdb/sde to mxd?

What is the difference between a *.lyr and a layer directly added from *.gdb/sde to mxd? Doing it difference in mxd? Which is better?
1
vote
0answers
201 views

Hack to change data source of a layer file in ArcGIS 9.3.1 with python?

I'm looking for a way to change the source of my layer file using python. Actually I want to do this because I need to re-use a XSL template which is defined under the tap HTML popup of the layer ...
1
vote
2answers
710 views

How to overlay points from MySQL served by Geoserver on an Openlayers map?

This might be a very basic question as I am new to GeoServer. What I am trying to do: I have a MySQL table that stores data attached to a spatial point and have latitude and longitude columns to ...
2
votes
1answer
916 views

Problem with layer order in OpenLayers and Google styled maps

I'm using OpenLayers with Google styled maps. My biggest problem is KML polygon layer which needs to be under roads layer but it isn't (see prtscr). What am I doing wrong? This is my coding: ...
3
votes
1answer
329 views

What open-source web mapping solution I need to use for this situation?

I will try to explain what I need to do. I have about thirty KML polygons. I need to put them on some satellite map. On the top of these layers (KMLs, satellite) there must go layer with roads. I ...
1
vote
1answer
986 views

How to overlay roads layer on top of all layers in OpenLayers?

I want to put roads layer (from any source, please recommend some..) on top of my KML polygons and base layer: baseLayer = new OpenLayers.Layer.WMS("OpenLayers WMS", ...
4
votes
3answers
353 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
3
votes
1answer
525 views

How to hide some parts of an image layer with OpenLayers?

My Problem I'm currently displaying a layer image above a Google Maps base layer. I would like, when the user check/uncheck some checkboxes, that some parts of this image layer disappear, and the ...
3
votes
2answers
2k views

Load layers only when zoom level is reached

I'm trying to load different layers based on the user zoom level with OpenLayers. I've seen some similar questions in here, but they load the layer and then hide/show it based on the zoom level. I ...
2
votes
0answers
171 views

The layer added did not move in ArcGIS 10

I have a favor to ask. I already done the step that Mr PolyGeo and Aaron gave me from my previous question and it really look great when the layer did match all together. Thank you for that advise. ...
5
votes
1answer
966 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 ...
1
vote
1answer
143 views

Symbology for specific values

I want to apply a symbology scheme for the final layer of my model. Rules are - All negative - Symbol A 0 - Symbol B All positive symbol C unknown - symbol D I am not sure how I can define these ...
1
vote
1answer
498 views

Why my 'add basemap' data seems taking too long to upload the maps in ArcGIS? [closed]

Can i know the easiest way or any other way to upload Big maps hybrid from add basemap in ARcGIS 10? because it seems taking quite a long time to upload the map like around more than 1 hour and still ...
1
vote
1answer
77 views

Layer use too big for the coordinate in GE

I've got a problem here. I already changed the format from Tab file into Shp file using MapInfo suggested by friends here. My question is, after we set all the layer into the right coordinates, even ...
2
votes
1answer
129 views

How to add Checkboxes in Geoserver

I have a POI table with some data of categories like Airport,ATM,Bank etc. I want to show these categories as checkbox so that if I click in the ATM Checkbox, only the ATM Points will be display. Is ...
0
votes
1answer
832 views

Select by Location tool

I am using the Select by Location tool to select certain polygons on my shape-file layer. I start by having a given point as my Selecting Feature and that its relationship is completely_ contains. ...
2
votes
1answer
86 views

Clipping from a given point

I am working with model-builder 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 ...
2
votes
0answers
821 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) ...
0
votes
3answers
2k views

How to get names of all layers in a store in GeoServer using OpenLayers

I have strict requirement to retrieve names of all layers in a GeoServer store using OpenLayers. I've gone through the post here, but it doesn't answer my question. I've also gone through GeoServer's ...
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 ...
1
vote
0answers
100 views

Remake gxp class

I want to remake gxp.editFeature class. In standart class to edit object need to choose it on map. I want choose abject in list of objects and edit it. So To do this i need make a new gxp.editFeature ...
2
votes
0answers
52 views

Merging Layers and assigning different values [duplicate]

Possible Duplicate: 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 ...
3
votes
2answers
59 views

Where to look for oceanographical/environmental data for the Arctic (Baffin Bay/Davis Strait area)

I am looking for oceanographical/environmental variables that are available for Baffin Bay/Davis Strait area over the time period of 1995-2011, however, I am not familiar with ...
2
votes
3answers
2k views

Change zIndex of Vectors in openlayers

I have a bunch of linestring features on a vector layer. Some of them overlap. If I trigger the hover event on those features, I want them be in front. I did find some functions to set the z-index of ...