Ciao Adrian,
pelase, read below...

On Thu, Oct 2, 2008 at 2:47 PM, Adrian Custer <[EMAIL PROTECTED]> wrote:
> Why are these hints?
>
> Both of these seem to be module configuration information not a 'hint'
> for factories. Have 'hints' really reached this level now?

Hints are used at GCE Readers and Writers constructions in order to
provide "hints" on how to handle certain situations, or on how to
behave. Usually there is a ParameterValue counterpart that can
override that behavior on a per call (usually read and writer methods)
basis.


Hope that help,
Simone.



>
> The first seems like a configuration work around for a library that does
> not yet 'just do the right thing'. The second is an URL right? That
> doesn't seem to be something that should go through the 'hint' system.
>
> --adrian
>
>
> Daniele Romagnoli (JIRA) wrote:
>> Porting MAX_ALLOWED_TILES and MOSAIC_LOCATION_ATTRIBUTE Hints from GT-2.5 to 
>> GT-2.4
>> -----------------------------------------------------------------------------------
>>
>>                  Key: GEOT-2055
>>                  URL: http://jira.codehaus.org/browse/GEOT-2055
>>              Project: GeoTools
>>           Issue Type: Improvement
>>           Components: core metadata
>>             Reporter: Daniele Romagnoli
>>             Assignee: Daniele Romagnoli
>>             Priority: Minor
>>              Fix For: 2.4.6
>>
>>
>> In order to port some code of the imageMosaic plugin from gt-2.5 to gt-2.4 
>> we need to extends the Hints class with the following elements of geotools 
>> 2.5:
>>
>>
>>  /**
>>      * Key to control the maximum allowed number of tiles that we will load.
>>      * If this number is exceeded, i.e. we request an area which is too large
>>      * instead of getting stuck with opening thousands of files we throw an 
>> error.
>>      */
>>     public static final Key MAX_ALLOWED_TILES = new Key(Integer.class);
>>
>>     /**
>>      * Key to control the name of the attribute that contains the location 
>> for
>>      * the tiles in the mosaic index.
>>      */
>>     public static final Key MOSAIC_LOCATION_ATTRIBUTE = new 
>> Key(String.class);
>>
>>
>>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>



-- 
-------------------------------------------------------
Eng. 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://www.geo-solutions.it/simone.giannecchini
http://www.linkedin.com/in/simonegiannecchini

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to