[Geoserver-users] ENVI Ehdr support in GeoServer

– Sorry if this is a duplicate post, but I don’t think the original made it to the list. –

Hello,

I’m new to GeoServer and wish to load up some ENVI raster data. I have a successful installation and I’ve added the GDAL coverage extension. I see that there is Ehdr Coverage Format in the Coverage Plugins List.

When I go to create a new coverage store using the EHdr Coverage Format, Geoserver returns one of two messages saying it could not find the file or indicating an invalid url. Exact messages:

  1. Could not find file: C:\Program Files\GeoServer 1.7.1\data_dir\coverages\bhtmdef.dat Perhaps location was entered wrong?; or
  2. "Invalid url: ‘file:coverages/bhtmref.dat’ for format type:‘EHdr’. The file is indeed at this location with a corresponding .hdr file.

If I enter the .hdr file in the URL field the console returns:

“ERROR 1: The selected file is an ENVI header file, but to open ENVI datasets, the data file should be selected….”

Can anyone provide some advice on how to troubleshoot these messages? I’ve tried renaming the ENVI binary file extension to .dat, .img, .envi and .ehdr but nothing seems to be recognized.

Many thanks,

Mark

Hi Mark,
can you give me your sample data so I can do a test and trace the problem?
Also note that having spaces on a path (C:\program files) could raise problems.
Let me know.

Regards,
Daniele

On Thu, Dec 18, 2008 at 4:17 PM, Mark Bowersox <mbowersox@…2039…> wrote:

– Sorry if this is a duplicate post, but I don’t think the original made it to the list. –

Hello,

I’m new to GeoServer and wish to load up some ENVI raster data. I have a successful installation and I’ve added the GDAL coverage extension. I see that there is Ehdr Coverage Format in the Coverage Plugins List.

When I go to create a new coverage store using the EHdr Coverage Format, Geoserver returns one of two messages saying it could not find the file or indicating an invalid url. Exact messages:

  1. Could not find file: C:\Program Files\GeoServer 1.7.1\data_dir\coverages\bhtmdef.dat Perhaps location was entered wrong?; or
  2. "Invalid url: ‘file:coverages/bhtmref.dat’ for format type:‘EHdr’. The file is indeed at this location with a corresponding .hdr file.

If I enter the .hdr file in the URL field the console returns:

“ERROR 1: The selected file is an ENVI header file, but to open ENVI datasets, the data file should be selected….”

Can anyone provide some advice on how to troubleshoot these messages? I’ve tried renaming the ENVI binary file extension to .dat, .img, .envi and .ehdr but nothing seems to be recognized.

Many thanks,

Mark


SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can’t happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


Hi again,
I have just noticed that you are talking about ENVI Hdr.
The EHdr coverage format is instead referring to the ESRI Hdr labelled format.
For your information, we are working on setting up a release of the Imageio-ext project (also containing ENVI Hdr support) in order to bring the geotools Imageio-ext gdal module to supported land.
Adding ENVI Hdr support to geoserver will be an easy task.

Hope this helps.

Regards,
Daniele

On Thu, Dec 18, 2008 at 4:17 PM, Mark Bowersox <mbowersox@anonymised.com> wrote:

– Sorry if this is a duplicate post, but I don’t think the original made it to the list. –

Hello,

I’m new to GeoServer and wish to load up some ENVI raster data. I have a successful installation and I’ve added the GDAL coverage extension. I see that there is Ehdr Coverage Format in the Coverage Plugins List.

When I go to create a new coverage store using the EHdr Coverage Format, Geoserver returns one of two messages saying it could not find the file or indicating an invalid url. Exact messages:

  1. Could not find file: C:\Program Files\GeoServer 1.7.1\data_dir\coverages\bhtmdef.dat Perhaps location was entered wrong?; or
  2. "Invalid url: ‘file:coverages/bhtmref.dat’ for format type:‘EHdr’. The file is indeed at this location with a corresponding .hdr file.

If I enter the .hdr file in the URL field the console returns:

“ERROR 1: The selected file is an ENVI header file, but to open ENVI datasets, the data file should be selected….”

Can anyone provide some advice on how to troubleshoot these messages? I’ve tried renaming the ENVI binary file extension to .dat, .img, .envi and .ehdr but nothing seems to be recognized.

Many thanks,

Mark


SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can’t happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


Yes, I'm working with ENVI format. I was a bit confused as to which EHdr
GeoServer was using. Especially since I got an error message referring
to ENVI and not ESRI. It's good to know that ENVI support is coming
soon. I'll send the data under separate cover.

Thanks for your quick response.

Mark

________________________________

From: dany.geotools@anonymised.com [mailto:dany.geotools@anonymised.com] On Behalf
Of Daniele Romagnoli
Sent: Thursday, December 18, 2008 8:49 AM
To: Mark Bowersox
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] ENVI Ehdr support in GeoServer

Hi again,
I have just noticed that you are talking about ENVI Hdr.
The EHdr coverage format is instead referring to the ESRI Hdr labelled
format.
For your information, we are working on setting up a release of the
Imageio-ext project (also containing ENVI Hdr support) in order to bring
the geotools Imageio-ext gdal module to supported land.
Adding ENVI Hdr support to geoserver will be an easy task.

Hope this helps.

Regards,
Daniele

On Thu, Dec 18, 2008 at 4:17 PM, Mark Bowersox <mbowersox@anonymised.com>
wrote:

-- Sorry if this is a duplicate post, but I don't think the original
made it to the list. --

Hello,

I'm new to GeoServer and wish to load up some ENVI raster data. I have a
successful installation and I've added the GDAL coverage extension. I
see that there is Ehdr Coverage Format in the Coverage Plugins List.

When I go to create a new coverage store using the EHdr Coverage Format,
Geoserver returns one of two messages saying it could not find the file
or indicating an invalid url. Exact messages:

1. Could not find file: C:\Program Files\GeoServer
1.7.1\data_dir\coverages\bhtmdef.dat Perhaps location was entered
wrong?; or
2. "Invalid url: 'file:coverages/bhtmref.dat' for format
type:'EHdr'. The file is indeed at this location with a corresponding
.hdr file.

If I enter the .hdr file in the URL field the console returns:

"ERROR 1: The selected file is an ENVI header file, but to open ENVI
datasets, the data file should be selected...."

Can anyone provide some advice on how to troubleshoot these messages?
I've tried renaming the ENVI binary file extension to .dat, .img, .envi
and .ehdr but nothing seems to be recognized.

Many thanks,

Mark

------------------------------------------------------------------------
------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you. Join us at MIX09 to
help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.
com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it

-------------------------------------------------------

Hi again Mark,
GDAL uses “EHdr” to refer to the ESRI Hdr format.
Being our ImageIO-ext project based on GDAL we have used the same naming. Finally, being the Geotools module based on the ImageIO-Ext, the name is again “EHdr”.
Anyway, I will change the Format Description “EHdr Coverage Format” to “ESRI Hdr labelled Coverage Format” to avoid confusion.
About the error message, I guess the underlying GDAL library successfully recognized the ENVI file although the proper Geotools format reader isn’t defined yet.

Regards,
Daniele

On Thu, Dec 18, 2008 at 5:06 PM, Mark Bowersox <mbowersox@anonymised.com> wrote:

Yes, I’m working with ENVI format. I was a bit confused as to which EHdr GeoServer was using. Especially since I got an error message referring to ENVI and not ESRI. It’s good to know that ENVI support is coming soon. I’ll send the data under separate cover.

Thanks for your quick response.

Mark


From: dany.geotools@anonymised.com…84… [mailto:dany.geotools@anonymised.com] On Behalf Of Daniele Romagnoli
Sent: Thursday, December 18, 2008 8:49 AM
To: Mark Bowersox
Cc: geoserver-users@anonymised.comsourceforge.net
Subject: Re: [Geoserver-users] ENVI Ehdr support in GeoServer

Hi again,
I have just noticed that you are talking about ENVI Hdr.
The EHdr coverage format is instead referring to the ESRI Hdr labelled format.
For your information, we are working on setting up a release of the Imageio-ext project (also containing ENVI Hdr support) in order to bring the geotools Imageio-ext gdal module to supported land.
Adding ENVI Hdr support to geoserver will be an easy task.

Hope this helps.

Regards,
Daniele

On Thu, Dec 18, 2008 at 4:17 PM, Mark Bowersox <mbowersox@anonymised.com> wrote:

– Sorry if this is a duplicate post, but I don’t think the original made it to the list. –

Hello,

I’m new to GeoServer and wish to load up some ENVI raster data. I have a successful installation and I’ve added the GDAL coverage extension. I see that there is Ehdr Coverage Format in the Coverage Plugins List.

When I go to create a new coverage store using the EHdr Coverage Format, Geoserver returns one of two messages saying it could not find the file or indicating an invalid url. Exact messages:

  1. Could not find file: C:\Program Files\GeoServer 1.7.1\data_dir\coverages\bhtmdef.dat Perhaps location was entered wrong?; or
  2. "Invalid url: ‘file:coverages/bhtmref.dat’ for format type:‘EHdr’. The file is indeed at this location with a corresponding .hdr file.

If I enter the .hdr file in the URL field the console returns:

“ERROR 1: The selected file is an ENVI header file, but to open ENVI datasets, the data file should be selected….”

Can anyone provide some advice on how to troubleshoot these messages? I’ve tried renaming the ENVI binary file extension to .dat, .img, .envi and .ehdr but nothing seems to be recognized.

Many thanks,

Mark


SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can’t happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it


Eng. Daniele Romagnoli
Software Engineer

GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 328 0559267

http://www.geo-solutions.it