World Wind Forums

Go Back   World Wind Forums > WorldWind .Net Development > Developers' Corner

Developers' Corner General World Wind development.

Reply
 
Thread Tools Display Modes
Old 10-21-2005, 08:28 PM   #11
Brian_Flood
Junior Member
 
Join Date: Oct 2005
Posts: 5
Brian_Flood
Default

thx Adam

autoupdate - ok, I guess so. Is this generally a Nasa project or an open source one? Also, it seems any plugin could decide to update itself right?

Tesselation - you are more then likely right, I just saw some "ear clipping" code in the tree and I know that relates to tessellation

shapefile - oh, so no vector overlay of data? How are the country boundaries displayed (or maybe point me at the section of code)?

cheers
brian
Brian_Flood is offline   Reply With Quote
Old 10-25-2005, 02:03 AM   #12
adamhill
Senior Member
 
Join Date: Sep 2004
Posts: 147
adamhill
Default

This is an open source project, but since NASA's name and logo is on it, they cant do thing like ask for user data or do dangerous, automatic things. So they seem a little more protective than most (maybe on a par with the Firefox team, since both are highly visible).

Shapefile vector support does work, I was just pointing out that the 'converting to the bitmap part' is a bit slow and sometimes flickers as you zoom in.

Chris said he has a WFS server already working for Placenames (a good place to get our feet wet ). We need to talk to him about exposing it to the world at large so we can start hacking.
__________________
Adam Hill - .NET and GIS Guy
Thregecy Inc. ::: TheBigPixel
Hack #24 - World Wind
adamhill is offline   Reply With Quote
Old 10-25-2005, 02:13 AM   #13
Guest
Guest
 
Posts: n/a
Default

sweet, do you think you could point me in the direction of the shapefile to vector code, a good part of the KML reader would deal with adding geometries efficiently into the main WW graph, I'd love to see an example of how its done now.

thanks
brian
  Reply With Quote
Old 10-25-2005, 04:27 PM   #14
cmaxwell
World Wind enthusiast
 
Join Date: Aug 2004
Location: Los Angeles
Posts: 354
cmaxwell is an unknown quantity at this point
Default

The code to load the xml files that describe shapefiles is in WorldWind/ShapeFileLoader.cs.

The code that does the actual shapefile loading and rendering is in PluginSDK/ShapeFileLayer.cs. Ignore ShapeLayer.cs, it's old code that was never really used.

I'd rather write a module to use GML (since our WFS server that bruce is building will output GML) than KML (if I could only have one).
__________________
~ just a programmer ~
cmaxwell is offline   Reply With Quote
Old 10-25-2005, 06:12 PM   #15
5of0
Dabbling Geek
 
5of0's Avatar
 
Join Date: Jan 2005
Location: Washington State, USA
Posts: 1,623
5of0 is an unknown quantity at this point
Default

One thing about KML that I came across while working with the katrina plugin is that they have a <rotate> tag that allows them to rotate the images to be placed on the map, and as far as I know, WW doesn't have a similar tag.
__________________
Note: The above statement is probably an educated guess, derived from much forum reading, IRC chatting, general curiosity, etc. Use at your own risk.
Before asking, check the FAQ or search, and Ask a good question.

Having problems? Make sure you have Managed DirectX and .NET Framework.
Then check the Video Card Compatibility List


5of0 is offline   Reply With Quote
Old 10-25-2005, 06:47 PM   #16
Brian_Flood
Junior Member
 
Join Date: Oct 2005
Posts: 5
Brian_Flood
Default

thanks Chris

I was able to find what I was looking for in the MeshLayer, PolygonLayer etc. Its looks like the old SHapeLayer class handled the shapefiles as vector drawing directling in DX (e.g. drawArgs.device.DrawIndexedUserPrimitive s) whereas the new ShapefileLayer uses image tiles (with vectors drawn with GDI+ to the images). Cool either way, was just wondering why there was a move from all vectors to raster representations, maybe for the cartography aspect? Was it a performance thing?

great stuff, let me figure out a few thing on my side before I start anything. Also, there no reason a common geometry/layer model couldn't be applied to both GML and KML readers, it looks like you have lots of the pieces in place.

cheers
brian
Brian_Flood is offline   Reply With Quote
Old 10-26-2005, 11:14 AM   #17
barnacle9
Scurvy Dawg
 
barnacle9's Avatar
 
Join Date: Mar 2005
Location: Bay Area CA
Posts: 93
barnacle9
Angry

Brian-
I just wanted to take the opportunity to join the guys in welcoming you to World Wind. While not (yet) a developer myself, I am vaguely familiar with parts of the source code and a few of the technicalities we (you devs) deal with. I hope that you continue any and all dialogue regarding this and other matters, since we need good people around here to help implement some of the millions of capabilities that we (collective group) would like to see as part of World Wind.

Good luck, and thanks for stopping by-

Seth
barnacle9 is offline   Reply With Quote
Old 04-19-2006, 01:12 AM   #18
UserAbuser
Junior Member
 
Join Date: Nov 2005
Posts: 3
UserAbuser
Default

Im also interested in Vector Rendering
Also found what you found, but im not very good with directx.

Im planning an alternative version of the ShapeFileLayer plugin replacing tiles with Vector Tiles (if that is possible). At least its possible to do without much effort except for polygons.
Points Easy. Lines easy, Multilines easy , Poligons and Rings not easy.
Even you can use quadtree representations to reduce the overhead, but requires new algorithms!!

Hope we can work ensamble!




<div class='quotetop'>QUOTE(Brian_Flood @ Oct 25 2005, 12:47 PM) Quoted post</div><div class='quotemain'>
thanks Chris

I was able to find what I was looking for in the MeshLayer, PolygonLayer etc. Its looks like the old SHapeLayer class handled the shapefiles as vector drawing directling in DX (e.g. drawArgs.device.DrawIndexedUserPrimitive s) whereas the new ShapefileLayer uses image tiles (with vectors drawn with GDI+ to the images). Cool either way, was just wondering why there was a move from all vectors to raster representations, maybe for the cartography aspect? Was it a performance thing?

great stuff, let me figure out a few thing on my side before I start anything. Also, there no reason a common geometry/layer model couldn't be applied to both GML and KML readers, it looks like you have lots of the pieces in place.

cheers
brian
[/b][/quote]
UserAbuser is offline   Reply With Quote
Old 04-19-2006, 06:10 PM   #19
adamhill
Senior Member
 
Join Date: Sep 2004
Posts: 147
adamhill
Default

Chris has talked about a Vector tile system for just Placenames, but the idea is analogous to the Image system in place now.

He has imported all of GNIS placemarks that he used for the .wwp files into PostGIS and setup Geoserver to serve up those placenames as WFS. He has not gotten around to a implementing the client side bits.
__________________
Adam Hill - .NET and GIS Guy
Thregecy Inc. ::: TheBigPixel
Hack #24 - World Wind
adamhill is offline   Reply With Quote
Old 10-15-2007, 07:23 PM   #20
Unregistered
Guest
 
Posts: n/a
Default Support for which version of KML

I have written a simple KML file that works in Google Earth. Unfortunately, NASA World Wind doesn't seem to read it. I'm using the latest version of World Wind which comes with the KML/KMZ reader already integrated. Can anyone tell me what version of the KML schema the reader plug in supports. Does World Wind support <PlaceMarks>?

Regards,

John
  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
WorldWind Compiling Guide Without Visual Studio rnielsen Developers' Corner 30 06-06-2011 02:55 PM
GPS and WorldWind - GPX LOC rjchampagne WorldWind General 1 09-12-2005 04:06 AM
Newbies guide to worldwind Llynix WorldWind General 14 12-25-2004 01:55 PM


All times are GMT +1. The time now is 11:20 AM.


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