I am looking for the equivalent of FWTools for Mac OS X, Lion. Is there anything I can easily install and get that command?
ogr2ogr is part of the Geospatial Data Abstraction Library (GDAL).
- Get homebrew from http://brew.sh
brew install gdal
You can find Mac GDAL downloads here: http://www.kyngchaos.com/software/archive#gdal OGR and the associated utilities (i.e ogr2ogr and ogrinfo) are included with GDAL.
Taking the information from the above, here's how you would actually get the ogr2ogr command working like it should
add this to your
the above code also adds a bunch of other gdal libraries to your path as well