Hi Simone,

hm, maybe I've overlooked something, but the only way to edit/create a 
wiki page is the one described on:

http://docs.codehaus.org/display/GEOTOOLS/Home (right bar, bottom: "edit 
this website") ?

So I need to apply as developer :-) ?

:-),
Tom

Simone Giannecchini schrieb:
> Thx!
>
> Simone
>
> On Thu, Jul 3, 2008 at 8:20 AM, Thomas Lutz <[EMAIL PROTECTED]> wrote:
>   
>> Hi Simone !
>>
>> Sure, I'll put together a wiki page in the next days.
>>
>> :-),
>> Thomas
>>
>> Simone Giannecchini schrieb:
>>     
>>> Ciao Thomas,
>>> please read below....
>>>
>>> On Fri, Jun 27, 2008 at 11:08 AM, Thomas Lutz <[EMAIL PROTECTED]> wrote:
>>>
>>>       
>>>> Ciao Simone,
>>>>
>>>> no problem, it's open source :-) it's me who has to apologize for
>>>> bothering
>>>> you with "me to stupid to fix classpath issues" :-).
>>>>
>>>>         
>>> Well, it is worth to point out that actually your question was not
>>> stupid. The 2.5m2 release contains also some pluygins which try to
>>> look for gdal dependencies, that's why the error messages. The point
>>> is that those messages should have not popped that up, which was a bug
>>> on our end. We should have fixed that as of now.
>>>
>>>
>>>
>>>
>>>       
>>>> Maybe I should describe my path to the pyramidbuilder before describing
>>>> my
>>>> usage. I am putting together a demo client with
>>>> gt-widgets-swing-pending-2.5-M2. Just display some points, styled
>>>> according
>>>> to some attributes.. quite basic stuff. To make it look nice I integrated
>>>> a
>>>> background image, but... area covered by the points was too big to have
>>>> one
>>>> file.
>>>>
>>>> As I had 5 images, different detail level, I decided (after reading the
>>>> user
>>>> guide) that the ImagePyramidReader is my friend. Searching the list and
>>>> the
>>>> docs I stumbled on PyramidBuilder. After I fixed my classpath problems
>>>> and
>>>> the null pointer in the PyramidLayerBuilder I generated 5 pyramids
>>>> (starting
>>>> PyramidBuilder with: -s raster.tif -t "500,500" -f 2 -n 4 -w ), one for
>>>> each
>>>> detail level, and then manually merged the 5 to a reasonable pyramid,
>>>> mostly
>>>> by simply copying the "0" directory of the less detailed pyramids to the
>>>> "2", "8",...
>>>> What I got was 5 directories, each with the tiles, a shapefile and and a
>>>> properties file.
>>>> Played around a bit, adjusted the scale levels in the main
>>>> pyramid.properties (to make use of all generated layers, with the default
>>>> only 0,2 and 4 was used, 8 and 16 were not touched), and e voila it was
>>>> up
>>>> and running with three lines in a slightly modified version of
>>>> DemoAll.java
>>>> from gt-widgets-swing-pending-2.5-M2.
>>>>
>>>> URL pyramidURL=
>>>> AplsGisTestClient.class.getResource("pyramid/pyramid.properties");
>>>> ImagePyramidReader pyramidReader = new ImagePyramidReader(new
>>>> File(pyramidURL.toURI()));
>>>> context.addLayer(pyramidReader,
>>>> RANDOM_STYLE_FACTORY.createRasterStyle());
>>>>
>>>> Performance of the client is good, I'd expected the whole thing to be
>>>> much
>>>> slower, but it's very responsive when zooming and panning.
>>>>
>>>>         
>>> You know what? I would be extremely grateful if you could spend 30 min
>>> to 1 hour of your time in order to write down what you have done in
>>> the geotools wiki so that other people can use that document as a
>>> reference.
>>>
>>> Ciao,
>>> Simone.
>>>
>>>
>>>
>>>       
>>>> Thanks,
>>>> Tom
>>>>
>>>>
>>>> Simone Giannecchini schrieb:
>>>>
>>>>         
>>>>> Ciao Thomas,
>>>>> sorry for being silent on this issue, but I am swamped on another
>>>>> project. i will apply your ptach tomorrow. Just out of curiosity, how
>>>>> are you using the pyramidbuilder and pyramid plugin?
>>>>>
>>>>>
>>>>> Martin, do you think it would be a lot of work to make the
>>>>> coverageio-mosaic work with a file structure instead of a db? It has
>>>>> been a few months since I checked so it might that this question is
>>>>> even misplaced :-)
>>>>> It might be interested to reduce the number of mosaic plugins around...
>>>>>
>>>>>
>>>>> Simone.
>>>>>
>>>>> On Thu, Jun 26, 2008 at 7:51 PM, Thomas Lutz <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> Thanks for your answer Martin and thanks for your offer, I already
>>>>>> managed to get it running, basically I made the (stupid) mistake to put
>>>>>> all gt jars on the classpath, this caused the gdal problems. I replied
>>>>>> to my own post three hours ago with the "solution".
>>>>>> I was interested in both the files and the shapefile, as I set up a
>>>>>> small demo gis app using the pending-swing-widgets.
>>>>>>
>>>>>> Btw, great library, although it's really hard to get started, but the
>>>>>> speed and features are impressive !
>>>>>>
>>>>>> Greetings from vienna,
>>>>>> Tom
>>>>>>
>>>>>> Martin Desruisseaux schrieb:
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> Thomas Lutz a écrit :
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>>> I am trying to build an image pyramid out of an geo tiff with
>>>>>>>>
>>>>>>>> org.geotools.utils.imagepyramid.PyramidBuilder -s
>>>>>>>> D:\shared\LondonMaps\london_2.tif -t 1024,1024 -f 2 -n 4 -w
>>>>>>>>
>>>>>>>> I've downloaded geotools 2.5-M2, added all the libs in there to my
>>>>>>>> classpath and started... it creates lots of tiffs in a /pyramid/0
>>>>>>>> directory, but when trying to index the mosaic, it crashes with:
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>>> Are you interrested only in the files, or do you need the indexed
>>>>>>> shapefile as well? If you do not need the indexed shapefile, an
>>>>>>> alternative is to use modules/unsupported/coverageio module, which has
>>>>>>> the capability to generate mosaics as well.
>>>>>>>
>>>>>>> I have not yet done a main program to be launch from the command line
>>>>>>> (basically because I have not investigated what should be the command
>>>>>>> options - I guess it should be the same than GDAL or PyramidBuilder).
>>>>>>> However I can give you a small main class that you can use for
>>>>>>> invoking the proper classes. Do you still have a need for that?
>>>>>>>
>>>>>>>   Martin
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>> -------------------------------------------------------------------------
>>>>>> Check out the new SourceForge.net Marketplace.
>>>>>> It's the best place to buy or sell services for
>>>>>> just about anything Open Source.
>>>>>> http://sourceforge.net/services/buy/index.php
>>>>>> _______________________________________________
>>>>>> Geotools-gt2-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>>
>>>>>           
>>>>         
>>>
>>>
>>>       
>>     
>
>
>
>   


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to