[Mapserver-users] How do I create a georeferenced tiff file...
Homme Zwaagstra
hrz at geodata.soton.ac.uk
Fri May 28 01:30:41 PDT 2004
On Thu, May 27, 2004 at 01:34:34PM -0600, Zamil Murji wrote:
> Hello list,
>
> I've got a postgis table with approximately 500000 rows. I would like to extract that data at various scales into georeferenced tiff images. How do I do this? What programs can I use?
>
Not knowing the details of your data structure I can only give you an
overview of how I would approach the problem.
I can think of two options:
1. write a program to dump the database data into a raster format that
can then be converted to geotiff using gdal_translate. An ASCII
raster format such as the ESRI grid format would probably be the
easiest to use.
2. write a program that accesses the database and builds the geotiff
on the fly using the GDAL API.
Both are tasks that are most easily solved by scripting languages such
as perl or python. If going with option 2 I would consider the
excellent python interface to GDAL.
Hope that helps,
Homme Zwaagstra
More information about the MapServer-users
mailing list