comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Mars Express HRSC image viewer
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Mars Express HRSC image viewer [message #53146] Tue, 27 March 2007 03:04 Go to next message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
Hi folks!

I recently put a new site online which, of course, is coded with IDL
(ION script). Aside from the fact that you might be amused to play
around with it (there're something like 2 TB of images there), I'd
very much appreciate any suggestions for improvements of any kind -
especially in relation to the interface/ION side of things.

http://www.geoinf.fu-berlin.de/hrscviewweb/

many greetings,
Greg
Re: Mars Express HRSC image viewer [message #53200 is a reply to message #53146] Thu, 29 March 2007 13:40 Go to previous messageGo to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
greg michael wrote:

> It would be nice to have double-clicks for zooming as well, but I
> don't think this can be done with html.

Certainly. This can be handled with some client side javaScript. The
onDblClick event is supported by Netscape v6+ and IE4+ for most HTML
elements.

-Rick
Re: Mars Express HRSC image viewer [message #53224 is a reply to message #53146] Wed, 28 March 2007 13:27 Go to previous messageGo to next message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
> Right click then?

Same problem with a right-click - it doesn't get sent by an html page
- it just lets you save the image (as far as I know... which isn't
very far at all for html)

> Or you can have 2 modes: a zooming mode (see 1st comment) or a spanning mode

Yes, now you mention it - I've seen that done in other map interfaces
- that could be a good solution. In general, I think panning is more
important (i.e. more frequently used) than zooming here, so I wouldn't
want to make it the normal behaviour.

thanks again,
Greg
Re: Mars Express HRSC image viewer [message #53230 is a reply to message #53146] Wed, 28 March 2007 08:31 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
greg michael wrote:
> Hi Jean,
>
> Clicking the image recentres the view - then when you change zoom, it
> should be around that point. Is that what you meant?

Yes, this statement, on your page, would be helpful!
... or, but that may be a 'user preference', it would be nice that when
you click on the image (anywhere), it does a) the zooming and b) of
course, to recenter the view.

> I thought maybe I could add some crosshairs to make it clear that
> recentring is what's happening: what do you think?

Yep!

> It would be nice to have double-clicks for zooming as well, but I
> don't think this can be done with html.

Right click then?
Or you can have 2 modes: a zooming mode (see 1st comment) or a spanning mode

Jean


> many thanks for the comment,
> Greg
>
>> Greg,
>>
>> the zooming is kind of hard... it would be nice to be able to click on
>> the image and to zoom around the specified point. Also, what the program
>> does when clicking on the image is not obvious at first. Along with the
>> zoom idea, you could have arrows around your image (click to move the view)
>>
>> Jean
>
>
Re: Mars Express HRSC image viewer [message #53236 is a reply to message #53146] Wed, 28 March 2007 03:28 Go to previous messageGo to next message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
the arrows are a good idea - thanks.

Greg
Re: Mars Express HRSC image viewer [message #53237 is a reply to message #53146] Wed, 28 March 2007 03:14 Go to previous messageGo to next message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
Hi Jean,

Clicking the image recentres the view - then when you change zoom, it
should be around that point. Is that what you meant?

I thought maybe I could add some crosshairs to make it clear that
recentring is what's happening: what do you think?

It would be nice to have double-clicks for zooming as well, but I
don't think this can be done with html.

many thanks for the comment,
Greg

> Greg,
>
> the zooming is kind of hard... it would be nice to be able to click on
> the image and to zoom around the specified point. Also, what the program
> does when clicking on the image is not obvious at first. Along with the
> zoom idea, you could have arrows around your image (click to move the view)
>
> Jean
Re: Mars Express HRSC image viewer [message #53239 is a reply to message #53146] Tue, 27 March 2007 13:24 Go to previous messageGo to next message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
greg michael wrote:
> Hi folks!
>
> I recently put a new site online which, of course, is coded with IDL
> (ION script). Aside from the fact that you might be amused to play
> around with it (there're something like 2 TB of images there), I'd
> very much appreciate any suggestions for improvements of any kind -
> especially in relation to the interface/ION side of things.
>
> http://www.geoinf.fu-berlin.de/hrscviewweb/
>
> many greetings,
> Greg
>

Greg,

the zooming is kind of hard... it would be nice to be able to click on
the image and to zoom around the specified point. Also, what the program
does when clicking on the image is not obvious at first. Along with the
zoom idea, you could have arrows around your image (click to move the view)

Jean
Re: Mars Express HRSC image viewer [message #53245 is a reply to message #53146] Mon, 02 April 2007 05:33 Go to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
Thanks for that example - I should be able to figure something out
from there.

Greg

>
> http://javascript.internet.com/miscellaneous/enlarge-image.h tml
>
> <img src="img/picture4-sm.gif" height="150" name="image1"
> ondblclick="enlargeImage1()" onclick="dropImage1()">
>
> So I guess you can write a function that redirect you to your image
> page, with a tag in the address stating that a double click occurred..
> window.location = "http://www.google.com/?dblclik=true" or you might
> even skip this and have a function with the zoom parameters (double
> click) and another one with the pan parameters (single click)
>
> Jean
Re: Mars Express HRSC image viewer [message #53274 is a reply to message #53146] Fri, 30 March 2007 11:11 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
greg michael wrote:
>> Certainly. This can be handled with some client side javaScript. The
>> onDblClick event is supported by Netscape v6+ and IE4+ for most HTML
>> elements.
>
> Hi Rick,
>
> Thanks for the suggestion. I found this sample code:
>
> <input type="button" ondblclick="JavaScript: alert( 'ondblclick
> event' )" value="Double Click Me!">
>
> That detects the double-click - do you know how I can pass that
> information back to the server?
>
> Greg

http://javascript.internet.com/miscellaneous/enlarge-image.h tml

<img src="img/picture4-sm.gif" height="150" name="image1"
ondblclick="enlargeImage1()" onclick="dropImage1()">

So I guess you can write a function that redirect you to your image
page, with a tag in the address stating that a double click occurred..
window.location = "http://www.google.com/?dblclik=true" or you might
even skip this and have a function with the zoom parameters (double
click) and another one with the pan parameters (single click)

Jean
Re: Mars Express HRSC image viewer [message #53279 is a reply to message #53200] Fri, 30 March 2007 10:09 Go to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
> Certainly. This can be handled with some client side javaScript. The
> onDblClick event is supported by Netscape v6+ and IE4+ for most HTML
> elements.

Hi Rick,

Thanks for the suggestion. I found this sample code:

<input type="button" ondblclick="JavaScript: alert( 'ondblclick
event' )" value="Double Click Me!">

That detects the double-click - do you know how I can pass that
information back to the server?

Greg
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Computer Job Available!
Next Topic: Re: filling high resolution islands

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:13:19 PDT 2025

Total time taken to generate the page: 0.00763 seconds