I would add a new Type for features called anyURI for that attributes that contain a URI. As Stefan said the underlying type would be a String. In the properties table we can also render it as a hyper link.
In Java is there a cross platform way to request the operating system open an appropriate application for a URL? If there is then we don't have to manage the mapping between types of URI and the applications to launch them. Paul Stefan Steiniger wrote: > Ohh.. Larry together with Paul you are really fighting about the > "programmer of the month" medal ;) > > i love your proposal! (even because you are a better programmer than i > am. > > it is quite nice that you simply ask your inhouse customers, and if > all scream "yeeeeess", you can get some time for a needed feature. > > stefan > > Larry Becker schrieb: >> I talked to our internal SkyJUMP users and they were excited about the >> capability to get picture links on the map, so perhaps I can justify a >> few hours of work time on the project. >> >> Here are some ideas: >> >> 1. Use a URL stored in an attribute (ex: JUMP_LINK) to specify the >> link target. JUMP_LINKS will work only on point features. >> >> 2. JUMP_LINK points could be styled with a special icon so the user >> can find them. >> >> 3. A Link cursor tool could be put on the toolbar. It would activate >> the link when a JUMP_LINK point is clicked. >> >> 4. The tool would probably just launch a web browser window to >> display the link. This would work for documents of most common types >> like pictures, html, pdf, and others. >> >> 5. For some special document types like jpeg that can be easily >> handled by Java, the tool could generate a preview when the Link tool >> hovers over a JUMP_LINK (as the Vista Taskbar does). >> >> comments? >> >> Larry Becker >> >> On 10/10/07, Giuseppe Aruta <[EMAIL PROTECTED]> wrote: >>> --- Larry Becker <[EMAIL PROTECTED]> ha scritto: >>> >>> Hi Larry, >>> and thanks for the explanation. >>> >>> >>>> I think Stefan was talking about storing an http >>>> hyperlink in a >>>> feature attribute. Making a hyperlink cursor tool >>>> that looks for this >>>> hyperlink attribute and launches a web browser >>>> window when the feature >>>> is clicked is not too difficult. It might take me a >>>> day or two. >>> >>> ************************** >>> >>>> The tool would basically look at the text inside the >>>> link attribute >>>> and launch the appropriate program based on the >>>> data. For instance, >>>> it could launch a picture viewer if the link >>>> attribute contained the >>>> path to a jpeg. >>>> >>>> Is this what you envisioned? >>> >>> I was really think about this kind of tool. This is >>> an old Ravi's question that I put forward. I also >>> think it would be usefull for many kinds of userd >>> (geologists, foresters, etc) who works a lot with >>> photoes. >>> >>> Peppe >>> >>> >>> ___________________________________ >>> L'email della prossima generazione? Puoi averla con la nuova Yahoo! >>> Mail: http://it.docs.yahoo.com/nowyoucan.html >>> >>> _______________________________________________ >>> jump-users mailing list >>> [email protected] >>> http://lists.refractions.net/mailman/listinfo/jump-users >>> >> >> > _______________________________________________ > jump-users mailing list > [email protected] > http://lists.refractions.net/mailman/listinfo/jump-users _______________________________________________ jump-users mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jump-users
