Yes, OpenJump's Datastore interface and family only ask to the data 
plugin only data inside the viewable bounding box for a layer obtained 
through "Add Datastore".
Also there's a cache mechanism built inside OpenJump, but I never 
investigated on how it exactly works.

On the contrary Datastore layers coming from a "Run Datastore Query" are 
read and stored inside OpenJump's memory only once, hence they're more 
similar to Layers coming from, for example, a Shapefile, that is Layers 
obtained from the "old" Datasource interface, I believe...

Bye
Paolo Rizzi


> Hi,
> 
> I believe that PostGIS "Add datastore" layer is somehow dynamic and takes the 
> bounding box into account when sending queries. Having Use cache box checked, 
> as it was in my case, obviously makes JUMP to cache all or part of the 
> previously fetched features.  Martin Davis is perhaps the one who knows.
> 
> -Jukka Rahkonen-
> 
> Larry Becker wrote:
>  
>> Is this evidence that Stefan's caching theory is correct?  Does "Run
>> datastore query" load into memory immediately and "Add datastore layer"
>> somehow defer the load?
> 
>> By the way, PostGIS datastores do result in an object type of Layer, so it
>> is being processed as vectors.
> 
>> I guess what is needed is a way in the software to detect a PostGIS
>> DataStore Layer and process it separately as in:
> 
>> if (layer instanceof SomethingNotSureWhat)
>>
>> regards,
>> Larry
> 
> On Mon, Nov 9, 2009 at 3:47 PM, Rahkonen Jukka 
> <jukka.rahko...@mmmtike.fi>wrote:
> 
>> Hi,
>>
>> I managed to print data from PostGIS to layered pdf by using "Run datastore
>> query" instead of "Add datastore layer".  Pretty nice feature.
>>
>> -Jukka-
>>
>>
>> Stefan Steiniger wrote:
>>
>>> I assume it is related to the caching?
>>> stefan
>>> Rahkonen Jukka wrote:
>>>> Hi,
>>>> I tried now - no effect at all.  With PostGIS layers open in the task
>> window, only the fence shows in the pdf file.
>>>> -Jukka-
>>>
>>> Larry Becker wrote:
>>>
>>> Hmm.  Perhaps PostGIS doesn't descend from Layer.  There is no rendering
>>> optimization for non-Layer data, so it might render like a raster.
>>>
>>> Did you try unchecking the "Change Line Width" check box?
>>>
>>> Larry
>>>
>>> On Mon, Nov 9, 2009 at 12:27 PM, Rahkonen Jukka
>>> <jukka.rahko...@mmmtike.fi>wrote:
>>>
>>>> Hi,
>>>>
>>>> No problem in installing, running and creating layered pdf from demo
>>>> shapefiles.  However, it does not print by own vectors from PostGIS into
>>>> pdf.  Layers appear in the resulting file but linework is not visible.
>>  Is
>>>> there some simple reason for this?
>>>>
>>>> -Jukka-
>>>>
>>>>
>>>> Larry Becker wrote:
>>>>
>>>> You can download a prerelease copy here:
>>>>
>>>> http://www.ashsiii.com/downloads/SkyJUMP_12_104.EXE
>>>>
>>>> Larry
>>>>
>>>> On Sat, Nov 7, 2009 at 6:52 AM, Rahkonen Jukka <
>> jukka.rahko...@mmmtike.fi
>>>>> wrote:
>>>>> Hi Larry,
>>>>>
>>>>> I would like to have a try.  When do you plan to release a version
>>>>> supporting layered PDF output?
>>>>>
>>>>> -Jukka-
>>>>>
>>>>>
>>>>>
>>>>> -----Alkuperäinen viesti-----
>>>>> Lähettäjä: Larry Becker [mailto:becker.la...@gmail.com]
>>>>> Lähetetty: pe 6.11.2009 17:32
>>>>> Vastaanottaja: OpenJump develop and use
>>>>> Aihe: [JPP-Devel] SkyJUMP generating PDF directly with layers
>>>>>
>>>>> I just wanted to report that I have just added direct PDF generation
>>>>> capability to SkyJUMP (committed but build unreleased).  It supports
>>>>> layers,
>>>>> transparency, and high resolution images.  See the link below for an
>>>>> example.  It uses the SkyJUMP print architecture and the iText
>>>>> <http://www.lowagie.com/iText/>library.
>>>>>
>>>>> http://www.ashsiii.com/downloads/SkyJUMP.pdf
>>>>>
>>>>> regards,
>>>>> Larry Becker
>>>>> Integrated Systems Analysts, Inc.
>>>>>
>>>>>
>>>>>
>>>>>
>> ------------------------------------------------------------------------------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment - and
>>>> focus
>>>>> on
>>>>> what you do best, core application coding. Discover what's new with
>>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>>> _______________________________________________
>>>>> Jump-pilot-devel mailing list
>>>>> Jump-pilot-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>
>>>>
>>>> --
>>>> Larry Becker
>>>> Integrated Systems Analysts, Inc.
>>>>
>>>>
>>>>
>>>>
>> ------------------------------------------------------------------------------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>> focus
>>>> on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Jump-pilot-devel mailing list
>>>> Jump-pilot-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
> 
> 
> 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to