World Wind Forums

Go Back   World Wind Forums > Community > Community Chat

Community Chat Chat about topics not related to World Wind.

Reply
 
Thread Tools Display Modes
Old 02-12-2007, 06:11 AM   #161
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
Default

Ideally I would be able to programatically refresh the color of shapefiles on a timer, say every minute or so. The XML will reside on a server, and the shapes themselves will be on the clients. It sounds like every minute or two I would have some process that just deletes all shapes and reload them base on the xml file on the server. Do you think the new code will support that type of functionality?
Thanks,
James
James_In_Utah is offline   Reply With Quote
Old 02-12-2007, 06:34 AM   #162
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
Default

You could do that right now with a plugin.
withak is offline   Reply With Quote
Old 02-12-2007, 07:40 AM   #163
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
Default

If I started with the current shapefileloader, would it be a big deal to add logic to remove whatever shapes it had loaded? Then, if that works, just put it on a timer to unload and reload every two minutes? I guess actually changing the color of a polygon in a loaded shapefile is out of the question?
Thanks,

James

Last edited by James_In_Utah; 02-12-2007 at 06:23 PM.
James_In_Utah is offline   Reply With Quote
Old 02-13-2007, 12:11 AM   #164
Chade
Senior Member
 
Join Date: Apr 2006
Posts: 404
Default

Shouldn't they all just be in a RenderableObjectList? It should be all rather malleable through that...
__________________
Machine. Unexpectedly, I’d invented a time
- Alan Moore
Chade is offline   Reply With Quote
Old 02-13-2007, 12:18 AM   #165
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
Default

From the point of view of the RenderableObjectList, a shapefile layer is just a qts (that happens to be stored in memory and generated on the fly instead of being stored on disk and downloaded). So you would have to regenerate the entire layer to change one thing in it.
withak is offline   Reply With Quote
Old 02-13-2007, 12:20 AM   #166
Chade
Senior Member
 
Join Date: Apr 2006
Posts: 404
Default

Urgh.
__________________
Machine. Unexpectedly, I’d invented a time
- Alan Moore
Chade is offline   Reply With Quote
Old 02-13-2007, 12:45 AM   #167
withak
What?
 
withak's Avatar
 
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
Default

Yeah. Hence my attempt to treat the data in shapefiles like the vector objects they really are.
withak is offline   Reply With Quote
Old 02-13-2007, 04:22 AM   #168
James_In_Utah
Super Member
 
James_In_Utah's Avatar
 
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
Default

If you can get the alpha blend thing to make your shapefile loader do opaque shapes I would switch. We load up about 300 shapefiles, and indicate status of radar sites with colors. As it stands right now, if one site changes color, I have to unload the whole thing, currently by reloading earth, and then redraw all the shapes. On a typical desktop client, this can take maybe a minute or two. Also, once they are all loaded, zooming and panning is almost painful. Any suggestions on how to deliver this functionality to my users in a more fluid approach would be appreciated!
Thanks,
James
James_In_Utah is offline   Reply With Quote
Old 02-13-2007, 02:00 PM   #169
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,856
Default

Yea know... I should really do a feature post once a month with what people are doing with World Wind.... because I really want to see what James_In_Utah is doing
__________________


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.
TomServo is offline   Reply With Quote
Old 02-13-2007, 09:36 PM   #170
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
Default

If you did that 'they' would have to kill you.
__________________
Bull_[UK]

bull is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Maps + MSN Virtual Earth = Flash Earth m_k Community Chat 6 02-19-2008 08:51 PM
Google Earth has so much better resolution mica78 WorldWind General 43 01-20-2006 01:00 AM
Cant get resolution as good as Google Earth? David Technical Support 3 08-23-2005 03:14 PM
Google Earth or World Wind maja Community Chat 2 07-31-2005 07:57 PM
Please take a few pointers from Google Earth Scott M Suggestion Box 3 07-15-2005 04:07 PM


All times are GMT +1. The time now is 10:59 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.