9
votes
4answers
3k 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 ...
25
votes
1answer
20k 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 ...
20
votes
3answers
7k 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.py from the file system, but rather call it somehow in code so I do not ...
13
votes
2answers
3k 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 ...
17
votes
9answers
4k 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 ...
13
votes
8answers
4k views

ArcObjects Resources

What are the best books/web sites for C# development with ArcObjects? The ArcGIS Resource Center is very helpful, but I am trying to find sources with more examples. Thanks
12
votes
4answers
3k views

Elevation profile 10 km each side of a line

How can I get an elevation profile for a band of terrain? The highest elevation within 10 km (on each side of the defined line) should be taken into account. I hope my question is clear. Thank you ...
20
votes
2answers
12k views

How to convert .shp into .gpx using QGIS?

I'm newbie using QGIS. I would like to convert .shp into .gpx. So, using Qgis, I open my shapefile and I tried to "save as" gpx but it gives an OGR error: creation of field ObjectId failed (OGR ...
9
votes
3answers
1k 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 ...
7
votes
2answers
2k views

How to build an artificial 'dam' across a river?

I have a DEM. Created all files related to watershed including accumulation, direction, streams etc... I'm stuck creating a dam. I request you to please let me know how to build an artificial 'dam' ...
5
votes
5answers
4k views

How to calculate distances in a point sequence?

I'm looking for help calculating the distance between a sequence of points that are in a single Shapefile in QGIS. Below is what my data look like and a blank distance column I've added to show how ...
15
votes
4answers
2k views

algorithm to place maximum number of points within constrained area at a minimum spacing

I have a polygon layer that describes a constraint; I wish to add points within this area. I want to add as many points as possible, but they must have a minimum spacing between them. Is it possible ...
4
votes
1answer
271 views

Calculate population within radius

I have population data matched with polygons and a set of points that I have drawn buffers around. Assuming that the population within each geographical area, i.e. the polygons, is evenly distributed, ...
4
votes
2answers
853 views

Is Shooting Star broken in PGRouting 1.05?

I'm using pgrouting DLL 1.05 with postgresql 9.1. All required function installed. Astar and Dijkstra work fine with sample data but "SHOOTING STAR" is not considering "reverse_cost". Also if i try ...
14
votes
6answers
7k views

Recalculating full extent of File Geodatabase feature class?

I have a featureclass in an Esri file geodatabase. When I edit the features using the editor in ArcMap, and I delete most of my features and keeping only the ones in the middle, the zoom to layer ...
11
votes
3answers
7k views

Google Maps layer copyright popup every time map updated / user input

I have used a Google Maps hybrid layer in Openlayers in my HTML5 iOS app for months now and it worked perfectly. Just recently they changed something because the 'Map data...' line at the bottom looks ...
9
votes
1answer
2k 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?
5
votes
2answers
400 views

Summary table with a field that shows components of each summarized record

I have a table with 2 fields the first is for community and the second for the main community that it belongs to, as in the image I want to summarize the second field (Belongs_to) but with an extra ...
3
votes
2answers
2k 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
3answers
2k views

Data-defined Styles in QGIS

I have downloaded a shapefile of bedrock geology. I need it to be displayed as it should be with the style applied. The supplier will no give me a qml. but i have noticed in the .dbf file the Cyan ...
2
votes
3answers
3k views

How to auto increment a field in a feature class?

So I'm relatively new to ArcGIS and ArcCatalog. I have created a field name of PROJECTID in a feature class in a Personal Geodatabase. The data type is TEXT. This will be a ten digit ID. The first ...
14
votes
2answers
4k views

Using Geodesic Measurements for Circle Radii?

I am currently developing an OpenLayers mapping site. Measurements can be made using a line tool, and an area tool. Both of these are currently set to calculate geodesic measurements as outlined in ...
3
votes
1answer
95 views

Why isn't the service layer shape properly spread out?

I created a simple service layer polygon in network analyst (ArcGIS Desktop 10.2) with no hierarchies set in the street network. Now I don't understand why is this polygon created along some ...
1
vote
1answer
321 views

Flatten / collapse one-to-many table and keep the 'many' attributes separate

I have a data set that contains intersection data. Each intersection node has up to 6 links which is identified by IN_LINK and OUT_LINK attributes. I want to create a new dataset that includes the ...
1
vote
2answers
285 views

How to define Subroutines and functions?

I am working in VBA. My error is sub and function are not defined. Here is my code: Private Sub CreateMap(cboDistrict As String) Dim mapDocument As New mapDocument If ...
40
votes
2answers
5k 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 ...
42
votes
7answers
5k views

Best practices for PostGIS production environments?

What PostGIS documentation have you come across that has been helpful when tuning PostGIS for a production environment? I would like to get together with my DBA to setup a Postgresql/PostGIS ...
34
votes
6answers
14k views

Alternatives to ArcGIS Online?

I am considering purchasing ArcGIS Online for a group of users who currently use about 5% of ArcGIS capabilities (ArcMap, simple map creation and information display) about 80% of the time. Primary ...
40
votes
4answers
2k views

What are the FOSS equivalents to these ArcGIS products?

I'm a long-term user of ESRI software, and I now have a need to use free and open source software. I've been reading about Open Layers, PostgreSQL, PostGIS, GeoServer and MapServer but I can't find ...
22
votes
10answers
8k 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 ...
45
votes
8answers
57k views

What is the difference between DEM, DSM and DTM?

I am listing some of the acronyms used in our work and had to stop to think about whether to list these together or separately. In some circles they are synonymous, in others they have distinct ...
33
votes
6answers
12k views

Downloading OpenStreetMap Data

Is there a straightforward way to download data from OpenStreetMap (OSM)? Using North America as an example, I realize Cloudmade (http://downloads.cloudmade.com/north_america) and geofabrik ...
16
votes
4answers
24k views

How do you decide what interpolation method to use for resampling raster data?

The question pretty much says it all; are there hard and fast rules about which interpolation methods are suited to each kind of raster data? Any Golden rules, rules of thumb? Good books or articles ...
14
votes
1answer
3k views

How to perform Random Forest land classification?

This is a follow-up to a previous post: Machine Learning Algorithms for Land Classification. It seems that the Random Forest (RF) classification method is gaining much momentum in the remote ...
26
votes
9answers
16k views

How to connect to PostGIS database from ArcMap?

How can I connect to a PostGIS database from ArcMap? Solutions for ArcGIS 9.3, 10.0 and later are acceptable. Ideally, I would like to be able to perform spatially enabled queries and receive the ...
22
votes
5answers
17k views

Is ArcSDE no longer needed at ArcGIS 10.1?

Through my frustration of not finding the post-installation wizard with ArcSDE 10.1 and being unsuccessful with the command line tool to start an SDE service on our SDE databases, I found I was able ...
19
votes
8answers
6k views

When Versioning with ArcSDE can posted edits be cancelled or rejected?

I am using ArcGIS 9.3.1 and attempting to work with an SDE geodatabase (with one polygon feature class) that has already been registered as versioned. I'm new to versioning and am still trying to ...
20
votes
3answers
5k views

How can I switch line direction in QGIS?

Something that is hopefully pretty easy. I would like to be able to swap the direction of a polyline/line in QGIS. I made a custom tool to do this in MapInfo a couple of years ago, however I can't ...
15
votes
4answers
6k views

How to join attributes from nearest point in QGIS?

I have two layers with points, call them A and B, each with different attributes. For each point in A I want to join all the attributes from the nearest point in B. Ideally this would also include ...
21
votes
7answers
8k views

Nearest neighbor between a point layer and a 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 ...
16
votes
1answer
5k 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 ...
19
votes
2answers
10k views

How can I convert data in the form of lat, lon, value into a raster file using R?

I have a data set of values over a km grid in the continental U.S. The columns are "latitude", "longitude", and "observation", e.g.: "lat" "lon" "yield" 25.567 -120.347 3.6 25.832 ...
9
votes
1answer
2k 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. It would be awesome if it were possible to automatically be updated with new filenames, and possibly even ...
20
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 ...
20
votes
10answers
25k 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 ...
15
votes
4answers
10k views

Is it possible to use Arcpy in ArcGIS 10 to zoom to a selected feature?

The answer to this may be a simple yes or no, but I'm hoping that someone is aware of a way to zoom to the extent of a selected feature using the ArcPy modules in ArcGIS 10.
8
votes
2answers
676 views

Creating summary table of symbology of all datasets in multiple MXDs?

This is related to the following Retain ESRI symbology in Mapinfo TAB . As an initial step (in arcpy) I want to access the symbology of all the datasets and create a document which has the details of ...
7
votes
2answers
7k views

Rotating a vector layer in QGIS with qgsAffine (or other method)?

I would like to rotate a set of vector points in QGIS an arbitrary number of degrees around a central point (or arbitrary point). This is similar to a recent question about creating a regular grid; ...
11
votes
2answers
6k views

How to check Topology in QGIS?

I have two Shapefiles with Polygons ( City and Forerst) Is there a Plugin who is able check the topology (QGIS)? Like "Knots do not overlap" or something like that? I dont want that they overlap. ...
10
votes
2answers
17k views

How to crop Shapefiles in QGIS?

I need to clip a large and very detailed .shp file in QGIS showing environmental data similar to a temperature map. Is there something like the very simple crop tool alike in photoshop where you can ...

15 30 50 per page