35
votes
3answers
16k views

How to make a spatial view in PostGIS and add it as a layer in QGIS?

In PostGIS 2.0, what is the most efficient way to create a spatially enabled view that is viewable in QGIS? I followed the context of Part 2 of @Mike Toews answer to this question, and the view ...
9
votes
6answers
5k views

Get a point on a polyline from end points given distance along poly line

I have start point and end point of a polyline. How can I get a point on that polyline from end points specified by the given distance. How can I get this by using arcpy provided that this script ...
12
votes
8answers
12k views

Extract raster values at points

How can I extract values from a raster by points. I prefer not in Arcgis. I prefer in Qgis or Mapwindow or other open source gis.
12
votes
5answers
12k views

How to change feature class and field aliases in bulk?

I have over a hundred FCs, each with 10 or 20 attributes to add or change the aliases for, two or more times a year. Needless to say, this is not something I'm going to grunt my way through. How can I ...
7
votes
3answers
39k views

Basic If/Then in Python Parser of ArcGIS Field Calculator?

I am using ArcGIS 10.2 for Desktop, and I've been looking through this site, and can't seem to figure out my answer yet. Very new to VBA and Python, but lots of years with ArcGIS. I know I can do ...
13
votes
2answers
2k views

How to reproject raster from 0 360 to -180 180 with cutting 180 meridian

I have a geotiff raster image that has a coordinate system with longtitudes from 0 to 360. The horizontal center of the image is 180 longtitude. See image below: I want to transform it to EPSG:4326 ...
11
votes
2answers
3k views

Is there a QGIS equivalent of the erase tool in ArcGIS?

Is there a QGIS equivalent of the Erase tool in ArcGIS for Desktop?
10
votes
3answers
2k views

How to apply the four colors theorem in a polygon map in ArcGIS/ArcToolBox automatcally?

I need to apply the four colors theorem in a polygonal shape in a way that I do not need to choose manually each color to put in each region. I wish to knows if there is any extension, plug-in, script ...
10
votes
2answers
14k views

ArcGIS 10.2 Installation for 64-bit geoprocessing

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 ...
10
votes
5answers
10k views

How to change the order of features in a shapefile?

I have a shapefile and I want to change the order of the features. Is that possible?
4
votes
2answers
3k views

Colouring areas between (vector) contours?

Is it possible to colour areas between (vector) contours without making it a DEM first? Joshdoe seems to have done so in Create filled contour map with GRASS but does not say how.
2
votes
2answers
3k views

GDAL2Tiles: MapTiles from BSB/KAP are Switched

As an example I have a BSB file from NOAA which is a navigational map. The map has a SRS of WGS84 and a Mercator projection. I initially translate the file from BSB format to GTiff format using the ...
8
votes
1answer
4k views

How to force ArcGIS to recognize a text field in a CSV file?

Related to Data-type detection in ArcGIS table loading I have a CSV file which contains a mixture of numeric and text fields: ID,Txt,Int,Dbl 12345,abc,45,56.78 12346,9,65,23.12 12347,10,66,23.13 ...
6
votes
2answers
1k views

Identify the latitudinal and longitudinal point directly beneath an object in space

Given the azimuth and altitude / latitude and longitude from the observer to the satellite, how can I accurately find the latitude and longitude of the point of intersection directly under the ...
15
votes
4answers
31k views

How to convert a vector layer to raster?

In qgis in the raster menu there is an item "convert vector to raster". This behaves strangely - I do not understand how it is supposed to work. I can select a vector file, an attribute and an ...
8
votes
1answer
1k views

Symbolizing using RGB values from Excel in ArcGIS for Desktop?

I have an excel file with 2 attribute columns, 1-feature info 2-Number of color (RGB) that the current feature should be symbolize. This file file can be joined with the layer using the "feature info" ...
6
votes
3answers
38k views

How to fix Runtime Error R6034: An application has made an attempt to load th C runtime library incorrectly?

I just downloaded QGIS 2.0 and everytime I open it I get this error message window popping up: Does anyone know what this means or how I might be able to fix it? Thanks!
5
votes
1answer
924 views

Qgis polygonize problem - DLL load fail

I have a raster file and I want to perform the method "polygonize". Then the problem occurs, that is shown on the screenshot. It doesn t have anything to do with the rasterfile format, I veryfied. ...
2
votes
1answer
1k views

Apportion Neighborhood Information to Census Tracts

I have a shapefile of census tracts and another shapefile of "neighborhoods" with values that I need to have joined to the census tracts. I know I need to apportion the area of the neighborhood ...
5
votes
2answers
2k views

How to automatically reload raster layers if source is changed in QGIS?

How to automatically reloaded raster layer if source is changed? (The path is the same but inside source file are changes) I use: qgis.utils.iface.mapCanvas().refresh() but layer not refresh. # ...
2
votes
2answers
3k views

Iterate through multiple Raster files and compute statistics using Zonal Statistics

I have a large number of raster images. What I'd like to do is to compute statistics on different sections of these raster files using a polygon. I think everyone is suggesting Zonal statistics. ...
46
votes
2answers
7k views

Acquiring ArcGIS-like speed in Postgis

I have been using Postgis 2.0 for 3/4 of a year now and while I really enjoy using it, excessive query processing time has rendered it basically unusable for my use case. I tend to do heavy ...
54
votes
19answers
39k views

What are some Free and Open Source GIS Desktop packages

Can someone please give me a list of free and open source GIS desktop packages?
25
votes
10answers
10k views

How do I develop my GIS programming skills?

I would like to develop my GIS programming skills, where do I start? People say learn C++ or Python but where can I learn this in a geographic context? Tutorials or anything would be very helpful, as ...
34
votes
8answers
5k views

Representation of network flows

This is a sample transportation network flow I've done a year ago based on 26 zones. For a project I'm working on now, I need to represent the flows over 1,000 zones with directionality. Any ...
21
votes
6answers
18k views

How to convert image of map into vector format?

What is the best way of converting a gif of a map into a vector format, such as a shapefile? The only relevant parts that I am interested in are the outline of the island so I realize some manual ...
19
votes
2answers
14k views

How to run a simple python script for QGIS from outside (e.g. Sublime Text)?

I would like to run a few small and simple python scripts for QGIS (Mac) from "outside" of QGIS. With outside I mean in this context, either the normal os command line (terminal.app) or even better, ...
26
votes
1answer
9k views

Is WGS84 itself a Coordinate Reference System?

I was wondering the difference between WGS84 and EPSG:4326 (see this). Can then WGS84 on its own be defined as a Coordinate Reference System? Or is it just a datum so that a Coordinate System must ...
47
votes
4answers
17k views

LatLon or LonLat, what's the “right” way to display coordinates and inputs?

I'm trying to get a sense if this is an issue for others or every input/output should be labeled so user is not confused and just go with it? I think almost everyone pronounces it as "LatLon". Who ...
32
votes
2answers
19k views

How to change the SRID of exisisting data in PostGIS?

While importing my shapefile data to PostGIS, I did not select the proper Projection. How do I now change the SRID of the data, without transforming the Coordinates?
19
votes
2answers
5k views

How to make a separate Python installation that can call ArcGIS' arcpy?

I see a lot of threads asking how you can create a separate Python installation (e.g. the Anaconda or Python XY distribution) that can use arcpy, while not 'breaking' the original ArcGIS python ...
19
votes
4answers
3k views

How do GIS web apps work?

I am completely new to GIS and therefore have questions regarding how the GIS Web development should be made, because the entire concept still confuses me. So, imagine I have a map. And by this, i ...
15
votes
3answers
6k views

How to calculate Network Service Areas in QGIS?

Is there any way in QGIS to apply service area buffers e.g if I have a point on a map I wish to show the service coverage of 1 mile, 2 mile, 3 mile, breaks using the road network?
24
votes
7answers
10k views

Nearest neighbor between point layer and line layer?

I've asked this question several times on stackoverflow and irc between #qgis and #postgis and I also tried to code it or implement it my self in postgis with no real answer. Using programming (most ...
22
votes
5answers
5k views

Is there a source for historical shapefiles and tiles?

Is there a source for historical shapefiles and tiles? Like the ancient Greece/Rome, medieval Europe and Japan? Ideally with multiple snapshots during different periods in their development, since ...
23
votes
4answers
33k views

How do I load OSM vector data in QGIS 2.x?

In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS. This was great (give or take the ...
20
votes
9answers
18k views

How to convert ArcGIS Server JSON to GeoJSON?

I'm creating a web map using Leaflet, and I want to be able to grab feature layers from our ArcServer. I have successfully been able to retrieve a feature class as JSON, but Esri's JSON objects don't ...
16
votes
4answers
27k views

How to load external geojson file into leaflet map

I would like to load a geoJSON (polygon) file into my leaflet map. I have seen examples where geoJSON is embedded into the javascript code but I can't find any examples showing how it is done with an ...
20
votes
9answers
6k views

GIS data for fast food industry

I am working a small project related to fast food industry. I am trying find GIS data for fast food chains like subway, MC Donald's, Arby's, etc in state of Ohio. Basically, I am looking for point ...
24
votes
10answers
32k views

Adding Attribute data to shapefile?

I can display a shapefile in openlayers but I need to add some attribute data. I can open the dbf file in excel but there is no save as option in excel to the updated file as a dbf. What is the ...
22
votes
5answers
4k views

How to create regular point grid inside a polygon in Postgis?

How to create, inside a polygon, a regular grid of point spaced x,y in postgis? Like the example:
21
votes
3answers
2k views

Packing Polygons within polygon

I have a Boolean raster. In the grey areas of the raster I would like to fit a given size polygon within a contiguous extent. Basically, I have an irregular polygon, and i would like to "fit" a ...
12
votes
3answers
5k views

Land Cover Feature Extraction from Satellite Imagery

I'm interested in a low-cost or open source solution for creating land cover GIS layers that utilize both spectral and textural extraction algorithms. I have used PCI Geomatica, ENVI, and Feature ...
11
votes
4answers
4k views

Connecting line features and determining the length of the longest line

I have a line feature (see image) representing a river that I created using the Stream_to_Feature tool. The attribute table contains several records representing different lines - the problem is the ...
11
votes
5answers
3k views

Simplifying polygons to linestring

I would like to simplify some polygons that represent rivers into linestrings. I assume that holes in polygons can be omitted. Anybody has some good idea how to simply do it? It would be nice, if it ...
10
votes
1answer
3k views

Creating table containing all filenames (and possibly metadata) in File Geodatabase?

I need to create a metadata-table for all files in a File Geodatabase or Spatial Database. Is it possible to automatically be updated with new filenames, and possibly even metadata (as created in ...
28
votes
1answer
27k views

How to install a QGIS plugin when offline?

Due to various IT policies at my workplace, QGIS is installed on a machine that is not connected to the internet. I wish to install a couple of QGIS plugins on this system. I have downloaded the ...
23
votes
3answers
10k views

How to call gdal_translate from Python code?

Is it possible to use some gdal API to call gdal_translate from Python code? I do not mean simply executing the gdal_translate.exe from the file system, but rather call it somehow in code so I do not ...
17
votes
2answers
5k views

Which function for creating a POINT in PostGIS?

When defining a Point in PostGIS, when do you decide to use which of the following? ST_SetSRID(ST_MakePoint(lon,lat),4326) ST_SetSRID(ST_Point(long,lat),4326) ST_SetSRID(ST_GeomFromText('POINT(lon ...
14
votes
2answers
4k views

How to count and rasterize polygon overlaps in ArcGIS Desktop?

How do you take a vector layer with overlapping polygons and turn it into a raster where each cell counts the number of polygons containing that cell? We are looking at polygons of fire burn areas ...

15 30 50 per page