I can see getting max scale from crs but min scale?  Even if we can those
would be defaults and app developers might specify others.  For example if
there is a particular image as the background and it only looks good down to
the X scale.
So sounds like it would be ok for me to add it in?

Jesse

On Wed, Aug 19, 2009 at 2:56 PM, Jody Garnett <jody.garn...@gmail.com>wrote:

> Hi Jesse:
> It is worthwhile having a min/max scale - but we may be able to determine
> it form the coordinate reference system for the map (now that we have an
> "extent" for a CoordinateReferenceSystem object perhaps we can put it to
> use?).
>
> Jody
>
> On 19/08/2009, at 10:09 PM, Jesse Eichar wrote:
>
> First a question for Jokela.  Is the patch to be applied to 1.1 or 1.2?
>
> And for the other uDig developers.  Since we have been hacking the model, is 
> there
> a worthwhile use case for min/max scale to be added to the viewport model or
> should we do this as a hack on the map blackboard?
>
> I am tempted to add it to the Viewportmodel.
>
> Jesse
>
>
> On Wed, Aug 19, 2009 at 12:05 PM, Jokela Pirkka <pirkka.jok...@affecto.com
> > wrote:
>
>>  Hi!
>>
>>
>> We’re having problems with the ZoomSelection tool and point selections.
>> The zoom goes to 1:0 scale which isn’t very nice. I think I was able to fix
>> the ZoomSelection tool to use the ScaleUtils.fitToMinAndMax(…) so that I can
>> use the map blackboard to set a minimum scale. I’ve attached a patch to the
>> ZoomSelection.java.
>>
>>
>> Could you, please, take this patch to uDig? Or do you have some other
>> ideas of how to fix the ZoomSelection tool?
>>
>>
>> Thanks,
>>
>>
>>                 Pirkka Jokela
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to