[postgis-users] How do I create a georeferenced tiff file...

Paul Ramsey pramsey at refractions.net
Thu May 27 14:27:41 PDT 2004


Free your mind, and the rest will follow...

Every image you create with mapserver is georeferenced by nature. When 
you ask mapserver for an image with a particular extent, that image is 
georeferenced -- it is an image and it has the spatial extents you asked 
for. Throw the extents into a world file and voila, instant 
georeferenced image. Write a script that hits mapserver with a request, 
writes a world file to disk, and writes the returned image to disk. 
Voila, georeferenced images. If you want TIFF (or any other supported 
gdal format) as your image format, you can use the OUTPUTFORMAT clause 
in your mapfile. See the mapserver reference docs for more information 
on that.

Paul

Zamil Murji wrote:

> Hi Paul,
> 
> Do you have an example of how to do this? I've only ever used
> mapserver to create png and jpeg, but never used it to create a
> georeferenced tiff. In fact, I didn't even know mapserver could do
> such a thing (thanks for the insight).
> 
> Thanks Zamil
> 
> -----Original Message----- From:
> postgis-users-bounces at postgis.refractions.net 
> [mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of
> Paul Ramsey Sent: Thursday, May 27, 2004 2:45 PM To: PostGIS Users
> Discussion Subject: Re: [postgis-users] How do I create a
> georeferenced tiff file...
> 
> 
> Use mapserver with the new GDAL outputformat support to write out
> TIFFs.
> 
> 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?
>> 
>> Thanks for your help, Zamil 
>> _______________________________________________ postgis-users
>> mailing list postgis-users at postgis.refractions.net 
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 
> 


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_



More information about the postgis-users mailing list