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.
0
votes
0answers
25 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
40 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
35 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.
0
votes
0answers
16 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
37 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
0answers
7 views
Change feature's image when it's not clustered
I'm clustering the features on the layer using AnimatedCluster this way:
dataLayer = new OpenLayers.Layer.Vector("Data", {
strategies: [
new ...
0
votes
1answer
20 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
23 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 ...
0
votes
0answers
33 views
Is there a way to create read-only layers?
I have a project in QGIS with several views loaded from a postgis-database.
Editing and creating new objects in these layers won't work (because they are views) and it would be easier if the user ...
1
vote
2answers
34 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
21 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
50 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
36 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
13 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
25 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
33 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
30 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
46 views
How to populate an asp.net text box with values rather than display them as popups
I am using Leaflet Vector Layers from here and Esri ArcGIS Server 9.3.1 and developing in the .NET Framework.
I would like to send the information that displays in a popup to text boxes when the user ...
0
votes
0answers
81 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 ...
1
vote
1answer
37 views
How to sum the values for bins with the same location?
I have two maps in csv form, each has a latitude, longitude, and value column. Since not all the positions in one map are in another map, is there any way in QGIS to display a new map which only shows ...
1
vote
1answer
61 views
How to make a virtual layer from ogr geometry?
I know how to do this:
nodes = driver.Open(node_nav,0)
node_lyr = nodes.GetLayer()
node_lyr.SetSpatialFilter(None)
But how do can use the layer methods on a geometry I created from scratch?
...
1
vote
1answer
52 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 ...
0
votes
0answers
57 views
WMS layers and KML layers are shifting in openlayers
I am searching a solution for this problem for a long time (2 weeks) and i could not find any thing that solved my problem:
I am building a map application that i need to show some features (points ...
1
vote
1answer
56 views
Creating a layer after using SelectLayerByAttribute_management
Is it possible to use an existent layer to do a selection by attributes without having to use MakeFeatureLayer_management first? Because I already have a layer with the same name as the feature class ...
0
votes
0answers
39 views
How can I import layers into a database?
According to the QGIS User Guide (release 1.8.0, page 203/204) I only have to drag a layer from the QGIS Browser to the DB Manager. But for me this does not work.
0
votes
1answer
55 views
QGIS python - reference a layer in the table of contents
I'm trying to create a plugin for QGIS using python, But need some help. I want to 1.Zoom to a layer and 2. make the layer visible(switch off or on).
But I have managed to zoom to an active layer by ...
1
vote
1answer
30 views
Rendering order of layers in QGis libraries
I am using the QGis libraries in a external Qt App.
When adding vector and raster layers (in any order) to the QgsMapLayerRegistry instance, it somehow sorts the layers so that the vector layers is ...
1
vote
1answer
19 views
How to copy a layer in TileMill?
I've been learning to use TileMill, and I want to be able to copy a layer. I especially want to copy layers connecting to an SQLite or PostGIS database in order to avoid having to type in multiple ...
1
vote
1answer
47 views
OpenLayers - How do I change the WMS URL in Code
I want to be able to change the url for a layer in code.
The reasons is that I am implementing local caching.
When local caching is Not enabled, we use 4 servers to deliver tiles to run parallel ...
2
votes
4answers
127 views
How to get vector data from OSM to use in QGIS?
How do I get data from OpenStreetMap which I can then edit in QGIS layer by layer?
What is the best OSM output and what / how do I get to a suitable input for QGIS?
OR...is there another appraach to ...
1
vote
1answer
43 views
QGIS Layers Not Lining Up
I am new to QGIS, I have been using ArcGIS for most of my maps. I have two layers that are not overlapping properly. One is a shp file from a GIS clearinghouse and another from a delimited text ...
0
votes
1answer
70 views
How to resolve error “Handle bad layers” in QGIS?
I'm new to QGIS and have been seeing what it can do for me – seems good. I imported shape file data from a UK Ordnance Survey data file and saved the file in a new folder. It was very good, doing all ...
0
votes
4answers
72 views
How to merge 48 separated US States layers into 1 layer, using MapInfo?
They are Census Block layers. The person on the website separated them into states so they can be download easier. I uploaded each states separate layer into MapInfo.
Now I need to merge the files ...
1
vote
0answers
56 views
How to load the default layer style from Postgresql with Python?
I would like to write a python macro that upon opening my QGIS project file will reload the default style for each layer from the postgres 'layer_style' table. I have had a look at the documentation ...
0
votes
0answers
27 views
Can one convert text annotations to a layer in Qgis?
I know text annotations can be turned on & off with Ctrl+T... but is there any way to export them as a layer?
Thanks!
0
votes
1answer
76 views
How to load layers from postgis to dotspatial or sharemap viewer
I want to develop a PostGIS viewer for PostgreSQL (with SQL query editor) to visualize PostGIS layers.
Which spatial library (.net C# supported) do I have to use?
1
vote
2answers
178 views
How To Highlight Roads?
I wish to change the colors of various roads on a map and save the changes to either a "personal map" or a "map layer."
The personal map could look something like this, except it would need to have ...
0
votes
0answers
46 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
...
4
votes
0answers
101 views
How to add layer with arcpy and retain description and other layer properties?
I have multiple feature classes in a geodatabase, each feature class has metadata including a Description, Credits, and other information. If I use the 'Add Data' button in ArcMap 10.1 to add one of ...
1
vote
0answers
37 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 ...
1
vote
0answers
153 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 ...
0
votes
1answer
72 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 ...
1
vote
2answers
108 views
ArcGIS 10.1: “ERROR 000223: Cannot extract event table properties” when iterating through multiple files/folder
I am trying to convert ~270k csv-files with lat/long-data to layerfiles. The files are split into folders by year, i.e. ~30 folders with ~9k csv-files in each.
I have written a script to iterate ...
3
votes
2answers
148 views
What Is The Ideal Workflow To Map (British) Postcode Territories
I'm looking for the best workflow for mapping postcodes and calculated territories, but being relatively new to mapping I'm struggling on a few details and also the best practices for displaying these ...
1
vote
1answer
52 views
Openlayers Overview - disappearing layers
when I do this:
var options = {
autoPan : true,
size : new OpenLayers.Size(300, 200),
layers : this.map.layers,
mapOptions : {
allOverlays : true
...
0
votes
0answers
34 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
1answer
99 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
0answers
56 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
1answer
105 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
0
votes
1answer
173 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 ...