66
votes
5answers
22k views

Spatial clustering with PostGIS

I'm looking for spatial clustering algorithm for using it within PostGIS-enabled database for point features. I'm going to write plpgsql function that takes distance between points within the same ...
51
votes
7answers
5k views

What strategies, criteria, or rules to use for selecting coordinate systems?

What strategies, criteria, or rules do you use for selecting coordinate systems for (a) storing, (b) analyzing, and (c) displaying GIS data? (I humbly offer my reply to a related question ...
25
votes
10answers
4k views

Existing solutions to automate generalisation/simplification of geographical data?

I am looking for existing solutions (softwares, libraries, methods, etc.) to automate the generalisation/simplification of geographical data as presented there, and also there. Do you know and use ...
33
votes
3answers
17k views

What raster smoothing/generalization tools are available?

I have a DEM that I would like to smooth or generalize to remove topographic extremes (chop off peaks and fill-in valleys). Ideally, I would also like to have control over the radius or level of "...
25
votes
12answers
29k views

Converting Shapefiles to Text (ASCII) files? [duplicate]

How can I convert a shape file (GIS) to text? or, How can I extract the information in a shape file?
20
votes
2answers
7k views

Dividing polygon into specific sizes using ArcGIS?

I have several thousand irregularly shaped polygons in a shapefile. I want to be able to split each polygon into three areas, and to specify what the size of those areas (they sum to the previous ...
35
votes
4answers
34k views

How to clip a raster with vector boundaries?

I am using QGIS. I would like to clip a raster precipitation layer using an admin boundary layer that is vector data. However the geoprocessing tools seem to be usable only for vector data. How can ...
17
votes
5answers
23k views

Changing CSV layer attribute value from text to number in QGIS?

I read in a CSV file for linking to a .shp file. All the variables that are just numbers came in as text. How do I change the text variables to numeric in QGIS?
14
votes
3answers
5k views

Cartographic techniques for symbolizing routing data

Some common problems with displaying routes created from street data, such as bus routes, include: Routes may overlap themselves, such as when a route takes the same road in opposite directions ...
21
votes
2answers
21k views

How to reproject a vector layer in QGIS?

I have some shape file which is in UTM. I wanted them to convert to Decimal Degrees in QGIS.
4
votes
1answer
13k views

Elseif Conditional Statement in QGIS Field Calculator

I am trying to write an ELSEIF conditional statement in QGIS Field Calculator (version 1.8.0). I have used an example I found online: CASE WHEN val < 0 THEN 'negative' WHEN val = 0 THEN "neutral'...
4
votes
5answers
3k views

Creating feature class from area in one layer not covered by another layer using ArcGIS?

I am working on a project doing spatial analysis at a statewide level. I am looking at a form of transportation coverage in a state, and part of my analysis involves buffers and drive time polygons. I ...
10
votes
2answers
2k views

Why are heatmaps on qgis 2.8.1 produced in the wrong CRS?

I noticed that the heatmap calculation on the new upgrade version of qgis is given the raster map without any coordinate system. Have you got the same problem?
70
votes
7answers
8k views

Managing large amounts of geospatial data?

How do you manage your geospatial data? I have terabytes of data spread out over hundreds of datasets, and have an ad-hoc solution using symbolic links within projects which link back to an domain-...
78
votes
20answers
73k views

How to convert between KML and Esri's shapefile (SHP) format?

My users are sending me point data that were digitized using GoogleEarth. How can I convert their KML to a shapefile?
32
votes
5answers
7k views

Curved point-to-point “route maps”

I have recently been looking at airlines web pages that display their routes departing a certain city to all other cities they service. I would like to be able to create similar curved routes between ...
26
votes
1answer
3k views

How to draw perpendicular lines in QGIS?

I have a situation like this: What I need to do is to connect each point to every line that is at most, let's say 200 m, away from the point. In other words, I need to draw a perpendicular line ...
47
votes
4answers
13k views

What are the pros and cons of PostGIS geography and geometry types?

My company uses geometry (the_geom) data type for storing geospatial data. I've recently been acquainted to the concept of geography (the_geog) data type which, as I understand it, stores the SRID ...
33
votes
3answers
73k views

How to merge multiple layers to one layer using QGIS?

I've imported several shapefiles which where exported from an Mapinfo .tab. Several tab files are imported resulting in 20+ layers. Afterwards I want to export it to geoJSON; but I'm reluctant for ...
35
votes
4answers
27k views

Which character encoding is used by the DBF file in shapefiles?

Which character-encoding is used by the dbf-file in Shape-files? It seems it is handled different, based on the program and the local encoding-settings of the machine. Which encoding is 'right' - ...
20
votes
2answers
4k views

Calculate distortion outside a UTM zone

One of my colleagues is working with data that is spread across two UTM zone. The majority of the data is in one zone, with a few outliers in another zone. He would like to know what the area ...
28
votes
3answers
55k views

How to calculate polygon areas in QGIS?

Hi I would like to simply calculate areas of a area-shape file in square meters or in acres (ha). I didn't find that functionality in the vector tools. Could anyone here help me with that?
10
votes
6answers
14k views

Joining multiple records to single feature using QGIS?

apologies for what I'm guessing is a really easy problem to solve. GIS user, not programmer here. I'm trying to create a join/relate in QGIS where I have a shapefile of buildings and to that I would ...
4
votes
5answers
5k views

Unable to install ECW support on lubuntu 14.04

I try unsuccessfully to install the ECW support (mainly to use ECW file in QGIS 2.2). We attempt to follow and adapt the howto provided by makina-corpus. My first supprise was the repository ...
6
votes
2answers
11k views

How to sort a feature class and then calculate a sequential ID field?

I am in ArcMap and I want to sort the records based on a field and then do a Calculate Field with an auto-incrementing value with the sort in-place. Any ideas? It looks like I could get an update ...
5
votes
1answer
1k views

Raster incorrectly reprojected to OSGB(27700)

Ubuntu 12.04, QGIS 1.8.0, GDAL/OGR 1.7.3, GEOS 3.2.2 Open a Spatialite db with OS Mastermap poly layer (EPSG:27700); Add OpenLayers Plugin (1.0) from QGIS offical repository; Add a Google Satellite ...
9
votes
0answers
7k views

Splitting feature class by unique values for an attribute/field in ArcGIS for Desktop? [duplicate]

I would like to split a single shapefile into multiple shapefiles by using unique values for one attribute/field to select features for each value out into a new feature class. I found ET Geowizard ...
35
votes
5answers
27k views

Comparing different open source GIS servers?

I currently know the following open source GIS servers: Geoserver: java based, vector and bitmap support, also supports. Is now on par with mapserver (performance-wise). mapserver: c/c++, used to be ...
37
votes
2answers
10k views

How to create a regular polygon grid in PostGIS?

How to create, on the shape of a polygon, a regular grid of polygons/squares of an given size, in postgis? I have thought about a function like Create regular point grid in Postgis only for squares, ...
39
votes
13answers
3k views

Geocoding USA addresses that cannot be sent over internet?

For a one-time project, I need to geocode a few thousand addresses. In the past I've used various online resources for this kind of thing (e.g., Google Maps API), but the addresses I'm working with ...
27
votes
11answers
8k views

Alternatives to pgRouting

I was wondering if there are any alternatives to pgRouting tools. Thinking about it for a bit, I think the only alternative is to use R or RPY to do the analysis. Basically I'm trying to solve ...
12
votes
3answers
13k views

How to add Direction and Distance to attribute table?

anyone who can help. i just want to add direction (Bearing: i.e N 25 35 E) and Distance (Length: 125 meters) as my new field in polyline/line data. is there a plug-in to generate these fields? i tried ...
43
votes
6answers
25k views

How to find the minimum-area-rectangle for given points?

The following is another problem that I am working on it these days. As you see in the figure, (BTW, I tried to make it self-presenter) the question is: How to find the minimum-area-rectangle (MAR) ...
14
votes
3answers
3k views

Porting Avenue code for Producing Building Shadows to ArcPy/Python for ArcGIS Desktop? [duplicate]

Whuber provided an answer at Producing building shadows? which required using Avenue code. Any idea how to make it work in ArcGIS Desktop 10?
28
votes
12answers
69k views

Converting MapInfo TAB and/or MIF to SHP using free tools or ArcGIS for Desktop core product?

How do I convert MapInfo TAB and/or MIF files to SHP using only free tools or ArcGIS itself? I've not had much luck trying to do this in the past and I don't want to have to shell out for the ArcGIS ...
20
votes
2answers
9k views

How do I get the pixel value of a GDAL raster under an OGR point without NumPy?

I am working on a computational model of the abundance of wild pollinators across a landscape. The model itself is complete, and I am now struggling with a post-processing step. I have my GDAL ...
18
votes
4answers
19k views

Listing all feature classes in File Geodatabase, including within feature datasets?

From python how can I build a list of all feature classes in a file geodatabase (*.gdb), including inside feature datasets? The standard example only lists feature classes at the top level of the ...
12
votes
5answers
31k views

How to add a simple WFS layer from GeoServer to OpenLayers map?

I'm trying to add one of the included datasets with GeoServer to an OpenLayers map. I've followed the OpenGeo tutorials, seen similar thread on here, but I can't seem to crack it. Can somebody take a ...
19
votes
9answers
13k views

How can I convert an excel file with x, y columns to a shapefile?

How can I convert an excel file with x, y columns to a point shapefile? There are some somewhat optional requirements in addition to the correct creation of a shapefile: Column types (as per Excel'...
14
votes
5answers
10k views

How to create points in a specified distance along the line in QGIS?

I want to use QGIS creating points along the line, but in specified distance. I found two GRASS tools in SEXTANTE Toolbox: v.to.points v.segment I tried v.to.points, setting the maximum distance ...
24
votes
4answers
5k views

How to calculate the intersection of 2 Circles?

I'm trying to figure out how to mathematically derive the common points of two intersecting circles on earth's surface given a center Lat/Lon and a radius for each point. Ex. Given: Lat/Lon (37....
15
votes
2answers
18k views

Adding shapefile or feature class as layer in ArcGIS Desktop using Python/ArcPy?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shape file to the current map. (And then do stuff to it, but that's ...
10
votes
5answers
15k views

Can QGIS read an ODBC connection?

I have a co-worker who manages a large MS Access database that contains X & Y fields for various locations he tracks. We have previously exported the data to CSV and used the QGIS Delimited Text ...
10
votes
2answers
15k views

Installing 64-bit geoprocessing of ArcGIS for Desktop?

I am trying to install 64-bit processing to ArcGIS 10.2, but the ESRI Patches and Service Packs website only has installations for Service pack 1 that goes with ArcGIS 10.1. One similar question on ...
6
votes
2answers
2k views

How can I access `processing` with Python?

I want to access the explode lines function in Python outside of QGIS from a standalone script. What module do I have to load in order to use it? How can I access processing? from qgis.core import * ...
5
votes
2answers
1k views

Does Calculate Value (Model Only Tool) work correctly in tools run in Batch?

Am I correct that if my model has a model-only tool (Calculate Value), and then I run the model as a batched process, it will not run the Calculate Value expression? I wrote a model to upload, ...
142
votes
42answers
14k views

What free programs should every GIS user have installed?

Note: This question is specifically about installed, desktop software. There is another question specifically about free cloud-based software and services. What free programs should every GIS user ...
52
votes
18answers
68k views

Free administrative boundaries available as shapefiles for United Kingdom, New Zealand, Canada and Italy?

After learning about the US Census's TIGERLines datasets I've working with the following layers, from the USA data Country boundaries State boundaries County boundaries City boundaries ZipCode ...
32
votes
3answers
14k views

Simple thematic mapping of shapefile using Python?

I wish to visualize geographical data in Python, without using ArcGIS/ArcPy, and make a map. On the internet I found how to make a thematic map using Python: Here is some code that I tried: ...
28
votes
10answers
9k views

Seeking options for Spatial ETL (Extract, Transform, Load)?

I am interested in the pro's and con's of various spatial ETL (extract, transform, load) tools. If you have used the items listed here (or add your own), please share your opinions and experiences. ...

15 30 50 per page