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.
5
votes
1answer
80 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
62 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
1answer
125 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 ...
0
votes
1answer
21 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
70 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
64 views
How can I set the base layer of map before initialization?
I have been using map.setBaseLayer(layer); to switch to my preferred map layer, using the localStorage variable layer that is stored in my web browser, upon initialization of the map. But I realize ...
0
votes
1answer
548 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 ...
2
votes
0answers
212 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 ...
2
votes
0answers
40 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-> ...
2
votes
0answers
79 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=" + ...
2
votes
0answers
108 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 ...
2
votes
0answers
150 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 ...
2
votes
0answers
119 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.
...
2
votes
0answers
350 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)
...
2
votes
0answers
271 views
Add CAD Drawing Dataset into ArcMap using Python
I am trying to add an CAD Drawing Dataset into ArcMap using Python.
Question is how to add a Auto-CAD .dwg file to ArcMap using Python
Normally comes in as CAD file within a Group layer with:
...
1
vote
0answers
94 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
0answers
60 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
0answers
41 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
0answers
70 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
45 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 ...
1
vote
0answers
129 views
How to add dynamic index layer for data driven pages
I am trying to create a dynamic map book based on user defined geometry. I can use Grid Index and calculate adjacent tool to create the grids in my Python script. How can I set this newly created grid ...
1
vote
0answers
143 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
0answers
80 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 ...
1
vote
0answers
275 views
Using Google Maps with OpenLayers for some zoom levels
I've had a search on here to see if this has come up but I've not found anything, sorry if this is a duplicate.
I'm trying to use the Google Maps layers with an OpenLayers site, but not for all zoom ...
1
vote
0answers
261 views
pdf google maps export
In my php+postgis+geoserver+OL application I have to export a map in a pdf file.
This map has two layer: the base is a google map layer and a vector layer as overlay.
Is there a way to make a pdf ...
0
votes
0answers
8 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
...
0
votes
0answers
10 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 ...
0
votes
0answers
27 views
Geoserver 2.3.0 exclamation mark on Layer
if i want to publish a Layer from Oracle Locator this becomes a yellow exclamation mark and so i can“t see in the layer preview. I use before geoserver 2.1.4 and it worked perfect.
I have attempt to ...
0
votes
0answers
29 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
0answers
104 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
60 views
How can I display remotely the Panoramio's KML layers
I'm trying to display in my web portal the Panoramio's kml layer. The above code developen in OpenLayers is what I'm doing:
mapa = new OpenLayers.Layer.Vector("Panoramio Photos", {
projection: ...
0
votes
0answers
61 views
How to apply an existing symbol in pyQGIS?
I'd like to change the layer rendering style from python code.
Basically I want to do the same operations I can do from QGis by:
Right-click on a layer
Select Properties
Select one of the displayed ...
0
votes
0answers
145 views
how to turn on a group layer when a sublayer is turned on in Flex Viewer
I have a map server with layer structure like this:
-A (GroupLayer)
--AA (SubGroup)
--AAA (Feature Layer)
When I set AAA.visible=true, I need at least AA get turned on too.
I got my code like ...
0
votes
0answers
94 views
Where can one find GIS shapefiles for all of California's municipal jurisdictions (cities, counties, special districts, JPA, CFDs, etc.)?Edit
Cities and counties are easy but I've been digging a while for the other information and haven't had any luck. Particularly interested in water districts and some of the more major JPAs -- for ...
0
votes
0answers
104 views
how to show LINESTRING intersection with other layers in Openlayers?
I'm using Postgis/Geoserver/Openlayers and I have a query that gets al the "towns" that are near a "road". Now, "road" and "towns" are different layers, and I want to show them in Openlayers.
But I ...
0
votes
0answers
49 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
145 views
Want to toggle layers generated from 2 different fusion tables
I have this JavaScript code. I want 2 buttons on the map. 1 to turn layer_2 'ON' and other to turn layer_1 'ON'. Once either button is clicked the other layer should turn off. Also layer_1 needs to be ...
0
votes
0answers
24 views
Layer added event
Is there an event that fires when a layer has been added to the map controls.
I want to lay it down in Startup method :
public void Startup(ref object initializationData)
{
}


