9
votes
3answers
3k views

Getting list of distinct values from shapefile field using QGIS?

I have a shapefile whose features I can filter by specifying a where clause in the query dialogue. F.x. I have a field named 'city_name' and by stating 'city_name = "London"' in the where clause only ...
3
votes
1answer
3k views

How do I show my WMS layer using QGIS server and OpenLayers?

I've installed qgis server and it works fine. I've put qgs file in the server folder dir and using "Add WMS layer" from QGIS I manage to view the qgs file. This is how I use get capabilities for ...
5
votes
2answers
2k views

How to extract values from a raster according to Lat and long of the values?

having 12 files with 12 hdrs for one year: these files are raster (projected WGS84,lat long): samples = 1440 lines = 720 bands = 1 header offset = 0 ...
4
votes
3answers
249 views

Where can I find decadal climate and ocean data for Europe?

I would like to find 'decadal' climate and ocean data for Europe that I can download and use directly in ArcGIS? Specifically, I am looking for mean annual temperature, sea surface temperature, and ...
5
votes
1answer
106 views

How is the legal situation for edited maps?

I am currently working on a commercial GIS project and have a lot of uncertainties regarding legal situations and terms of use for different maps. For example, the data of eurostat does not allow a ...
1
vote
0answers
233 views

How to run SDE view commands in Oracle DB?

I would like to create SDE view to compare two tables in my oracle spatial database. I already prepared the view commands. But I dont know where and how to run this? I unable to run this commands in ...
2
votes
2answers
328 views

How to return feature.shape from server by using WCF and ArcGIS Silverlight API?

I am using the ArcGIS Silverlight API. I all I need to do is to get the geometry from a feature by objectid to zoom to it: getFeature(objectid); So I used WCF service to get the geometry but I ...
3
votes
1answer
220 views

How to set a default raster style?

Most of my layers in Qgis are shapefiles but I have some raster data which is terrain relief shadings that are GeoTIFFs. In order to save a lot of time with the default colour and density that Qgis ...
11
votes
4answers
1k views

Real time map matching using ArcGIS Desktop?

I am working on a project which requires real time map matching. I am currently using ArcGIS but not sure whether it will work. Here is what happens with my system: the cell phones sent GPS fixes ...
5
votes
1answer
110 views

What GIS software is required to export a GIS map as a hi-res raster image?

I am looking for some (preferably free) GIS software that will enable me to export multi-layered world maps (made up of shape-files and kml files and so on) as hi resolution (21,000 pixels wide), ...
8
votes
4answers
5k views

How to create different diameter circles round points?

I want to map a tree survey. I am thinking that I will plot positional points of the trees and then add other data like tree type etc. to the attribute table later. Is there a way I can have an ...
11
votes
3answers
378 views

What is the most appropriate journal for publishing a paper about data collection with QGIS and mobile equipment?

I am a QGIS user, and a few months ago, we used QGIS on a PC Tablet to collect data on nesting birds on a cliff directly on the field. The principle is to have QGIS installed on a PC-Tablet with an ...
10
votes
2answers
6k views

Displaying transparent overlapping polygons in ArcGIS for Desktop?

I'm trying to draw home range maps in ArcGIS 10.1 and am having difficulty displaying them as I would like. The home ranges are in the form of polygons and many of them overlap. I'm trying to get a ...
2
votes
2answers
326 views

Looking for “big names” that use open source WMS (like geoserver / ms4w / qgis server) for presentation

I'm looking for famous companies / "big names" (like army , goverments , city halls) that chose to use open source map servers and not paid solution like ESRI and such for presentation I'm doing (go ...
2
votes
1answer
198 views

What's the purpose of wms_metadata.xml and admin.sld?

I've installed QGIS Server and it works fine. But in /usr/lib/cgi-bin/ folder I've found 2 additional files - wms_metadata.xml and admin.sld. What is the purpose of these file? I've never used them.
4
votes
1answer
116 views

Why does only one of the following queries throw an error?

There are 2 SQL queries: SELECT wkb_geometry FROM building_polygon WHERE ST_Contains(wkb_geometry, ST_GeomFromText('POINT (29.4 60.1)')); SELECT wkb_geometry FROM building_polygon WHERE ST_Contains(...
11
votes
2answers
580 views

How to perform repetitive tasks in QGIS?

I am trying to do a treatment on many feature files, so I would like to automate it. In fact, I have one shapefile with the spatial distribution of some species, and one with vegetation type. I ...
2
votes
1answer
134 views

How to declare folder name as global?

I have asked similar question at stackoverflow but posting here as well since it involves ArcGIS and python Add-In. Following code shows first step where i have to declare output folder as global so ...
2
votes
1answer
190 views

How can I load a single WFS vector feature where the user clicks the map on OpenLayers?

I am creating a web app that allows users to easily edit feature attributes as well as geometry. I have editing working by loading a WFS layer, but it slows the app to a crawl when there's more than a ...
3
votes
1answer
306 views

Opacity causes tiles to 'flash' in

I have a map sitting on top of a dark gray background. I have the canvas basemap set to initially load as semi-transparent: var canvas = new esri.layers.ArcGISTiledMapServiceLayer("http://services....
2
votes
1answer
328 views

How to save IDocumentInfo attributes to a map document programmatically?

We have been successfully creating mxd files based on MapDocument, adding layers, setting spatial information and saving them. Our code has been working, literally, for years and has made the ...
3
votes
1answer
3k views

ArcGIS 10.0/10.1 - arcpy - automate projection tool with different datum or projection

I am getting stuck with a task that is slightly different from the posts I found so far on this same website. Assumption: all layers have a defined coordinate system Problem: I would like to ...
6
votes
2answers
6k views

d3.geo.path() to draw a path from GIS coordinates

Trying to take GIS data of the zip codes of the Bronx and turn it into a map using d3.js. But I am having trouble rendering. Could you show me proper use of d3.geo.path() ? [ [ -73.84463693999993, 40....
3
votes
1answer
282 views

let user add his location on interactive map

I would like to know if it is possible to create an interactive map where the user will be allowed to add their own location to the map (I would use OSM as the basemap) and then calculate the distance ...
1
vote
0answers
2k views

Is there a way for me to load a KML files locally in Openlayers

Recently I posted this question KML file seems to load in Openlayers without error but doesn't show vectors because I was having trouble getting KML vector data to show up. After searching around ...
1
vote
4answers
4k views

How can I permanently reorder fields in a feature class programmatically with ArcObjects, VB.Net?

Would someone be able to share the logistics on how to permanently programmatically reorder fields in a feature class with ArcObjects, VB.Net. I want to be able to do this in the geodatabase not in ...
2
votes
1answer
808 views

Clustering not working on features in OpenLayers

I've built a mapping solution using OpenLayers that works well except I can't get the points to cluster. I've looked at the examples on the site, and I've even implemented those examples in my ...
1
vote
2answers
104 views

Reversing “combine” function on raster using R?

I have a raster that I think was "combined" using an ArcGIS function. I am wondering if there is a way to extract just one raster layer from the combined dataset in order to use it separately, using ...
16
votes
6answers
2k views

Where can I get a world map with boundaries of regions and communities for commercial use?

I am looking for a vector file worldmap which should include as many boundaries reaching to a very small level (like ZIP-Codes/small communities/etc) as possible. The data of Natural Earth is quite ...
6
votes
2answers
754 views

Calculating projected distance using ArcObjects?

I am pretty new to this and I am not sure I understand all the concepts, so I might be using words wrongly or obviously not getting some details right. We mean to do those calculations within our ...
2
votes
2answers
3k views

Leaflet with EPSG4326 Tile Layer (using maptiler.org)

I have successfully been using Klokan Petr Pridal's MapTiler (http://maptiler.org ) to take GeoTiff files and create TMS tile pyramids for Leaflet (option #1 which projects to EPSG3857, also called ...
3
votes
1answer
1k views

getting the specified geographic transformation, or at least the GCS, of a data frame

First, the TLDR digest: I'm getting a bogus value from dataFrame.geographicTransformations on some machines; how do I get the correct value as shown in the properties dialog? and/or Given a spatial ...
2
votes
2answers
982 views

The name contains invalid characters

I'm having a problem with the following script. When listing parameters that are optional I've used the "" before, so I can't figure out why this isn't working. import arcpy import os arcpy.env....
2
votes
3answers
708 views

Server side clustering - cluster (feature) geometry

I am trying to implement server side clustering and show it using OpenLayers. I am using this good material as an example. As a clustering result, a get some list of features, some of them are ...
1
vote
1answer
54 views

How can I convert an Integer field to a Real field in a shapefile?

How can I convert an Integer field to a Real field in a shapefile ? I'm searching a tool, or a way to do that (may be under QGis ?!). Regards
2
votes
1answer
331 views

Why are some SVGs not displayed properly in print composer?

I am having weird problem with adding .svg to qgis print composer. I have done some smaller symbols before in inkscape and they work - however the latest one displayed itself as huge black square. I -...
4
votes
1answer
1k views

How to import DGN geometry into a file geodatabase?

Specifically, I have an empty File GeoDatabase template consisting of several Group Layers, each containing several Feature Classes. In fact each FC has several subtypes exposed by including a .lyr ...
7
votes
3answers
3k views

Can I use LASTools to classify point data?

I am presently using LAStools to analyse LiDAR data. Can LAStools classify the points into various features such as vegetation, roads, buildings etc? If so, how is it done?
3
votes
1answer
216 views

shapefile batch clip and merge combined

I have two shapefiles, one is polyline, the other polygon. For each polygon I would like to clip the polyline vectors inside. Using arcpy I already found part of a possible solution: http://gis....
2
votes
2answers
334 views

How to edit Python Add-In and get all changes to work?

I have created an Add-In using Python. However, when I edit the Python script for that Add-In and re-create the '.esriaddin' file, I don't get updated results when using that Add-In. Do I need to re-...
2
votes
2answers
703 views

How to cancel SaveEdits/StopEdits button press (ArcObjects)?

I have an interesting situation.Suppose a user creates 10 features in ArcMap in an edit session. Now the user tries to save this edits by clicking save edits or stop edits button. I would be ...
1
vote
1answer
384 views

How to add multiple rasters to a layer file?

I'm trying to make a .lyr file to bring into ArcMap with arcpy.mapping. I can bring a single raster into a .lyr with the script below. I'm unsure how to proceed to get multiple rasters from the same ...
3
votes
2answers
222 views

Is r.cost equivalent to diffusion interpolation with barriers?

I want to perform interpolation using cost distances rather than euclidean distances similar to Greenberg et al. (2011). In that paper they use r.cost in GRASS to compute cost distances for each ...
2
votes
1answer
254 views

passing geocode results object to another file

I'm using a geocoding plugin (Leafet.GeoSearch) on a map and I'd like the results, being the LatLng point coordinates, etc available as a parameter for GeoServer cql filtered calls. It doesn't seem ...
2
votes
3answers
7k views

How to georereference a TIFF file which has already a spatial reference?

I have a TIFF file of Poland and a self drawn vector map of Poland. The vector map has no spatial information. I am intending to reference the TIFF exactly to the shape of the self drawn map. My ...
10
votes
1answer
359 views

OpenLayers API Documentation vs. Developer Documentation

The OpenLayers web site provides two sets of reference documentation: API Docs: http://dev.openlayers.org/apidocs/ Developer Documentation: http://dev.openlayers.org/docs/ For most classes, the ...
1
vote
2answers
817 views

Turn-by-turn direction using PgRouting [duplicate]

How can I generate turn-by-turn directions using PgRouting? At the moment, I have a web-page where a user can enter and start/end location and a route is generated on a map (using PgRouting and ...
0
votes
1answer
72 views

ArcGIS Geoprocessing - how to set a condition for data

I would like to write a script in Python which takes data and does some things with it. So far, I have written the following code : import arcpy arcpy.env.workspace = "C:\wody.gdb" arcpy.env....
3
votes
0answers
116 views

Create perimeter from given area [closed]

I need to develop a web-based application to manage areas inside a bigger area. I already have the initial perimeter, and it has irregular borders like that: . I will need to tell the app to ...
8
votes
5answers
2k views

Where can I find annual temperature data for every city and town in the US and Australia?

Where can I find yearly annual averaged temperature data for every city and town in the US and Australia for a heatmap? links are good

15 30 50 per page