![]() |
|
|||||||
| Applications Discussion of applications that use WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Oct 2008
Posts: 26
|
I've created a working Virtual Earth layer, based on the TiledImageLayer and BasicTiledImageLayer by Tom Gaskins. It works much the same way, but calculates the tile and subtile sectors differently. It also reprojects the Virtual Earth images (mercator) slightly, so they fit with the World Wind tiles (plate carrée).
It shouldn't take too much modification to create a Google Earth version too. Hope this is of use to somebody ![]() Last edited by Omega; 02-05-2009 at 05:13 AM. Reason: Added different datasets |
|
|
|
|
|
#2 |
|
God. Root. What is difference?
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,856
|
Looks good. But I would not recommend a Google Earth version... Google does not like to share.
__________________
![]() 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 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
An Open Street Map version based on their 'slippy map' Mercator version would be great as it is much more up to date then the WMS version we actually use in the OpenStreetMapLayer.
|
|
|
|
|
|
#4 |
|
Member
Join Date: May 2007
Location: Toulouse
Posts: 92
|
Thank you omega! This is very useful for me.
I've used your code to create a new OpenStreetMap layer that uses the 'slippy map' Mercator version instead of the WMS version. Edit : your implementation works great but i have the impression that the data are a little blurry. I think that the render could be far better if WorldWind could display tiles with better resolution but i don't know how to tune that.
__________________
-Nicolas CASTEL- Thales Alenia Space, GMES program, Toulouse, France- Last edited by vash; 02-03-2009 at 07:28 PM. |
|
|
|
|
|
#5 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
This is probably a matter of level selection. I haven't looked at the code yet, but it happens in the needToSplit() method of BasicTiledImageLayer.
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Apr 2008
Location: Boise ID
Posts: 264
|
Oh just great just when I finished coding/testing/releaseing my special icon management feature you guys throw something tempting on the forum.
When's a person going to get some sleep? Just no respect I tell you for one's sleep quota. Okay something interesting for me to think about for MyUniPortal. I will probably have it done by say 4:00AM tomorrow. Thanks (really), Tony Anecito Founder, MyUniPortal http://www.myuniportal.com |
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Oct 2008
Posts: 26
|
Quote:
I believe the reason the tiles look blurry is because the VirtualEarth and OpenStreetMap tiles are 256x256, whereas the NASA tiles are 512x512. One way to fix this would be to change the needToSplit() function, as Pat Murris suggested. Another way would be to call the function setSplitScale(double) in the layer's constructor. The default World Wind splitScale is 0.9: I have found that 1.3 is a good value for the Virtual Earth layer. The VirtualEarthLayer constructor would now look like this: Code:
public VirtualEarthLayer()
{
super(makeLevels());
setSplitScale(1.3);
}
Last edited by Omega; 02-04-2009 at 01:10 AM. |
|
|
|
|
|
|
#8 |
|
Cosmic Overlord
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
|
Doh its Java and not for .NET, good work though
. |
|
|
|
|
|
#9 | |
|
God. Root. What is difference?
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,856
|
Quote:
![]() All need is a 2 hour nap before going into work tonight... Only working till 6am.. so I will be checking for your update at 6:30am. ![]()
__________________
![]() 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. |
|
|
|
|
|
|
#10 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Would that work for the French Geoportail?
|
|
|
|
![]() |
| 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 |
| MS Virtual Earth | Sharky | Applications | 30 | 06-19-2008 03:39 PM |
| Virtual Earth Imagery in WW 1.4 | nkrause | WorldWind General | 5 | 01-20-2007 11:23 PM |
| Virtual Earth 3D | m_k | Community Chat | 9 | 11-14-2006 01:41 AM |
| Microsoft Virtual Earth | guest | WorldWind General | 5 | 07-25-2005 02:54 PM |
| Virtual Earth | uninspiredname | WorldWind General | 1 | 06-23-2005 12:29 AM |