Hi Benjamin,
Could you try to reproduce the anomaly when mouse wheel zooming with the
"hand" tool please? If it doesn't reproduce, I may know what is happening.
thanks,
Larry
On Wed, Feb 24, 2010 at 12:06 PM, Benjamin Gudehus <hasteb...@googlemail.com
> wrote:
> @white space when zooming out:
>
> Maybe you can use the drawing algorithm that draw the geometries like a
> pencil sketch when zooming with the slidebar (and then rerender the
> geometries at a given time interval).
>
> Screenshot: http://www.imagebanana.com/img/91inbax/pencil_sketch.jpg
>
> --Benjamin
>
> 2010/2/24 Benjamin Gudehus <hasteb...@googlemail.com>
>
> Hi Larry,
>>
>> there should really be an option the choose between the old and new
>> zooming algorithm (if possible).
>>
>> Zooming out feels slowly, when I first have to wait for the rendering of
>> missing geometries in the white space around the image of the previous zoom
>> level.
>>
>> (B) This anomaly happens consistantly, when viewing our geometries (of a
>> graveyard). Unfortunately I can't provide any of the data. So I tried to
>> reproduce the anomaly with generated geometries. But I finally couldn't
>> reproduce it, the anomaly here happens sometimes. What I can say is, that
>> the number of layers is irrelevant, and that it happens with polygons filled
>> out with color.
>>
>> This is the Jython code to generate the layer. As I mentioned before this
>> was just an attempt to reproduce the anomaly.
>>
>> <pre>
>> from com.vividsolutions.jts.geom import Coordinate, GeometryFactory
>> from com.vividsolutions.jump.feature import FeatureUtil,
>> FeatureDatasetFactory
>>
>> points = [(x, y) for x in xrange(20) for y in xrange(20)]
>> coord_offsets = [(0.5, 0.5), (0.5, 1), (1, 1), (1, 0.5), (0.5, 0.5)]
>>
>> geo_factory = GeometryFactory()
>> geometries = []
>> for x, y in points:
>> poly_coords = [Coordinate(x + dx, y + dy) for (dx, dy) in
>> coord_offsets]
>> ring = geo_factory.createLinearRing(poly_coords)
>> polygon = geo_factory.createPolygon(ring, [])
>> geometries.append(polygon)
>>
>> from org.openjump.core.apitools import LayerTools
>> from java.awt import Color
>> dataset = FeatureDatasetFactory.createFromGeometry(geometries)
>> LayerTools.addStandardResultLayer("zoomtest", dataset, Color.black,
>> wc.createPlugInContext(), None)
>> </pre>
>>
>> --Benjamin
>>
>> 2010/2/23 Larry Becker <becker.la...@gmail.com>
>>
>> Hi Benjamin,
>>>
>>> (A) I like the old zoom to mouse position behavior too. I just haven't
>>> gotten the zoom to cursor math right yet.
>>> (B) You might be right. I've noticed an occasional anomaly too, but
>>> can't reproduce it consistently. I don't know what is causing it.
>>>
>>> regards,
>>> Larry
>>>
>>>
>>> On Tue, Feb 23, 2010 at 10:41 AM, Benjamin Gudehus <
>>> hasteb...@googlemail.com> wrote:
>>>
>>>> Hi!
>>>>
>>>> I tested the new mouse wheel zoom with the nightly build from
>>>> 23-Feb-2010 02:12.
>>>>
>>>> (A) In previous versions the zoom function zoomed-in to the current
>>>> position of the mouse cursor. The new behavour is, that it just zooms to
>>>> the
>>>> position in middle of the layerviewpanel. I'd like to have the old
>>>> behaviour
>>>> when zooming in.
>>>>
>>>> (B) Also there are some problems when zooming in and out having layers
>>>> with approx. 5000 features. I think the zooming algorithm (1) uses an image
>>>> from the current view of the layerviewpanel and zoom that image and (2)
>>>> then
>>>> rerenders all the features to replace the image. When I zoom with the mouse
>>>> wheel the view jumps between (1) and (2), e.g. it finishes rerendering the
>>>> image (2) of an previous zoom level when (1) already happened.
>>>>
>>>> Greetings
>>>>
>>>> --Benjammin
>>>>
>>>> 2010/2/11 Larry Becker <becker.la...@gmail.com>
>>>>
>>>>> I accidentally reversed the Mouse wheel zoom direction in the last
>>>>> update. It should now zoom in when the wheel is rolled away from your
>>>>> hand
>>>>> as other mapping programs do.
>>>>>
>>>>> regards,
>>>>> Larry
>>>>>
>>>>>
>>>>> On Thu, Feb 4, 2010 at 11:04 AM, Stefan Steiniger
>>>>> <sst...@geo.uzh.ch>wrote:
>>>>>
>>>>>> mhm... my plan was working on a release towards April. Need to think
>>>>>> about it ;)
>>>>>> the EZ buttons are now added as default (but even hardcoded in
>>>>>> OpenJUMPConfiguration and not the xml file).
>>>>>>
>>>>>>
>>>>>> Rahkonen Jukka wrote:
>>>>>> > Hi,
>>>>>> >
>>>>>> > Excellent job. Mouse wheel zooming gives a good feeling because
>>>>>> screen
>>>>>> > is updating fast and from the server side I can see also that no
>>>>>> > unnecessary WMS calls are sent. That gives more speed for OJ user
>>>>>> > especially with slow connection to WMS but the feature itself is
>>>>>> nice
>>>>>> > even without WMS layers.
>>>>>> > Perhaps the zoom steps could be a little bit smaller? Not as small
>>>>>> as
>>>>>> > uDig has, but something in between. And what do you think about
>>>>>> copying
>>>>>> > another uDig feature, panning with the mouse middle button? Or do
>>>>>> you
>>>>>> > have some other good use for the middle button, we do already have
>>>>>> well
>>>>>> > working keyboard shortcut for panning.
>>>>>> >
>>>>>> > OJ is having a few nice new features since the last release. At
>>>>>> least
>>>>>> > improved wheel zoom, improved handling of null attributes from
>>>>>> database,
>>>>>> > EZ Buttons (which migh be acticated by default). Would it be a time
>>>>>> to
>>>>>> > start prepering the next release?
>>>>>> >
>>>>>> > -Jukka-
>>>>>> >
>>>>>> > Larry Becker wrote:
>>>>>> >
>>>>>> > More Mouse Wheel Zooming updates. I fixed some problems with
>>>>>> mouse
>>>>>> > wheel zoom in and zoom out in the same half second causing
>>>>>> radical
>>>>>> > changes. The Timer period now resets while the wheel is still
>>>>>> > moving, and I changed the Timer period to .7 seconds to better
>>>>>> > reflect actual use.
>>>>>> >
>>>>>> > Larry
>>>>>> > On Tue, Feb 2, 2010 at 5:02 PM, Larry Becker <
>>>>>> becker.la...@gmail.com
>>>>>> > <mailto:becker.la...@gmail.com>> wrote:
>>>>>> >
>>>>>> > OK, I have committed an experimental version of
>>>>>> AbstractZoomTool
>>>>>> > that incorporates a deferred mouse wheel zoom for half a
>>>>>> > second. It does an image stretch from the center of the
>>>>>> panel
>>>>>> > until the half second expires. Please test after tomorrow's
>>>>>> > nightly build.
>>>>>> >
>>>>>> > Comments?
>>>>>> >
>>>>>> > regards,
>>>>>> > Larry
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > On Mon, Feb 1, 2010 at 2:52 PM, Sunburned Surveyor
>>>>>> > <sunburned.surve...@gmail.com
>>>>>> > <mailto:sunburned.surve...@gmail.com>> wrote:
>>>>>> >
>>>>>> > Jukka,
>>>>>> >
>>>>>> > Can you file a feature request on SourceForge so we
>>>>>> don't
>>>>>> > forget this?
>>>>>> >
>>>>>> > The Sunburned Surveyor
>>>>>> >
>>>>>> > On Mon, Feb 1, 2010 at 7:12 AM, Larry Becker
>>>>>> > <becker.la...@gmail.com <mailto:becker.la...@gmail.com>>
>>>>>> wrote:
>>>>>> > > Hi Jukka,
>>>>>> > >
>>>>>> > > The behavior you described is what I programmed for
>>>>>> the
>>>>>> > mouse wheel
>>>>>> > > zooming. I like the idea of doing raster scaling
>>>>>> until
>>>>>> > you stop using the
>>>>>> > > wheel. It is just a matter of finding time to do it.
>>>>>> > As you can imagine,
>>>>>> > > this is fairly difficult code to write, but I believe
>>>>>> it
>>>>>> > to be an important
>>>>>> > > enhancement.
>>>>>> > >
>>>>>> > > regards,
>>>>>> > > Larry
>>>>>> > >
>>>>>> > > On Mon, Feb 1, 2010 at 6:51 AM, Rahkonen Jukka
>>>>>> > <jukka.rahko...@mmmtike.fi <mailto:
>>>>>> jukka.rahko...@mmmtike.fi>>
>>>>>> > > wrote:
>>>>>> > >>
>>>>>> > >> Hi,
>>>>>> > >>
>>>>>> > >> I have not used disk wheel zoom a lot and I
>>>>>> discovered
>>>>>> > just now that when
>>>>>> > >> zooming with mouse wheel, OpenJUMP is sending a new
>>>>>> WMS
>>>>>> > call for each wheel
>>>>>> > >> "click". As a WMS server manager I do not like this
>>>>>> > behaviour at all. WMS
>>>>>> > >> server is really sending an image for each click
>>>>>> > but OpenJUMP does not use
>>>>>> > >> the intermediate WMS images for anything. Could it
>>>>>> be
>>>>>> > possible to modify it
>>>>>> > >> so that OJ waits till user has stopped rolling the
>>>>>> wheel
>>>>>> > before the request
>>>>>> > >> is sent? I compared what uDig does and
>>>>>> > it is rescaling the old
>>>>>> > >> raster image (in a similar way than OJ when the
>>>>>> > Continuos zoom tool is used)
>>>>>> > >> until wheel rolling is ceased.
>>>>>> > >>
>>>>>> > >> -Jukka Rahkonen-
>>>>>> > >>
>>>>>> > >>
>>>>>> >
>>>>>> ------------------------------------------------------------------------------
>>>>>> > >> The Planet: dedicated and managed hosting, cloud
>>>>>> > storage, colocation
>>>>>> > >> Stay online with enterprise data centers and the
>>>>>> best
>>>>>> > network in the
>>>>>> > >> business
>>>>>> > >> Choose flexible plans and management services
>>>>>> without
>>>>>> > long-term contracts
>>>>>> > >> Personal 24x7 support from experience hosting pros
>>>>>> just
>>>>>> > a phone call away.
>>>>>> > >> http://p.sf.net/sfu/theplanet-com
>>>>>> > >> _______________________________________________
>>>>>> > >> Jump-pilot-devel mailing list
>>>>>> > >> Jump-pilot-devel@lists.sourceforge.net
>>>>>> > <mailto:Jump-pilot-devel@lists.sourceforge.net>
>>>>>> > >>
>>>>>> >
>>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>> > >>
>>>>>> > >
>>>>>> > >
>>>>>> > >
>>>>>> > > --
>>>>>> > > Larry Becker
>>>>>> > > Integrated Systems Analysts, Inc.
>>>>>> > >
>>>>>> > >
>>>>>> >
>>>>>> ------------------------------------------------------------------------------
>>>>>> > > The Planet: dedicated and managed hosting, cloud
>>>>>> storage,
>>>>>> > colocation
>>>>>> > > Stay online with enterprise data centers and the best
>>>>>> > network in the
>>>>>> > > business
>>>>>> > > Choose flexible plans and management services without
>>>>>> > long-term contracts
>>>>>> > > Personal 24x7 support from experience hosting pros
>>>>>> just a
>>>>>> > phone call away.
>>>>>> > > http://p.sf.net/sfu/theplanet-com
>>>>>> > > _______________________________________________
>>>>>> > > Jump-pilot-devel mailing list
>>>>>> > > Jump-pilot-devel@lists.sourceforge.net
>>>>>> > <mailto:Jump-pilot-devel@lists.sourceforge.net>
>>>>>> > >
>>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>> > >
>>>>>> > >
>>>>>> >
>>>>>> >
>>>>>> ------------------------------------------------------------------------------
>>>>>> > The Planet: dedicated and managed hosting, cloud
>>>>>> storage,
>>>>>> > colocation
>>>>>> > Stay online with enterprise data centers and the best
>>>>>> > network in the business
>>>>>> > Choose flexible plans and management services without
>>>>>> > long-term contracts
>>>>>> > Personal 24x7 support from experience hosting pros just
>>>>>> a
>>>>>> > phone call away.
>>>>>> > http://p.sf.net/sfu/theplanet-com
>>>>>> > _______________________________________________
>>>>>> > Jump-pilot-devel mailing list
>>>>>> > Jump-pilot-devel@lists.sourceforge.net
>>>>>> > <mailto:Jump-pilot-devel@lists.sourceforge.net>
>>>>>> >
>>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > --
>>>>>> > Larry Becker
>>>>>> > Integrated Systems Analysts, Inc.
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> ------------------------------------------------------------------------
>>>>>> >
>>>>>> >
>>>>>> ------------------------------------------------------------------------------
>>>>>> > The Planet: dedicated and managed hosting, cloud storage, colocation
>>>>>> > Stay online with enterprise data centers and the best network in the
>>>>>> business
>>>>>> > Choose flexible plans and management services without long-term
>>>>>> contracts
>>>>>> > Personal 24x7 support from experience hosting pros just a phone call
>>>>>> away.
>>>>>> > http://p.sf.net/sfu/theplanet-com
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> ------------------------------------------------------------------------
>>>>>> >
>>>>>> > _______________________________________________
>>>>>> > Jump-pilot-devel mailing list
>>>>>> > Jump-pilot-devel@lists.sourceforge.net
>>>>>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> The Planet: dedicated and managed hosting, cloud storage, colocation
>>>>>> Stay online with enterprise data centers and the best network in the
>>>>>> business
>>>>>> Choose flexible plans and management services without long-term
>>>>>> contracts
>>>>>> Personal 24x7 support from experience hosting pros just a phone call
>>>>>> away.
>>>>>> http://p.sf.net/sfu/theplanet-com
>>>>>> _______________________________________________
>>>>>> 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.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> SOLARIS 10 is the OS for Data Centers - provides features such as
>>>>> DTrace,
>>>>> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
>>>>> http://p.sf.net/sfu/solaris-dev2dev
>>>>>
>>>>> _______________________________________________
>>>>> Jump-pilot-devel mailing list
>>>>> Jump-pilot-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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
>>>>
>>>> _______________________________________________
>>>> 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.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>> _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> 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
> _______________________________________________
> 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.
------------------------------------------------------------------------------
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
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel