Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace broken NASA OSM mapcache with the OSMMapnickLayer at 50% opacity #139

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

gb96
Copy link

@gb96 gb96 commented Oct 27, 2017

Description of the Change

  1. OSMMapnickLayer default to 50% opacity so it is useful as an overlay
  2. Swap broken OSM Layer Earth/OpenStreetMap.xml with OSMMapnikLayer in config/worldwind.layers.xml

Why Should This Be In Core?

The default OSM layer is currently broken, creating a problem for all the demo/example apps.
Should not negatively impact any applications that use WWJ SDK.

Benefits

Minor change restores presense of a working OSM layer to all the demo/example apps.

Potential Drawbacks

OSMMapnikLayer hits a.tile.openstreetmap.org directly, including it by default would increase load on openstreetmap.org servers.
Applications that have the broken NASA OSM tileset cached locally and rely on the content of the default worldwind.layers.xml pointing to the Earth/OpenStreetMap.xml will no longer use that cached tileset. The cached NASA OSM tileset cannot be easily reused by OSMMapnikLayer because of different projections. The workaround for such applications is to retain the unchanged version of config/worldwind.layers.xml

Applicable Issues

#138

The OSM Mapnik tiles from http://a.tile.openstreetmap.org/ are fully opaque PNG tiles which makes it a base layer and unusable as an overlay.
Most WWJ applications would likely prefer to use OSM as an overlay.
The NASA OpenStreetMap map cache at https://worldwind20.arc.nasa.gov/mapcache served OSM overlay tiles that included transparent voids, however that server is currently returning 404 Not Found for /mapcache
Using OSMMapnickLayer with a default 50% opacity is a simple substitution for the broken NASA OSM layer.
Note the NASA OSM layer configured via config/Earth/OpenStreetMap.xml points to https://worldwind20.arc.nasa.gov/mapcache which is currently returning 404 Not Found errors
@wcmatthysen wcmatthysen mentioned this pull request Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant