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 12-17-2004, 07:56 PM   #21
ukenuke
Junior Member
 
Join Date: Nov 2004
Posts: 12
ukenuke
Default

Nevermind my question. I found that it was just a rounding error I was doing! After I fixed it, I had no more problems.
ukenuke is offline   Reply With Quote
Old 12-30-2004, 06:33 PM   #22
dsten
Junior Member
 
Join Date: Oct 2004
Posts: 8
dsten
Default

I added some features to rowcolcal.xls

1. Takes Worldwind clipboard contents as input
2. Added USGS levels

I used this spreadsheet to indentify dds files that had errors when downloaded.
I'd zoom in on the area
copy its coordiantes into excel
delete the file in explorer
zoom out World wind then back in - fixed.
Attached Files
File Type: zip rowcolcal0.ZIP (4.4 KB, 676 views)
dsten is offline   Reply With Quote
Old 02-25-2005, 02:36 PM   #23
TuRRiCAN
Junior Member
 
TuRRiCAN's Avatar
 
Join Date: Feb 2005
Location: Germany, Leipzig
Posts: 6
TuRRiCAN
Default

Hi!
I'm new here. But I hope, I can do my part.
I improved the excel-program of "dsten" a little bit.

[attachmentid=255]

At first (because I'm from Germany) I had little problems with calculating because the "." and "," - sings. Therefore I programmed a little workaraound.

Furthermore I wrote (in VBA - so activate the macros) a tool to identify the .dds-files without the corresponding .tif-Files. So you can list or delete all the damaged files in all folders you want. Because this was a problem of an other thread, you will find it (and a standalone script) there again.

TuRRiCAN
Attached Files
File Type: zip rowcolcal_new.zip (25.3 KB, 715 views)
TuRRiCAN is offline   Reply With Quote
Old 03-01-2005, 11:29 AM   #24
Guest_Bob_*
Guest
 
Posts: n/a
Default

:huh:

How do you define a damaged file?

In running your script I come up with a total of 772 damaged files whic is probably about every dds file im my cache>

Bob


Quote:
Originally posted by TuRRiCAN@Feb 25 2005, 06:36 AM
Hi!
I'm new here. But I hope, I can do my part.
I improved the excel-program of "dsten" a little bit.

[attachmentid=255]

At first (because I'm from Germany) I had little problems with calculating because the "." and "," - sings. Therefore I programmed a little workaraound.

Furthermore I wrote (in VBA - so activate the macros) a tool to identify the .dds-files without the corresponding .tif-Files. So you can list or delete all the damaged files in all folders you want. Because this was a problem of an other thread, you will find it (and a standalone script) there again.

TuRRiCAN
  Reply With Quote
Old 03-02-2005, 08:00 AM   #25
TuRRiCAN
Junior Member
 
TuRRiCAN's Avatar
 
Join Date: Feb 2005
Location: Germany, Leipzig
Posts: 6
TuRRiCAN
Cool

Quote:
Originally posted by Guest_Bob_*@Mar 1 2005, 12:29 PM
How do you define a damaged file?

In running your script I come up with a total of 772 damaged files whic is probably about every dds file im my cache>
Hi Bob,

Sorry, it was my mistake. I dont scan for damaged files. I scan for damaged "file-pairs".
Explanation:
Every .dds-file is a compressed image of a little part of the world. It's saved in "... Cache\Earth\High-Resolution Terrain Mapped Imagery\"-subfolders.
Each (as I know) image comes together with a height-information - saved in a .tif-file in the "...Cache\Earth\TerrainTiles\"-subfolders.
This means:
If you have a .dds-file you can found the corresponding .tif-file (if youre looking in the right level). If you cant find the .tif-file - you (and World Wind) have no height information. On Level 0-1 or 2 its not the problem I think, because you cant see the heights, but on deeper levels you get "square-dance".
My script (and this of dsten) looks for this "lonely" .dds-files and delete them.
It can NOT fix the problem, if you have a damaged correspondig .tif-file.

I'll improve my little toolbox - so you will be able to select the levels to scan and perhaps the range.

I hope, I could help
TuRRiCAN
TuRRiCAN is offline   Reply With Quote
Old 03-02-2005, 12:51 PM   #26
Guest
Guest
 
Posts: n/a
Default

Thanks for the explanation TuRRiCAN. It helps in my understanding about what is going on. I'm trying to identify the cause of problems I'm having in a few areas.

Bob
  Reply With Quote
Old 03-09-2005, 06:02 PM   #27
canosso
Senior Member
 
Join Date: Oct 2004
Location: Austria
Posts: 342
canosso
Default

Hello,
for those who don't have Excel or other spreadsheet, I made a Javascript page, this includes also the calculation of coordinates from the tilename. Simply fill in and the calculations will be shown below. There are the tilenames with the full name, i.e. tilenames below 1000 will have leading 0, which would make it easier to search for them.
Look below at post #36 for the newest version.

canosso
__________________
My Plug-ins for World Wind
canosso is offline   Reply With Quote
Old 03-09-2005, 09:43 PM   #28
nova
Senior Member
 
nova's Avatar
 
Join Date: Dec 2004
Location: Newcastle, Australia
Posts: 186
nova is an unknown quantity at this point
Default

Quote:
Originally posted by canosso@Mar 10 2005, 05:02 AM
Hello,
for those who don't have Excel or other spreadsheet, I made a Javascript page, this includes also the calculation of coordinates from the tilename. Simply fill in and the calculations will be shown below. There are the tilenames with the full name, i.e. tilenames below 1000 will have leading 0, which would make it easier to search for them.
Save the page with your browser for offline use.

canosso
Very neat app, better than my speadsheet.
nova is offline   Reply With Quote
Old 03-10-2005, 08:44 AM   #29
TuRRiCAN
Junior Member
 
TuRRiCAN's Avatar
 
Join Date: Feb 2005
Location: Germany, Leipzig
Posts: 6
TuRRiCAN
Default

Respect canosso,
very nice converter.
But, you can't delete files - I know - these are limitations of javascript (and it's good so).
The best solution could be a plugin for WorldWind (or a solution by Worldwind itself). If Worldwind dont find its terrainfiles (while it tries to display it) why tries it not to download it again...

TuRRiCAN
TuRRiCAN is offline   Reply With Quote
Old 03-17-2005, 06:38 PM   #30
Osumi
Guest
 
Posts: n/a
Default

OK, I tried everything posted here, but I cant get any good results. Are these valid with the 1.3 version?

For example, I have file 0432_0858.jpg from \cache\Earth\High Resolution Imagery\NLT Landsat7 (Visible Color)\4\0432

World Wind says its bottom left coordinates are aprox Lat -29.25 Lon -59.35

Using all the methods described above (excel files, my own excel file, jscript page , I get Lat -36.00 Lon -72.75

All I want is to calculate the four corner coordinates of level 4 NLT Landsat cache files.

Any pointers?

Osumi
  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
Plug-in: PlaceNameMaker canosso Add-ons & Scripts 4 03-30-2011 03:29 PM
Plugin: My favorite Icons - Add Icons/Favorite canosso Add-ons & Scripts 26 03-02-2010 03:06 AM
WW1.3.2-Plugin: Layer Edit canosso Add-ons & Scripts 21 02-27-2010 04:37 AM
WW 1.3.2-Plugin: Skripter canosso Add-ons & Scripts 33 03-22-2007 02:06 PM
Convert Coordinates for World Wind canosso Add-on & Script Development 14 07-31-2005 02:12 PM


All times are GMT +1. The time now is 01:28 AM.


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