[Geotools-devel] Problem when adding third party jar to Osgeo
Hi all, I want to add some third party jars in to http://download.osgeo.org/webdav/geotools/. I followed the below link to add the jars http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar#Howtoadda3rdpartyjar-DeployingtoOpenSourceGeospatialFoundationMaven2Repository As said the documentation, I created an account in Osgeo and updated the ~/.m2/setting.xml file. Then i given the following command mvn deploy:deploy-file -DgroupId=oracle -DartifactId=oracle-jdbc -Dversion=10.1 -Dfile=E:\oracle-jdbc-10.1.jar -Dpackaging=jar -DrepositoryId=osgeo -Durl=dav:http://download.osgeo.org/webdav/geotools/ When i executed above command I got the error like below Uploading: http://download.osgeo.org/webdav/geotools//oracle/oracle-jdbc/10.1/oracle-jdbc-10.1.jar Apr 8, 2010 2:38:49 PM hidden.org.apache.commons.httpclient.HttpMethodBase processAuthenticationResp onse INFO: Already tried to authenticate with 'Geotools WebDAV' authentication realm at download.osgeo.or g, but still receiving: HTTP/1.1 401 Authorization Required Apr 8, 2010 2:38:50 PM hidden.org.apache.commons.httpclient.HttpMethodBase processAuthenticationResp onse INFO: Already tried to authenticate with 'Geotools WebDAV' authentication realm at download.osgeo.or g, but still receiving: HTTP/1.1 401 Authorization Required . . . Though I had specified correct username and password in setting.xml, still I encountered this error. Please anybody have any idea to solve my problem. regards, baskar -- View this message in context: http://n2.nabble.com/Problem-when-adding-third-party-jar-to-Osgeo-tp4870100p4870100.html Sent from the geotools-devel mailing list archive at Nabble.com. -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module
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 time. Meanwhile, Please suggest me any idea on how to write test cases for this proposal? Regards, Baskar -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p4972315.html Sent from the geotools-devel mailing list archive at Nabble.com. -- ___ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module
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 input configuration xml file that contains only data like below and plug-in will take care rest of the things to create mosaic georaster. GEORASTER TABLE NAME SCHEMA Oracle thin DBSERVER DBNAME PORT USER PASS I had used all necessary functionalities available in "sdo_geor" package to create mosaic image. As you pointed out, creating a java image pure raster data is challenge one, and I did that image creation part and plug-in able to respond the image properly. But still, I have to check and do few things in the code. Please let me know your suggestions now so that we will proceed. Meanwhile, suggest me how to write test cases for my case so that I will finish writing test case and donate this to GeoTools. Regards, Baskar -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p4973243.html Sent from the geotools-devel mailing list archive at Nabble.com. -- ___ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module
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-tp4942991p4978137.html Sent from the geotools-devel mailing list archive at Nabble.com. -- ___ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module
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 please go ahead. Regards, Baskar -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p4978913.html Sent from the geotools-devel mailing list archive at Nabble.com. -- ___ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module
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 message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p4996550.html Sent from the geotools-devel mailing list archive at Nabble.com. -- ___ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] Proposed Mosaicing GeoRaster Module
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 am wrong in below statements then please correct me. GeoRaster mosaicing means mosaicing 'n' number of Georaster data available in a particular table. For eg, if table has 5 rows Georaster table then the code has to mosaic all the 5 georaster object and mosaiced into single image. But your code is not doing this work rather its retrieving a single georaster from the table and displays in openlayers window. "coveragename" in the xml config file determines the georaster object to be retrived from the database. you know I did this some six months back before started woking on mosacing georaster. So as per my understanding the plug-in is not mosacing the georaster rather simply it retrieves single georaster object from database and shown it in openlayers. Please let me know your suggestion for above things. Regards, Baskar -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p5001818.html Sent from the geotools-devel mailing list archive at Nabble.com. -- ___ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] Oracle GeoRaster Module Documentation
Hi Christian,
I have found few bugs today when I checked against with my sample data's.
1. In openlayers window, I am getting yellow color in no data area. See the
attached word document.
2. The plugin does not seem to work well with other layers in the same
request. If you are using the default data configuration, you can use the
following examples to illustrate my point:
-->View the default states layer
http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-124.7314220001,24.9559
67,-66.969849,49.371735&width=780&height=330&srs=EPSG:4326&format=ap
plication/openlayers
--> Now try to view the states and georasterlayer at the same time
http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states,topp:
georasterlayer&styles=&bbox=-124.7314220001,24.955967,-66.969849,49.371735&width=780&height=330&srs=EPSG:4326&format=application/openlayers
3. I had encountered runtime exception ("Error, ULC must have
pixelcoordinates 0/0" at setCellXYOrder() method) when I tried to configure
the raster. I looked in depth and found that you are checking minx or miny
should be 0. Do you think minx or miny should be 0 to process the raster?
Because, I configured and visualized the same data with my code. So I am not
sure whether the problem is in the code or in my data. Please confirm.
Finally, I am testing with SRS 4326 and SRS 26956 and regarding postgis
wktraster, I will let you know later.
Regards,
Baskar
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Proposed-Mosaicing-GeoRaster-Module-tp4942991p5007603.html
Sent from the geotools-devel mailing list archive at Nabble.com.
--
___
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel
