PDA

View Full Version : LOD8_Image



rhumbaflappy
June 8th, 2013, 16:23
For Ground2K and SBuilder users, I've made a tool to get background maps from various tile sources, trimmed to LOD8 size. The maximum zoom is "level 14'", which is about 8 meters per pixel. This produces a map about 5000x5000 pixels, depending on the earth position. The tool requires 2 included .Net DLLs, and uses Net2.0. It is a 32-bit windows program, and should run on all systems.

I can give C# source-code if anyone wants it.

http://www.filesplat.com/.rhumbaflappy/shared/FS9_Files/577W5GJTHYDAPEN6AWLDRE5VNCYUWAKG----LOD8_Image.zip

Dick

UncleTgt
June 9th, 2013, 08:54
Thank you!:salute::medals:

rhumbaflappy
June 9th, 2013, 09:47
I limited the maximum zoom to level 14 because level 15 can produce images of over 10000x10000 pixels. SBuilder9 bogs down with such large images, and ground2k usually crashes. A level 14 gives about 5000x5000 pixels, but the actual size is determined by the LOD8 location.

Some areas don't support level14 for all sources, but level 13 generally works for all, with a resolution of about 19m/pixel... again depending on location of the LOD8. Some areas will need level 12 for some sources... Level 12 is still 38m/pixel, and not too bad as a background. 4.8meters/pixel is the actual BGL limit, same as resample. Drawing at 38meters/pixel will save some errors in Ground2k, by not placing lines too close together or crossing them.

With the generated TXT file. SBuilder will autoload them... just cancel the calibration popup. Due to the path requirements in a ground2k LWM file, your better off adding the calibration within ground2k, and then saving the LWM file, rather than auto-generating an LWM file.

Changing from one map source to another is pretty interesting. Different ares of the world show different details among the sources. In ground2k, I'll take a BMP ( for ex. 12_ArcGIS_World_Street_Map_8_645_223.bmp ) and copy it as 12_8_645_223.bmp, and use that for the project. The land-water imagery is very good. but I know the 12_OpenStreetMap_8_645_223.bmp has better road definition, so I can copy that as 12_8_645_223.bmp ( overwriting the ArcGIS copy ) and use that for roads upon reloading ground2k... same LWM project, different map.

I included the cache clearing button because it grows tremendously as you scroll about looking at the world in different levels. Better to clear it after a session.


Dick

UncleTgt
June 9th, 2013, 23:51
Dick,

This is such a handy little tool.

As you point out, just comparing the different sources so effortlessly in itself makes this invaluable.

Thanks once again.:greenbo:

rhumbaflappy
July 4th, 2013, 12:19
A new version of the tool:

http://www.filesplat.com/.rhumbaflappy/shared/FS9_Files/1PTXTBICJC8SLBNJ3XUKXKY9AY0IAH9K----LOD8_Image.zip

The new version saves to a sub-directory named for the LOD8 and also includes a .bpw file for easy loading into a GIS program. The original program link is dead.

Dick

UncleTgt
July 5th, 2013, 04:19
:medals: Thanks for the improvements, new version is now even more useful!

:running:

Sander
September 7th, 2013, 03:50
Hi Dick,
the link appears to be dead....

rhumbaflappy
September 7th, 2013, 05:15
Hi Sander.

I'm trying a new server for Direct linking:

LOD8_Image.zip (http://k002.kiwi6.com/hotlink/43983rdeua/lod8_image.zip)

LOD5_Image.zip (http://k002.kiwi6.com/hotlink/7wnz5ns881/lod5_image.zip)

The original server ( FileSplat.com ) is not very reliable.

Dick

Sander
September 7th, 2013, 06:28
Cool, thanks!

rhumbaflappy
October 15th, 2013, 15:44
Hi all.

I'm now on version 3. The version 2 of LOD5_Image produces an image in the wrong projection ( EPSG:3785 for the curious, a special Google Spherical Mercator ). It should be geographic projection ( EPSG:4326 ). This version grabs the LOD5 image, performs some magic using gdalwarp ( included ), and pops out a reprojected image that should work for SBuilder or Ground2k.

LOD5_Image_v3.zip (http://k002.kiwi6.com/hotlink/4g291tpek4/lod5_image_v3.zip)



Dick

UncleTgt
October 15th, 2013, 23:50
Got it - Thank you :salute:

rhumbaflappy
October 16th, 2013, 13:56
Here's the LOD8 version 3:

LOD8_image_v3.zip (http://k002.kiwi6.com/hotlink/91row7z6g7/lod8_image_v3.zip)

Dick

rhumbaflappy
November 7th, 2013, 17:17
Google has changed the http access to https, it appears. To get google satellite imagery with LOD5 Image or LOD8 Image, please download the following zip file. It contains needed changes to the GMap.NET.Core.dll

GMap.NET.Core.dll.zip (https://skydrive.live.com/download?resid=F3950C5BBD2BCFA1!772&authkey=!AHMKBaH9TjHaLwM)

Rename the existing GMap.NET.Core.dll as GMap.NET.Core.dll.old, then unzip the new GMap.NET.Core.dll to the proper locations.

Dick

blohmundvoss
November 8th, 2013, 01:00
Thank you, Dick!

rhumbaflappy
October 7th, 2017, 08:09
Hi All.

I have had a request for these programs, but I have lost the files and source codes. Does anyone have them?

Dick

UncleTgt
October 10th, 2017, 11:53
Dick,

I have both LOD5 & LOD8 image v3 from May 2015. PM me with a current email to send them on to.

rhumbaflappy
October 10th, 2017, 14:12
I've got the files now. Thanks for the help. It will be a few days and I'll have a new version up.

The GMap DLLs have changed, so it needs recompiling.

Dick