Re: [OSGeo-Discuss] Open Source Library For ECW Conversion

2009-05-13 Thread Tamas Szekeres
GDAL has working SWIG bindings for Java and you could do the same as
gdal_translate is doing by using the SWIG API.
Some examples about how to use the java bindings can be found in the GDAL
source tree:

http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps

Best regards,

Tamas




2009/5/13 Landon Blake 

> Daniel,
>
> I think this would do the trick. I know just enough shell scripting to
> be dangerous, but I think that I could pull this off.
>
> I appreciate the suggestion.
>
> Landon
> Office Phone Number: (209) 946-0268
> Cell Phone Number: (209) 992-0658
>
>
>
> -Original Message-
> From: discuss-boun...@lists.osgeo.org
> [mailto:discuss-boun...@lists.osgeo.org] On Behalf Of Daniel Morissette
> Sent: Wednesday, May 13, 2009 8:11 AM
> To: OSGeo Discussions
> Subject: Re: [OSGeo-Discuss] Open Source Library For ECW Conversion
>
> Landon Blake wrote:
> > I'm looking for an open source library that will allow me to convert
> ECW
> > images into a more common format like JPG or TIFF. I'd love it if
> there
> > were something in Java, but I'm not running across anything via search
>
> > engine query so far.
> >
> >
>
> Sounds like a job for gdal_translate:
>
>   http://gdal.org/gdal_translate.html
>
> Don't let the complicated list of options scare you... for a simple
> conversion you'd use something like:
>
>   gdal_translate -of GTiff src.ecw out.tif
>
> Not in Java, but you don't need to do any coding anyway, except perhaps
> write a script to run multiple conversions in batch.
>
> Daniel
> --
> Daniel Morissette
> http://www.mapgears.com/
> ___
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
>
> Warning:
> Information provided via electronic media is not guaranteed against defects
> including translation and transmission errors. If the reader is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If you
> have received this information in error, please notify the sender
> immediately.
> ___
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] Open Source Library For ECW Conversion

2009-05-13 Thread Tyler Mitchell (OSGeo)
The gdal_translate command line app should do it for you, as long as  
it supports the ECW reading.


On 13-May-09, at 7:41 AM, Landon Blake wrote:

I’m looking for an open source library that will allow me to  
convert ECW images into a more common format like JPG or TIFF. I’d  
love it if there were something in Java, but I’m not running across  
anything via search engine query so far.




I could probably work with a library written in Python, and as a  
last resort, something written in C.




I will be trying to write a program that will convert the image  
files in a batch.

___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


RE: [OSGeo-Discuss] Open Source Library For ECW Conversion

2009-05-13 Thread Landon Blake
Daniel,

I think this would do the trick. I know just enough shell scripting to
be dangerous, but I think that I could pull this off.

I appreciate the suggestion.

Landon
Office Phone Number: (209) 946-0268
Cell Phone Number: (209) 992-0658
 
 

-Original Message-
From: discuss-boun...@lists.osgeo.org
[mailto:discuss-boun...@lists.osgeo.org] On Behalf Of Daniel Morissette
Sent: Wednesday, May 13, 2009 8:11 AM
To: OSGeo Discussions
Subject: Re: [OSGeo-Discuss] Open Source Library For ECW Conversion

Landon Blake wrote:
> I'm looking for an open source library that will allow me to convert
ECW 
> images into a more common format like JPG or TIFF. I'd love it if
there 
> were something in Java, but I'm not running across anything via search

> engine query so far.
> 
>  

Sounds like a job for gdal_translate:

   http://gdal.org/gdal_translate.html

Don't let the complicated list of options scare you... for a simple 
conversion you'd use something like:

   gdal_translate -of GTiff src.ecw out.tif

Not in Java, but you don't need to do any coding anyway, except perhaps 
write a script to run multiple conversions in batch.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Warning:
Information provided via electronic media is not guaranteed against defects 
including translation and transmission errors. If the reader is not the 
intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If you 
have received this information in error, please notify the sender immediately.
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] Open Source Library For ECW Conversion

2009-05-13 Thread Daniel Morissette

Landon Blake wrote:
I’m looking for an open source library that will allow me to convert ECW 
images into a more common format like JPG or TIFF. I’d love it if there 
were something in Java, but I’m not running across anything via search 
engine query so far.


 


Sounds like a job for gdal_translate:

  http://gdal.org/gdal_translate.html

Don't let the complicated list of options scare you... for a simple 
conversion you'd use something like:


  gdal_translate -of GTiff src.ecw out.tif

Not in Java, but you don't need to do any coding anyway, except perhaps 
write a script to run multiple conversions in batch.


Daniel
--
Daniel Morissette
http://www.mapgears.com/
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


Re: [OSGeo-Discuss] Open Source Library For ECW Conversion

2009-05-13 Thread Simone Giannecchini
You can use geotools with the gdal plugin, see:

http://docs.codehaus.org/display/GEOTDOC/ImageIO-EXT+GDAL+Plugin
http://docs.codehaus.org/display/GEOTOOLS/ImageIO-EXT+GDAL

Simone.
---
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041  Camaiore (LU)
Italy

phone: +39 0584983027
fax:  +39 0584983027
mob:+39 333 8128928


http://www.geo-solutions.it
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

---



On Wed, May 13, 2009 at 4:41 PM, Landon Blake  wrote:
> I’m looking for an open source library that will allow me to convert ECW
> images into a more common format like JPG or TIFF. I’d love it if there were
> something in Java, but I’m not running across anything via search engine
> query so far.
>
>
>
> I could probably work with a library written in Python, and as a last
> resort, something written in C.
>
>
>
> I will be trying to write a program that will convert the image files in a
> batch.
>
>
>
> Any suggestions?
>
>
>
> Thanks,
>
>
>
> Landon
>
>
>
>
>
> Warning:
> Information provided via electronic media is not guaranteed against defects
> including translation and transmission errors. If the reader is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If you
> have received this information in error, please notify the sender
> immediately.
>
> ___
> Discuss mailing list
> Discuss@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
>
___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss


[OSGeo-Discuss] Open Source Library For ECW Conversion

2009-05-13 Thread Landon Blake
I'm looking for an open source library that will allow me to convert ECW
images into a more common format like JPG or TIFF. I'd love it if there
were something in Java, but I'm not running across anything via search
engine query so far.

 

I could probably work with a library written in Python, and as a last
resort, something written in C.

 

I will be trying to write a program that will convert the image files in
a batch.

 

Any suggestions?

 

Thanks,

 

Landon 

 

 



Warning:
Information provided via electronic media is not guaranteed against defects 
including translation and transmission errors. If the reader is not the 
intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If you 
have received this information in error, please notify the sender immediately.___
Discuss mailing list
Discuss@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/discuss