![]() |
|
|
#1 |
|
Junior Member
Join Date: Oct 2007
Posts: 25
|
Greetings,
Please find attached an eclipse project of an implemenation of MS Virtual Earth Quad Key tile server for WWJ. Bonus! Google Earth too - however I don't think google will be too happy about this You can run the test class test.DemoBasic to look at VE/GE. The min zoom at which tiles are rendered is 6. Projection mismatch? MSVE uses a mercator projection which doesn't match wwj's. To overcome this problem, the quadkey tile for the eye point is calculated, then the lat/lon box (sector) for the mecator tile is computed and finally the tile is rendered using wwj tile renderer. In this manner WWJ will warp the mercator tile to fit the wwj ellipsoidal sector. This seems to work at high zoom levels (You can verify this by zooming and then comparing the images with the wwj urban area ortho, they match perfectly! - So do Google earth's). Any comments are welcome. So... What is missing? Meshes! A layer to access Google 3D warehouse and render COLLADA models. I already have mesh classes & OBJ/3DS loaders but I can't make the model fit into WWJ geometry (Don't know how). Perhaps the WWJ gurus could assist. Please help! Regards |
|
|
|
|
|
#2 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Mercator tiles can fit a sector and thus can go through WWJ surface tile renderer! Well done Vladimir.
I havent run it yet but i can tell you did quite a job by the source ![]() You would just need to add a tile extent - which is a cylinder, and you would then be able to test for view frustum intersection, which is the key to handle larger sets of tiles when the view is pitched. |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Aug 2006
Posts: 6
|
Quote:
"We're sorry...... but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can't process your request right now." instead of the image tile ![]() Congrats, well done ! I'm very impress by your code. I detected some trouble with WWJ 0.4.1 + you patch sometimes : http://myskitch.com/amnesic/skitched-20071209-172027/ But I will investigate more. (some tiles seems to not be downloaded well) p.s. : Mac OX 10.5.1 Java run-time version: 1.5.0_13 NASA World Wind Java Alpha 4.1 0.4.1 |
|
|
|
|
|
|
#4 |
|
Cosmic Overlord
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
|
Nice, now we need someone to port it to .NET, the current plugin is pretty unstable.
|
|
|
|
|
|
#5 | |
|
What?
Join Date: Apr 2005
Location: San Francisco, California
Posts: 2,464
|
Quote:
Not that any WW devs would do such a thing of course. |
|
|
|
|
|
|
#6 | |
|
Junior Member
Join Date: Oct 2007
Posts: 25
|
Quote:
I don't think google will accept a wwj layer to ge. I did it for the hell of it. We could build an abstract quad key layer to any tile server: Ask, Yahoo, Google, MSVE. Regards, |
|
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Oct 2007
Posts: 25
|
Quote:
I was wonderig why the tiles wouldn't render when tilting the globe. Any pointers/code on how to add this extent/frustum? I have no idea how to do that. Cheers |
|
|
|
|
|
|
#8 |
|
Bored Explorer
Join Date: Nov 2004
Location: Warsaw, Poland
Posts: 1,737
|
Chickens :P
|
|
|
|
|
|
#9 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Start with TiledImageLayer - i think it has all the logic.
|
|
|
|
|
|
#10 | |
|
Senior Member
Join Date: Apr 2006
Posts: 404
|
Quote:
The issue is that GE want you to use their api to access the tiles, not access them directly...
__________________
Machine. Unexpectedly, I’d invented a time - Alan Moore |
|
|
|
|
![]() |
| 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 |
| Job posting - Mid-Level Programmer: 3D Geospatial Virtual Earth Technologies | jrobb | Community Chat | 0 | 03-08-2007 05:16 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 |
| Virtual Earth | uninspiredname | WorldWind General | 1 | 06-23-2005 12:29 AM |