blankblank blank




Create A Random Point Or Evenly-Spaced Point Grid Shapefile Within A Defined Area



Got an email question about how to create point grids in GIS format with free software, and the off-the-top-of-my-head solution was fGIS. fGIS (Forestry GIS) is a decent freeware GIS developed by the Wisconsin Department of Natural Resources using the TatukGIS Developer Kernel. Up until late 2005, updated versions were being released regularly as freeware, but a change in the Kernel licensing conditions made that impossible for future versions. The last free version is still available, but is not guaranteed to be bug-free and will never be fixed or updated. Still, it has some useful utilities, including the “Generate Cruise Points” tool, available from the Utilities menu; this tool lets you create random and regularly-spaced point shapefiles for a defined area.

Start up fGIS,  and you’ll be asked to define a project name right away. The coordinate system will be defined by the first layer you add, either raster or vector, and whatever data layers you add to the program must be in the same coordinate system. The program supports many different formats, vector and raster, including shapefile and GeoTiff. You’ll need to have the area you want gridded defined by a vector layer, either one you open or one you create using the program’s vector editing functions; e.g. you could open a raster GeoTiff, then draw a polygon defining the area you want gridded on top of the raster image. You also need to highlight the polygon area you want to have gridded using the “Pick” tool (the red arrow icon at the top):

2-4-2009-2.54.08 PM

Then select Utilities => Generate Cruise Points:

2-4-2009-2.54.49 PM

Here, new.shp is the polygon shapefile with the highlighted area to be gridded; specify the output grid point shapefile by clicking on the “Output Shapefile” button (entering the directory in the box at right has no effect). Then choose either a random grid and the number of random points, or a systematic grid with the desired spacing and units. Click OK, and the grid shapefile will be created and added to the map view; if the area is large, and the spacing is small, this may take a while. Here’s that grid shapefile plotted on top of the original raster (zoomed in very close):

2-4-2009-2.53.21 PM

With software like DNRGarmin, you could upload such a grid to your GPS as a set of sampling points.

Other posts in the GIS Tools series

  1. Converting E00 Vector Data To Shapefiles – A Free And Fairly Painless Approach
  2. Simplifying Line And Polygon Shapefiles
  3. Converting US Census TIGER Data Into Shapefiles For Free
  4. Converting Shapefiles and ArcINFO Coverages To AutoCAD DXF Format
  5. Converting Point Shapefiles To Text/Spreadsheet Format
  6. Converting Text/Spreadsheet Files To Point Shapefile Format
  7. An Easier Way To Convert Shapefiles to Text/Spreadsheet Format
  8. Converting Text/Spreadsheet Data To Line/Area Shapefiles
  9. Full Resolution Raster Map Combining, Subsetting And Export With The TatukGIS Viewer
  10. Viewing Vector Data In The TatukGIS Viewer
  11. The LizardTech Stand-Alone MRSID Viewer
  12. Converting Raster Area Images Into Polygon Shapefiles
  13. SAGA GIS 2.0 Released
  14. ILWIS GIS Is Now Open Source
  15. AVHRR Analysis Add-On For ILWIS
  16. Advanced Image Mosaicking With Regeemy
  17. A Free GIS Viewer (And Cheap GIS Editor) For Windows Mobile Systems
  18. Updates For MapWindow And Saga GIS Programs
  19. Updates For Two Open-Source GIS Programs
  20. Putting Together A Basic Linux GIS Workstation
  21. Free Online Courses For Open Source GIS
  22. GIS-Oriented Linux Distributions
  23. Tabular Terrain Elevation Data
  24. Quick Data Gridding With QuikGrid
  25. A Good Introduction To Geospatial Data Analysis
  26. Converting Digital Elevation Models To Shapefile/DXF Contours
  27. Fixing "Broken" Shapefiles
  28. A Simple DBF Editor
  29. Two Online Vector GIS/GPS/KML Conversion Utilities
  30. Another Shapefile Repair Tool
  31. Quantum GIS (qGIS) Version 0.10 Released
  32. Online Raster Map Georeferencing/Registration With Map Rectifier
  33. Using The Demo Version Of Global Mapper As A Raster/Vector Data Viewer
  34. New Stable Release Of MapWindow GIS
  35. The Big List Of Free Metadata Software I
  36. The Big List Of Free Metadata Software II
  37. GIS On A Stick

Looking for something else? Enter some keywords below, then click "Search".
"This site" searches Free Geography Tools; "Web" searches the Internet using Google.
 



1 Response to “Create A Random Point Or Evenly-Spaced Point Grid Shapefile Within A Defined Area”


  1. 1 Dan Foster

    I’ve recently added a Timber Cruise Grid building function to ExpertGPS, which may be of interest to foresters or others looking for an actively-supported software solution. It allows you to create a regularly-spaced grid over any tract and send a cruising route of GPS waypoints directly to any handheld GPS.

Leave a Reply


I welcome all legitimate comments. But spammers should know that my spam filters are currently blocking almost 100% of comment spam, and any that gets through the filters is immediately deleted. Don't believe me? Try posting a spam comment, and see what happens.

Powered by WP Hashcash