Skip to content

Commit

Permalink
Merge pull request #34 from shred86/dev
Browse files Browse the repository at this point in the history
Version 1.40.06
  • Loading branch information
shred86 authored Jul 5, 2024
2 parents 9af6496 + 1cf5df3 commit ece7e98
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
2 changes: 0 additions & 2 deletions Providers/Global/Mapbox.lay

This file was deleted.

6 changes: 0 additions & 6 deletions Providers/Global/Maxar.lay

This file was deleted.

2 changes: 1 addition & 1 deletion Providers/O4_Custom_URL.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def get_Here_value():
Here_value="loading"
js_path=str(requests.get('https://wego.here.com').content).split('<script defer="defer" src="')[1][:100].split('"')[0]
print("js_path: "+js_path)
Here_value=str(requests.get('https://wego.here.com'+js_path).content).split('APP_KEY:"')[1][:100].split('"')[0]
Here_value=str(requests.get('https://wego.here.com'+js_path).content).split('PLATFORM_API_KEY:"')[1][:100].split('"')[0]
print("Here_value: "+Here_value)
Here_time=time.time()
return Here_value
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,16 @@ The specific changes in this forked version:
* Includes Windows Python dependency wheel files for gdal and scikit-fmm.
* Update and pin requirements to latest working versions.
* Adds a bash script to automate the setup process for those that prefer not to use the packaged version.
* Removed Maxar and Mapbox image providers which are no longer publically available.

#### Bug Fixes
* If one-click symlink feature is used, added removal of symlink when "Erase cached data" "Tile (whole)" option is used.
* Fixed zones being saved to tile configuration that were outside of the tile location.
* Fixed a bug where symlinks weren't automatically deleted if you used the Erased cached data - Tile (whole) option.
* Fixed a bug if you created zones on a tile then clicked "Apply" (which no longer exists as a button) before saving the tile config, it would delete your zones.
* Fix Viewfinderpanorama elevation source for certain regions of the world.
* Fixed Viewfinderpanorama elevation source for certain regions of the world.
* Fixed Here (https://wego.here.com/) image provider API key.
* Fixed issue in certain coastal regions where .dds files were being deleted with cleaning_level set to 2 or higher.
* Corrected a few typos in setting descriptions.


Expand Down
8 changes: 5 additions & 3 deletions src/O4_Tile_Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,12 @@ def remove_unwanted_textures(tile):
for f in os.listdir(os.path.join(tile.build_dir, "terrain")):
if f[-4:] != ".ter":
continue
if f[-5] != "y": # overlay
texture_list.append(f.replace(".ter", ".dds"))
else:
if f[-5] == "y": # water overlay
texture_list.append("_".join(f[:-4].split("_")[:-2]) + ".dds")
if f[-5] == "a": # sea
texture_list.append("_".join(f[:-4].split("_")[:-1]) + ".dds")
else:
texture_list.append(f.replace(".ter", ".dds"))
for f in os.listdir(os.path.join(tile.build_dir, "textures")):
if f[-4:] != ".dds":
continue
Expand Down
2 changes: 1 addition & 1 deletion src/O4_Version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version='1.40.05'
version='1.40.06'

0 comments on commit ece7e98

Please sign in to comment.