![]() |
|
|||||||
| Add-on & Script Development Creating add-ons and scripts for World Wind. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
grobda24 in IRC
Join Date: Jun 2007
Location: UK
Posts: 78
![]() |
Here is my BETA release of a layer generator CGI using the Mars Global Surveyor image database.
![]() I don't know if this is a WW first. I've seen layer editors. Layer generators that spin out earthquake data, but I haven't seen anything that consults an actual database... maybe I'm wrong... I don't know. Here it is ! http://djbarney.silentflame.com/moc2ww/ Add-on page ... http://www.worldwindcentral.com/wiki...GS_Layer_Maker Code release (GPL license) ... see post attachment. This add on is geared towards pumping out Mars Global Surveyor MOC image markers. I'm thinking of scientists that want to produce layers of MOC image collections. Images that show water features, or were taken at a certain time, and so on. The Scientist would have to create the list of those images themselves .... the add on will then create a layer from that list with correctly placed markers with image descriptions. There should also be a link on each marker to the image source page in the PDS or Malin Space Science Systems. That part isn't functional yet. I have tested this and I can get a full XML layer that shows correctly in WW, I'd love to know if other people can get it working. The add on could be altered to consult any mySQL database. I'm thinking of the MRO HiRise image database, for example (hint, hint... )Watch out for Martians. MouseOnMars |
|
|
|
|
|
#2 |
|
God. Root. What is difference?
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,847
![]() |
Historical EQ plug-in queries the USGS earthquake database.
![]() Great work though
__________________
![]() Earth is Square blog PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe. |
|
|
|
|
|
#3 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,461
![]() |
Neither of them really query a database, they just request a url and parse the results.
![]() |
|
|
|
|
|
#4 |
|
God. Root. What is difference?
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,847
![]() |
:P
Fine!
__________________
![]() Earth is Square blog PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe. |
|
|
|
|
|
#5 | ||
|
grobda24 in IRC
Join Date: Jun 2007
Location: UK
Posts: 78
![]() |
Quote:
![]() Quote:
So did you get it to work ? I'm sorta hanging out for some kind of confirmation here ![]() MouseOnMars |
||
|
|
|
|
|
#6 | |
|
Senior Member
Join Date: Aug 2005
Posts: 337
![]() |
Quote:
I know a TIMED researcher did that for displaying S/C health and safety data in worldWind although I dunno if she ever released that plug in.Still good job...although I'm wondering if publishing a GeoRSS feed like the USGS does might not be better? But hey...I DO think that I have something that could actually help you. I just need to finish PointIcons and get that into the XML side for you since you use the same icon everywhere. Performance should be a LOT better with thousands of points than the current implementation. |
|
|
|
|
|
|
#7 |
|
grobda24 in IRC
Join Date: Jun 2007
Location: UK
Posts: 78
![]() |
nigel_ht...
Hello. PointIcons ? Sounds interesting. FAA and RADES ? Aviation ? Is that something that consults a database of fights ? I'll have to look through the add ons. TIMED ? What's S/C ? I'd be interested to see some links if you have any. So the prize has all ready been taken then. Well good ![]() GeoRSS. I see what you mean. XML based. I might put that in as an option. Does GeoRSS load, live into WW ? Another development issue is the links on the MGS markers. The best pages about the images are produced by Malin Space Science (with nice context images and everything). Their system of linking needs some range checking code to actually work out the links. I could swear I've seen this implemented somewhere before, so I'm holding off my brain cells for the moment (being lazy :P ). MouseOnMars |
|
|
|
|
|
#8 |
|
Worldwind Developer
Join Date: Jan 2006
Location: Hobart, Australia
Posts: 754
![]() |
Finally more planetary plugins rather than just earth ones. Get it a bit more spruced up and we will add it to SVN. Or I can add it now for nht to upgrade with the new Icons.
Cheers, what_nick. PS: Oops is that actually a plugin.
__________________
Coding This and That in World Wind and helping new people out, as long as they don't pester too much. Currently blogging at: http://whatnicklife.blogspot.com Working at: Aerometrex - http://aerometrex.com.au/blog/ Impact so far: ![]() |
|
|
|
|
|
#9 |
|
grobda24 in IRC
Join Date: Jun 2007
Location: UK
Posts: 78
![]() |
It generates a marker layer XML file. Think of what obscure collection of Mars Global Surveyor images you want to display....use the PDS to tell you all the image ID's of MGS images with very acute angles for example (the panoramic ones). Now you can dump those ID's in my form and then dump the layer in WW for quick visual display of all those images ... in the right locations of course.
They don't have links on them yet. Each should have a link to the specific Malin Space Science System page for that image. Thats' the next part. HINT: I'm having problems working out how to generate those links. MSSS has a specific naming and directory structure for all their Mars Orbiter Camera images. Anyone ? BTW check the web page for the actual CGI code. MouseOnMars |
|
|
|
|
|
#10 |
|
grobda24 in IRC
Join Date: Jun 2007
Location: UK
Posts: 78
![]() |
I've started adding functionality to allow a link for each marker to the MSSS image gallery.
This site, has link tables that the author says he generated using a Visual Basic algorithm. I've used them before and they seem to be accurate. I dl'ed the entire site and have stripped out the links. It seems to be a case of adding them to another column in my SQL DB and adjusting the CGI script to do a search for the right link. The only other thing would be to email the owner of the website. For future, possible coolness, it might be possible to use the MSSS thumbnails to bring up a preview in the new Java comment windows (what are they called?) ... Eventually... ya know. Mouse |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WW1.3.2-Plugin: Layer Edit | canosso | Add-ons & Scripts | 21 | 02-27-2010 04:37 AM |
| Using WW offline... no Images layer | patmurris | Bug Reports | 13 | 12-23-2006 11:32 AM |
| 1.4-Turning off 'Images' in Layer Manager causes hang? | David Lockwood | Bug Reports | 2 | 12-06-2006 09:40 PM |
| place name mars layer lost and frequent WW shutdown | henri2 | Technical Support | 0 | 09-16-2006 10:12 PM |
| No Images option in Layer Manager | Unregistered | Technical Support | 4 | 07-16-2006 04:28 PM |