![]() |
|
|||||||
| Developers' Corner General World Wind development. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Junior Member
Join Date: Oct 2005
Posts: 5
![]() |
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 |
|
|
|
|
|
#12 |
|
Senior Member
Join Date: Sep 2004
Posts: 147
![]() |
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. |
|
|
|
|
|
#13 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#14 |
|
World Wind enthusiast
Join Date: Aug 2004
Location: Los Angeles
Posts: 354
![]() |
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 ~ |
|
|
|
|
|
#15 |
|
Dabbling Geek
Join Date: Jan 2005
Location: Washington State, USA
Posts: 1,623
![]() |
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
|
|
|
|
|
|
#16 |
|
Junior Member
Join Date: Oct 2005
Posts: 5
![]() |
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 |
|
|
|
|
|
#17 |
|
Scurvy Dawg
Join Date: Mar 2005
Location: Bay Area CA
Posts: 93
![]() |
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
__________________
An excellent map projection reference |
|
|
|
|
|
#18 |
|
Junior Member
Join Date: Nov 2005
Posts: 3
![]() |
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] |
|
|
|
|
|
#19 |
|
Senior Member
Join Date: Sep 2004
Posts: 147
![]() |
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. |
|
|
|
|
|
#20 |
|
Guest
Posts: n/a
|
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 |
|
![]() |
| 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 |
| 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 |