Skip to content

Render and show animated zoom-and-pan transitions between geographical locations in two-point equidistant projection.

License

Notifications You must be signed in to change notification settings

UniStuttgart-VISUS/tpeqd-rendered-transitions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source code: DOI
Compiled demo: DOI
Docker image for animation pre-generation: DOI

Generate animated zoom-and-pan transitions between geographical locations in two-point equidistant projection. Transitions are pre-rendered and stored as videos. The web-based client loads the videos on demand. During the transition, off-screen locations of interest are indicated in the direction they lie.

Maps are rendered based on NaturalEarth data for the overview parts (low level of detail). For this, the GeoJSON versions of some NaturalEarth files need to be downloaded and put in the ./data folder with specific file names. Use or reference the download script in the ./utils folder. The repository of martynafford can be used for a pre-converted GeoJSON variant of the data.

For high-level-of-detail maps, OpenStreetMap data is used. This data is loaded on demand for the areas where the details are needed, using the Overpass API. By default, the code expects an Overpass API instance to be reachable on http://localhost:27080. It is a good idea to use a local instance here, as a lot of queries with rather large result datasets need to be submitted in a short timespan. Refer to the connection script on how to make an instance running on a different machine available. Refer to the source code in overpass.ts on how to change the address of the Overpass API instance.

The Overpass API queries often failed to retrieve seas and oceans within specified bounding boxes, because this data consists of very large polygons, sometimes only implicitly defined by coastlines. Hence, a collected ESRI shape file of water polygons is used here. This needs to be downloaded and indexed as well. The aforementioned download script handles that as well. For the download script and the later extraction of relevant data to work, ogr2ogr and ogrinfo (usually part of GDAL) need to be installed on the system.

About

Render and show animated zoom-and-pan transitions between geographical locations in two-point equidistant projection.

Resources

License

Stars

Watchers

Forks

Packages

No packages published