Hi Baskar,  this works the other way around.

Since you have a custom database layout (as Bruce stated, YOUR special  
use case),this part of the configuration is beyond geotools.

I cannot include xml tags for your layout. As an example, another user  
wants to store its pyramids in distinct tables and wants to specify  
these table names in the config. Again, I would have to add special  
tags for this use case. This is a never ending story.

The solution:

In the initialize method you have access to the config object and to  
the coverage name. Create your own db table / config file for the  
relation coveragename - tablename. In the initialize method, fetch  
this information and assign the table name to an instance variable.

I hope you understand my arguments. There are so many different  
layouts, I cannot handle all of them. Geotools offers a lot of db  
layouts, If you have your own, then the config is your own too :-)




Quoting Baskar <dbas...@firstam.com>:

>
> Christian,
>
> In Config file, you are providing option to specify the custom class name
> through "jdbcAccessClassName" tag. Then where we have to specify the raster
> table name. I just gone through the "readForCustom()" in "Config.java",
> where you are reading only class name. I think you have to provide option to
> mention the raster table name in the config file atleast.
>
> Please clarify this.
>
> Regards
> Baskar
> --
> View this message in context:   
> http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p5039617.html
> Sent from the geotools-devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-devel mailing list
> Geotools-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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

_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to