Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-14 Thread christian . mueller
52/GeotoolsAssignmentToOSGeo.pdf?version=1 > > Thanks again, > Bruce > > -Original Message- > From: christian.muel...@nvoe.at [mailto:christian.muel...@nvoe.at] > Sent: Thursday, May 13, 2010 1:21 AM > To: Baskar, Dhanapal > Cc: geotools-devel@lists.sourceforge.net > Subjec

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-13 Thread Thelen, Bruce
] Proposed Mosaicing GeoRaster Module Hi Baskar, it looks like you want to denote your code to geotools. I am not sure about that. What we can do in any case, we could attach your code as an example to the documentation. This would be nice. I assume your customer has allowed you to publish your code

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-12 Thread christian . mueller
Hi Baskar, it looks like you want to denote your code to geotools. I am not sure about that. What we can do in any case, we could attach your code as an example to the documentation. This would be nice. I assume your customer has allowed you to publish your code. @Andrea, any legal problems

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-12 Thread Baskar
Christian, Already I sent you the code with my implementation. Please suggest me the format and contents to be present in the document. Regards Baskar -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p5044777.html Sent from

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-11 Thread christian . mueller
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 table

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-11 Thread Baskar
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 provi

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-11 Thread christian . mueller
Quoting Baskar : > > Hi christian, > > Please clarify this. > > Is it mandatory to create my implementation under "custom" package? Shall I > create new package under custom and put my class files under that package?. > Is it okay for you? First it is NOT mandatory to subclass, but it is mandator

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-11 Thread Baskar
Hi christian, Please clarify this. Is it mandatory to create my implementation under "custom" package? Shall I create new package under custom and put my class files under that package?. Is it okay for you? I will give the feedback for your documentation and document for my implemetation along

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-11 Thread christian . mueller
Hi Baskar, Please check out the latest version form trunk (minor changes). I added a test for the custom jdbc access plug in. Additionally, please look at http://docs.codehaus.org/display/GEOTDOC/Customized+JDBC+Access+for+images I need feedback for the docu and about your implementation. If

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-10 Thread christian . mueller
Hi, Status quo I checked in some modifications on trunk. There is an abstract class JDBCAccessCustom from which you should subclass. As an example I did this for JDBCAccessOracleGeoraster. XML Config: Replace with TODO 1) Writing an online test case 2) Review of Imag

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-10 Thread Baskar
Christian, Thanks for your suggestions. I will wait until you finish your part. Later i will check out your code and integrate my work. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p5034243.html Sent from the geotools-devel

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-10 Thread christian . mueller
Hi Baskar Quoting Baskar : > > Hi christian, > > Before I start my work. Please clarify below things. > > 1. It not possible to put all the code into single class as you did. Minimum > of two classes required to do so. So Can I create one more class apart from > new implematation class? You can

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-10 Thread Baskar
Hi christian, Before I start my work. Please clarify below things. 1. It not possible to put all the code into single class as you did. Minimum of two classes required to do so. So Can I create one more class apart from new implematation class? 2. As of now you didn’t use threads but I’ve to us

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-10 Thread christian . mueller
The interface to implement is JDBCAccess, you can use JDBCAccessOracleGeoRaster as a template. But I am not finished yet. Until now, most of the classes and methods in the module have only package visibility. This gives me more freedom for improvements. With the new concept, I have to chang

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-10 Thread Baskar
Hi christian, As bruce said, I will create necessary implementation. You can give the name of the implementaion class. What do you say? Regards, Baskar -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p5029457.html Sent from

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-07 Thread Thelen, Bruce
: christian.muel...@nvoe.at [mailto:christian.muel...@nvoe.at] Sent: Thursday, May 06, 2010 4:46 AM To: Thelen, Bruce Cc: Baskar, Dhanapal; geotools-devel@lists.sourceforge.net Subject: RE: [Geotools-devel] Proposed Mosaicing GeoRaster Module Hi Bruce, first the bad news As you stated in your last mail

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-06 Thread christian . mueller
Thelen, Bruce > Cc: Baskar, Dhanapal; geotools-devel@lists.sourceforge.net > Subject: RE: [Geotools-devel] Proposed Mosaicing GeoRaster Module > > Bruce,Baskar, and Steve, many questions, I will try to give good answers :-) > > It is not true that the table has only one row. Each row is a m

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-05 Thread Thelen, Bruce
...@nvoe.at [mailto:christian.muel...@nvoe.at] Sent: Wednesday, May 05, 2010 10:43 AM To: Thelen, Bruce Cc: Baskar, Dhanapal; geotools-devel@lists.sourceforge.net Subject: RE: [Geotools-devel] Proposed Mosaicing GeoRaster Module Bruce,Baskar, and Steve, many questions, I will try to give good answers

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-05 Thread christian . mueller
n.muel...@nvoe.at [mailto:christian.muel...@nvoe.at] > Sent: Tuesday, May 04, 2010 1:46 AM > To: Baskar, Dhanapal > Cc: geotools-devel@lists.sourceforge.net > Subject: Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module > > Hi Baskar, > > First, please do a "svn up" on trunk, I d

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-05 Thread Steve Way
: geotools-devel@lists.sourceforge.net Subject: Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module Christian, If I read these instructions and the other documentation correctly, this module is only intended to work on an Oracle GeoRaster table that includes one row, is this correct? What if we

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-05 Thread Thelen, Bruce
al Message- From: christian.muel...@nvoe.at [mailto:christian.muel...@nvoe.at] Sent: Tuesday, May 04, 2010 1:46 AM To: Baskar, Dhanapal Cc: geotools-devel@lists.sourceforge.net Subject: Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module Hi Baskar, First, please do a "svn up" on trunk, I di

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-03 Thread christian . mueller
Hi Baskar, First, please do a "svn up" on trunk, I did some enhancements giving the jdbc driver a chance to cache prepared statements. Second, there is a misunderstanding of the Oracle Georaster concept. Oracle does the tiling and mosaicing for you. Looking at the test setup, there is one ta

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-03 Thread ba...@geotools
Hi christian, I tested your code with my sample data. The committed code does not properly mosaicing the image for me. I analysed your code and found few things that I want to share with you. I am not expert in this spatial domain since I am working below a year in this domain. So if anything I a

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-03 Thread christian . mueller
The module expects a table containing a String attribute and a raster attribute. e.g create table myrastertable (covname varchar(32), image raster ) myrastertable --> master table covname --> coverageNameAttribute image --> GeorasterAttribute insert into myrastertable (covname,image) values

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-03 Thread ba...@geotools
Hi christian, I am trying to test the module. Please let me know what value we have to enter in "coverageNameAttribute" tag in "mapping.georaster.xml.inc" and "coverageName" tag. I assume coveragename should be any name defined by user. Please confirm this also. regards baskar -- View this me

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-05-02 Thread christian . mueller
Hi Baskar, I committed a first version on trunk, please check out. 1) Architecture GeoRasterOnlineTest ist the test class, JDBCAccessOracleGeoRaster does all the Georaster stuff. I decided to delegate the mosaicing and cropping to Oracle Georaster. The result from the db is a tiff image. Java

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-29 Thread ba...@geotools
Hi Christian, When I started this stuff, I do not have much idea on this Spatial related stuffs. I just had a look on ImageMosaic-JDBC plug-in and Image mosaci documentation and started this stuff. If you feel delegating cropping and scaling job to oracle is effiecient than the current way then p

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-29 Thread christian . mueller
Wow, I took a quick lock at your code, excellent job. I will reuse as much as possible, integrate and play the ball back to you. Another question: I would prefer delegating the job of cropping and scaling to oracle. First determine the pixel width /height using sdo_geor.getCellCoordinate Now w

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-28 Thread christian . mueller
A big +1 Baskar sent me the source code of his work, we avoid another fork. Feel free to draft a proposal, Oracle Georaster / Postgis WKT are simple dialects in the imagemosaic-jdbc module, the architecture will not change. I would be happy about a merge concerning the source code and the d

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-28 Thread ba...@geotools
Hi Christian, Yes, Deal. Already I sent you the code to your email. Please check it and let me know if anything need or anything I have to do from my side. Regards, Baskar -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p497

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-28 Thread Simone Giannecchini
I agree with you, here is how I would formulate a plan for this. step 1: coordinate with baskar and prevent another fork (this time would be from your code) step 2: I will try to draft up a proposal to merge all the pyramid/mosaic plugins. We might want to spend 1-2 days together for doing this.

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-28 Thread christian . mueller
Yep, I am with you. I will assist Baskar to integrate in imagemosiac-JDBC. In the meantime I will focus on this one http://trac.osgeo.org/postgis/wiki/WKTRaster. Afterwards, we really should consider a merge. Merging our two branches will result in a rather powerful image module, handling man

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-28 Thread christian . mueller
Hi, we should bring it to an end together. 1) I already altered the imagemosaic-jdbc code accepting a config file similar to the config file described by you. 2) I have already a Testsup "GeoRasterOnlineTest" which imports an image, creates the pyramid and runs some test cases. The imagemo

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-28 Thread Simone Giannecchini
Christian, can you try and coordinate with Baskar? I think the situation we have ahead of us is less than optimal. ImageMosaicJDBC forked ImageMosaic and started its own life, as a matter of fact we have duplicated code (see the threading problem you had in the past). Now we are going to have anoth

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-28 Thread ba...@geotools
Hi Christian, Its good to know that you also working on this. Howerver, I am not sure wheather my code can be integrated into ImageMosaic-jdbc module. Since I developed this plug-in as seperate one for Geoserver 2 series based on the structure of ImageMosaic-jdbc module. My plug-in will take inpu

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-28 Thread christian . mueller
Upps, it seems that we are doing the same. I am working on integrating Oracle georaster into the imagemosic-jdbc module. (Also using only the ojdbc14.jar). We should merge our efforts. My idea is 1) use sdo_geor.getCellCoordinate to get pixel width and hight 2) use sdo_geor.getRasterSubset f

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-27 Thread ba...@geotools
Hi simone, Yes, as per the suggestion provided here initially when I posted this proposal, I am developing Mosaicing Georaster without using oracle libraries beyond ojdbc14.jar. Almost I've completed but still few things has to be done in the code. Once I complete I will post again within a week

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-27 Thread Simone Giannecchini
Ciao Baskar, I just noticed this email went directly to spam. Did you make any steps forward with this? Regards, Simone. --- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy pho

[Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-22 Thread Baskar, Dhanapal
Hi Jody, I noticed that GeoTools library lacks support for Mosaicing Oracle Georaster data. I would like to add this feature, by making use of Oracle Spatial Java API version 11.2 and oracle NG. It will be help full for the users who wants to use Georaster. Thank you. Regards, B

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-08 Thread christian . mueller
No, the imagemosaic jdbc works with oracle location based services, doing the mosacing and scaling within geotools code. Oracle Georaster does scaling /mosaicing for itself and is not available in Oracle XE. The code of the new GeorasterDialect is quite simple except of the fact that we ca

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-08 Thread Simone Giannecchini
Question, is this plugin a pure clone of the ImageMosaicJDBC one that only works with Oracle? If so I would not be extremely happy about yet another copy and paste plugin. Simone. On Thu, Apr 8, 2010 at 12:02 PM, wrote: > +1 for this proposal, this is a never ending story. I would assist > s

Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-08 Thread christian . mueller
+1 for this proposal, this is a never ending story. I would assist since I am the maintainer of the imagemosaic jdbc module. There is a jira issue for this, please take a look and study the comments http://jira.codehaus.org/browse/GEOT-2905 To summarize the problems: 1) Oracle 10.1, 10.2 and

[Geotools-devel] Proposed Mosaicing GeoRaster Module

2010-04-08 Thread Baskar, Dhanapal
Hi Jody, I noticed that GeoTools library lacks support for Mosaicing Oracle Georaster data. I would like to add this feature, by making use of Oracle Spatial Java API version 11.2 and oracle NG. It will be help full for the users who wants to use Georaster. Thank you. Regards, B