As an alternative approach to the previous recipe, you will import a CSV file to PostGIS using the
ogr2ogr GDAL command and the GDAL OGR virtual format
. The Geospatial Abstraction Library (GDAL), is a translator library for raster geospatial data formats. OGR is the related library that provides similar capabilities for vector data formats.
This time, as an extra step, you will import only a part of the features in the file and you will reproject them to a different spatial reference system.
You will import the
Global_24h.csv file to the PostGIS database from NASA's Earth Observing System Data and Information System (EOSDIS).
You can download the file from the EOSDIS website at http://firms.modaps.eosdis.nasa.gov/active_fire/text/Global_24h.csv ...