[mapserver-users] GDAL input formats
Alexander Petkov
greenkov at gmail.com
Wed Jan 5 13:06:36 PST 2011
Hi David:
If gdal can read your rasters (gdalinfo will work for a quick and easy
test), mapserver will too.
Alex
On Wed, Jan 5, 2011 at 1:46 PM, David Hildebrand
<David.Hildebrand at afsc.ca> wrote:
> Thanks, Jukka. The second part of my question relates to floating point
> images. I don't think that MapServer can handle 3-band floating point
> images because I can't seem to find anything in the documentation and I
> have tried a couple of things that don't work. I suppose the best thing
> would be to convert them to 3-band, 8-bit images.
>
>
> ===========================
> 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: Rahkonen Jukka [mailto:Jukka.Rahkonen at mmmtike.fi]
> Sent: Wednesday, January 05, 2011 10:07 AM
> To: David Hildebrand
> Cc: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] GDAL input formats
>
> Hi,
>
> Have you already read the ENVI part of the following document?
> http://gdal.org/frmt_various.html#ENVI
>
> -Jukka Rahkonen-
>
>
> David Hildebrand wrote:
>
>> 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
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> 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