El día 2 de octubre de 2009 11:04, Simone Giannecchini
<[email protected]> escribió:
> Ciao Cesar,
> I just checked the arcgrid reader and yeah I can apply the fix that
> should make your code work.
>
> We are on the edge of a new geotools release, so that fix should be
> available soon, but if you want to test it right away, I can provide
> you with a fixed jar.

Hello again,
It will be great if you could provide that fixed jar.

Regards,

César




>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - 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://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> 2009/10/2 César Martínez Izquierdo <[email protected]>:
>> Hello Christian, and thanks for your quick reply.
>> I'm writing an application which should be able to deal with such big
>> data (either in GRID or in TIFF).
>>
>> I know that there are tools like gdal which are able to build tiles
>> and so on, but I need my application (written in Java) to be able to
>> deal with the whole file.
>>
>> Of course, I do not try to load it in memory, but I wish to read it to
>> make some geo-processing.
>>
>> Regards,
>>
>> César
>>
>> 2009/10/2 Christian Müller <[email protected]>:
>>> What do you want to do with this large image in memory ?
>>> I never worded with ArgGrid rasters but I would suggest you download
>>> http://fwtools.maptools.org/
>>> and use gdal_retile.py to build tiles and pyramids. Afterwards you can use
>>> the geotools imagemosaic mdoule to process the tiles from the file system or
>>> imagemosaic-jdbc to do the same having the tiles in a jdbc database.
>>>
>>>
>>>
>>> César Martínez Izquierdo writes:
>>>>
>>>> I need to process huge rasters with GeoTools, but it seems I've found
>>>> its limit :-(
>>>> INFO: Unable to find crs, continuing with default WGS4 CRS
>>>> Exception in thread "main" java.lang.IllegalArgumentException:
>>>> Dimensions (width=59000 height=46000) are too large
>>>>        at java.awt.image.SampleModel.<init>(SampleModel.java:112)
>>>>        at
>>>> java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:128)
>>>>        at
>>>> javax.media.jai.ComponentSampleModelJAI.<init>(ComponentSampleModelJAI.java:73)
>>>>        at
>>>> javax.media.jai.FloatDoubleColorModel.createCompatibleSampleModel(FloatDoubleColorModel.java:1003)
>>>>        at
>>>> it.geosolutions.imageio.plugins.arcgrid.AsciiGridsImageReader.initializeReader(AsciiGridsImageReader.java:344)
>>>>        at
>>>> it.geosolutions.imageio.plugins.arcgrid.AsciiGridsImageReader.setInput(AsciiGridsImageReader.java:320)
>>>>        at
>>>> org.geotools.gce.arcgrid.ArcGridReader.<init>(ArcGridReader.java:184)
>>>>        at
>>>> org.geotools.gce.arcgrid.ArcGridFormat.getReader(ArcGridFormat.java:157)
>>>>        at
>>>> org.geotools.gce.arcgrid.ArcGridFormat.getReader(ArcGridFormat.java:106)
>>>>        at etclusi.tests.gt.TestArcGrid.main(TestArcGrid.java:24)
>>>>
>>>> The relevant code follows:
>>>>                File file = new File("d:\\bigtab\\mosaic.asc");
>>>>                ArcGridFormat agf = new ArcGridFormat();
>>>>                GridCoverageReader reader = agf.getReader(file);
>>>> Have you found a similar problem? Is there any workaround?
>>>> I see it is a problem with JAI... is there any chance to replace the
>>>> "limited" classes with another non-JAIs classes?
>>>> Regards,
>>>> César Martínez Izquierdo
>>>> --
>>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>>>   César Martínez Izquierdo
>>>>   GIS developer
>>>>   -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
>>>>   ETC-LUSI: http://etc-lusi.eionet.europa.eu/
>>>>   Universitat Autònoma de Barcelona (SPAIN)
>>>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>>>> is the only developer event you need to attend this year. Jumpstart your
>>>> developing skills, take BlackBerry mobile applications to market and stay
>>>> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
>>>> http://p.sf.net/sfu/devconf
>>>> _______________________________________________
>>>> Geotools-gt2-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>>
>>>
>>>
>>
>>
>>
>> --
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>   César Martínez Izquierdo
>>   GIS developer
>>   -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
>>   ETC-LUSI: http://etc-lusi.eionet.europa.eu/
>>   Universitat Autònoma de Barcelona (SPAIN)
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>



-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   César Martínez Izquierdo
   GIS developer
   -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
   ETC-LUSI: http://etc-lusi.eionet.europa.eu/
   Universitat Autònoma de Barcelona (SPAIN)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to