Get Spatial
  • Member for 10 years, 11 months
  • Last seen more than a month ago
Installing File Geodatabase (*.gdb) support in QGIS
Accepted answer
201 votes

Update December 2017 Now you can simply drag&drop .gdb file (directory) into QGIS. This is read access to File Geodatabases only. If you require write access please read further. Update July ...

View answer
Layers with same coordinate system should align/overlap in ArcMap but do not?
99 votes

You are confusing two different operations dealing with Projections. Define a projection: You would use this when you have a shapefile or other feature class that does not currently have a spatial ...

View answer
How do I load a .dbf file into QGIS?
Accepted answer
45 votes

The set of files that you have is referred to collectively, as a Shapefile. It is a common spatial data format developed by ESRI that is used for data transfer between many different packages. This ...

View answer
Donating and volunteering geographical knowledge?
37 votes

This question has been converted to Community Wiki and wiki locked because it is an example of a question that seeks a list of answers and appears to be popular enough to protect it from closure. ...

View answer
Opening TIFF DEMs in QGIS
29 votes

From your question, I'm assuming you are a new user of QGIS. Tiff files are a type of Raster, which are supported in QGIS. The fact that your Tiff is a DEM (Digital Elevation Model) just gives ...

View answer
What is the SRID of census.gov shapefiles?
Accepted answer
19 votes

The first step to determining the correct projection of any layer, is to find the projection information, if any, that came with your layer. In the case of a Shapefile, like what you downloaded from ...

View answer
How to Clear Selected Features in Arcmap using Python
Accepted answer
18 votes

Here is the help document covering the function in question: Select Layer by Attribute (Data Management) I think this is how you would implement it: arcpy.SelectLayerByAttribute_management(Table, "...

View answer
How to achieve equivalent to Dissolve from ArcGIS for Desktop using ST_Union?
17 votes

Your problem is likely because of what you have included in the group by field. ST_UNION is an aggregate function, meaning that it is dissolving based on what you specify as the GROUP parameter. ...

View answer
Repairing data sources in multiple MXDs using ArcPy?
Accepted answer
15 votes

You are on the right track with your script. It looks like your problem lies in how you are comparing the Layer object, to the Name of the Layer in the Table of Contents. When you use the ListLayers ...

View answer
Retrieving start and end point coordinates with ArcPy?
15 votes

The process for this seems to have changed between ArcGIS 10.0 and 10.1. I will include a sample for both. Here is the help document on reading geometries in 10.1 using arcpy: Reading Geometries 10....

View answer
csv to kml converter
Accepted answer
15 votes

There are 2 immediate options that would best get you where you are trying to go. Your first, and probably easiest option, would be to download Quantum GIS, using the OSGeo4W Installer. Once you ...

View answer
Alternatives to Shapefiles as open-source, cross platform dataset types
13 votes

A new format that has come about recently is the Geopackage. This specification is built on top of the SQLite database, so it has the same single-file basis, but with the added benefit of being an ...

View answer
Date-format conversion
Accepted answer
13 votes

I have not used the Time Manager plugin either, but I think @Pedro is correct, this is a task for a field calculator first. Once you create the new field and fill it, then use the Time Manager to act ...

View answer
Difference between map layer and spatial dataset (e.g. feature class, shapefile)?
13 votes

These terms specifically relate to the ESRI software and data schemas. A feature class is a set of common geographic features, for example roads, or parcels, or land use, as they are stored in a ...

View answer
Does anyone use TRS (Township, Range, Section) data?
Accepted answer
13 votes

The primary industry that uses this is the real estate industry, and planning and government. The TRS system is the basis for the legal descriptions that describe the locations of land parcels in ...

View answer
Using ArcGIS with dual/multiple monitors?
12 votes

I've been using dual monitors for years with ArcGIS. A lot of the benefit is not so much in splitting the actual software over two monitors, but instead, to use it on one monitor and other programs ...

View answer
Difference between Copy Features and Feature Class to Feature Class tools?
12 votes

The most basic difference is the level at which each of the functions are working. The Feature Class to Feature Class tool is working at the Layer level, meaning that regardless of the features ...

View answer
How to Dock ArcMap's Table of Contents?
12 votes

When you have grabbed the TOC and see the buttons, drag the TOC until your Mouse is hovering over the Left Button. You will see the shadow appear of the TOC docked on the left side. Then release and ...

View answer
Importing data from Excel and maintaining the time format
12 votes

The reason that you are not able to save Time related information in a shapefile is that the Shapefile format, does not support Time as an attribute. They only support Date fields. This is due to ...

View answer
Adding automated values to attribute field?
Accepted answer
10 votes

Here is a code block for the Field Calculator that will do what you require. Open the attribute table Select all of the records that contain a NULL value in the desired field Open up the Field ...

View answer
Exporting Selected Raster Graphics using ArcGIS Desktop?
10 votes

The problem is not in the licensing or action of the export function. It is a matter of understanding how the Export Raster function works. Based on your description, you are trying to select some ...

View answer
Setting Zero values back to NULL
10 votes

Assuming you are using ArcGIS, and not QGIS, this is a simple operation. It definitely can be performed in the Field Calculator. I created a field, "test_num", type of Double as an example. This is ...

View answer
SImple model works, resulting script doesn't
10 votes

Based on the code you have copied, it looks like your error is arising from how you have entered the file path for your arcpy.env.workspace variable. Here is what you entered arcpy.env.workspace = r"...

View answer
Which Open Source GIS application support Linear Referencing and Dynamic Segmentation?
Accepted answer
9 votes

The other option that I have found is using PostGIS. This software provides the spatial extensions for the PostgreSQL rdbms. These are both Open Source. There is a Linear Referencing Component ...

View answer
How do you add a long list of rasters together in Python?
9 votes

You can make a list of the raster names you wish to add together, then step through the list, adding each one to an output raster. import arcpy from arcpy import env # Set the current workspace # ...

View answer
Arcmap 10 feature with undefined coordinate system projects incorrectly when projecton is defined
Accepted answer
9 votes

As @StephenLead said, ArcMap will Reproject your datasets on-the-fly. What is most critical is that each of your Datasets have the appropriate Coordinate System set beforehand. The other critical ...

View answer
Checking validity of Geodatabase file using ArcPy
9 votes

The following code is used to List Workspaces, in this case, File Geodatabases. It does not check for the file extension .gdb, but is looking for its internal type. This should leave out directories ...

View answer
Programmatically adding shapefile to data frame in ArcMap?
9 votes

There is a direct answer to your question on this link at StackOverflow: How do I add a shapefile in ArcGIS via python scripting? It is copied below with some modifications for clarity: Variable "...

View answer
Finding intersection of two rasters
Accepted answer
9 votes

This seems like a pretty simple clipping operation. Use the Clip (Data Management) tool. From the help documentation: An existing raster or vector layer can be used as the clip extent. If you ...

View answer
Is there a fast way to copy large raster datasets between File Geodatabases?
Accepted answer
9 votes

I think the key is the difference between how Windows Explorer treats a single file, and how ArcCatalog/ArcGIS treat a raster. There are a few factors here. In the File GDB format, a raster is not ...

View answer
1
2 3 4 5 6