![]() |
|
|
#21 |
|
Junior Member
Join Date: Nov 2004
Posts: 12
![]() |
Nevermind my question. I found that it was just a rounding error I was doing! After I fixed it, I had no more problems.
|
|
|
|
|
|
#22 |
|
Junior Member
Join Date: Oct 2004
Posts: 8
![]() |
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. |
|
|
|
|
|
#23 |
|
Junior Member
Join Date: Feb 2005
Location: Germany, Leipzig
Posts: 6
![]() |
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 |
|
|
|
|
|
#24 | |
|
Guest
Posts: n/a
|
: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:
|
|
|
|
|
#25 | |
|
Junior Member
Join Date: Feb 2005
Location: Germany, Leipzig
Posts: 6
![]() |
Quote:
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 |
|
|
|
|
|
|
#26 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#27 |
|
Senior Member
Join Date: Oct 2004
Location: Austria
Posts: 342
![]() |
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 |
|
|
|
|
|
#28 | |
|
Senior Member
Join Date: Dec 2004
Location: Newcastle, Australia
Posts: 186
![]() |
Quote:
|
|
|
|
|
|
|
#29 |
|
Junior Member
Join Date: Feb 2005
Location: Germany, Leipzig
Posts: 6
![]() |
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 |
|
|
|
|
|
#30 |
|
Guest
Posts: n/a
|
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 |
|
![]() |
| 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 |
| 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 |