[mapserver-users] GDAL input formats
David Hildebrand
David.Hildebrand at afsc.ca
Wed Jan 5 08:00:15 PST 2011
Frank:
As you are probably aware, ENVI image files are associated with a header
file which has a "hdr" extension. The extension of the actual image
file can be anything but the root name of the image file and header file
must be the same. If I specify the HDR file on the DATA line of my map
file there may be more than one file in the same workspace which are
candidate image files. If I specify the name of the image file, which
can have any or no extension, I don't see how the system can figure out
the format. Is there a particular extension which is assumed by GDAL
for the image file?
Thanks.
===========================
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239
www.afsc.ca <http://www.afsc.ca>
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Frank
Warmerdam
Sent: Tuesday, January 04, 2011 5:33 PM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] GDAL input formats
On 11-01-04 03:14 PM, David Hildebrand wrote:
> I'm wondering how to specify a particular GDAL format. I have some
> 3-band floating point images in ENVI format and I would like to retain
> that format because I have GDAL support. Secondly, would it be better
> to convert them to GeoTiff files? Would it also be better to scale
them
> to, say 16-bit signed integer files?
David,
I searched back a bit in the archive, but I couldn't find any leadup
discussion to the above. It seems to lack context.
So, you have 3band floating point images in ENVI format and you would
like to retain that format. Is there something holding you back?
You said you don't know "hjow to specify a particular GDAL format". Do
you mean when you are generating output via GDAL such as with WCS? Or
do you mean how you tell MapServer what format an input file is in?
You don't have to tell MapServer (or GDAL) what format a file is in.
It figures it out - assuming it is a supported format.
Does that help?
Best regards,
--
---------------------------------------+--------------------------------
------
I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list