![]() |
|
|||||||
| Community Chat Chat about topics not related to World Wind. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#151 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
|
Well, I don't know anything about DirectX, but I may have to learn. We have some contractors doing some coding work for us, but pulling one of them off of a project to look at this may or may not happen. I will probably just have to try to follow the WMS fix example and see it it can be applied to the shapefile loader.
V1.4 does a lot better job of loading KML files, at least as far as speed is concerned. For some reason it is much faster. We use that to display aircraft plots. I'd love to have that, but we also use the shapefiles to display theoretical radar coverages. right now anywhere that has overlapping coverages looks like a black blob. Until that gets fixed we will have to stay with the current version. James |
|
|
|
|
|
#152 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
|
Hey I found a workaround.
![]() You can specify opacity via the color in the xml instead of the layer properties. Code:
<PolygonColor>
<Red>255</Red>
<Green>0</Green>
<Blue>50</Blue>
<Alpha>150</Alpha>
</PolygonColor>
|
|
|
|
|
|
#153 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
|
Good deal! That should work nicely. I'll give it a try first thing tomorrow...
Thanks! James |
|
|
|
|
|
#154 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
|
The only drawback would be that you can't change opacity set this way from the gui, you would have to edit the alpha values in the xml and reload.
|
|
|
|
|
|
#155 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
|
Using the current loader, there doesn't seem to be any way to edit the shapes anyway. If I want to change the color, I edit the xml, and then reload the whole earth. It would be great if the whole shapefile layer could be reloaded without restarting WW or reloading the earth.
James |
|
|
|
|
|
#156 |
|
Senior Member
Join Date: Apr 2006
Posts: 404
|
If the shapefile layer is second in the tree from the Layer Manager, if you turn that off and on it will that reload it? I'm finding that with another few renderable objects...
__________________
Machine. Unexpectedly, I’d invented a time - Alan Moore |
|
|
|
|
|
#157 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
|
It doesn't re-read the xml when you do that.
|
|
|
|
|
|
#158 |
|
Senior Member
Join Date: Apr 2006
Posts: 404
|
Read the post, dammit Chade. Editing the xml! >.<
Anyway, wouldn't deleting and loading the xml (again) be faster than restarting WW or reloading Earth...?
__________________
Machine. Unexpectedly, I’d invented a time - Alan Moore |
|
|
|
|
|
#159 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,446
|
There doesn't seem to be a good way to unload the shapefiles currently. I actually added logic that allowed me to "Delete All" entries under a layer in the layer manager, and then I could use the shapefile loader dialog to reload the xml files, but it had lots of bugs. Once V1.4 is out I will probably try migrating my changes forward.
James |
|
|
|
|
|
#160 |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
|
A File -> Load... dialog will almost certainly be in 1.4.1. The code was there in 1.4 but it wasn't tested enough. Right-click -> Delete... does works in 1.4. Unfortunately it doesn't permanently delete shapefile layers because the loader doesn't include the xml filename in the the RO metadata like it does for regular layer; so all it can do is remove them from the LM until you restart.
|
|
|
|
![]() |
| 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 |
| 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 |