Professional Documents
Culture Documents
Copyright
c 2020 Marek M. Cel. All rights reserved.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer exclusive
Copyright and Related Rights (defined below) upon the creator and subsequent
owner(s) (each and all, an “owner”) of an original work of authorship and/or a
database (each, a “Work”).
Certain owners wish to permanently relinquish those rights to a Work for the
purpose of contributing to a commons of creative, cultural and scientific works
(“Commons”) that the public can reliably and without fear of later claims of
infringement build upon, modify, incorporate in other works, reuse and redistribute
as freely as possible in any form whatsoever and for any purposes, including
without limitation commercial purposes. These owners may contribute to the
Commons to promote the ideal of a free culture and the further production of
creative, cultural and scientific works, or to gain reputation or greater distribution
for their Work in part through the use and efforts of others.
For these and/or other purposes and motivations, and without any expectation
of additional consideration or compensation, the person associating CC0 with a
Work (the “Affirmer”), to the extent that he or she is an owner of Copyright
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
and publicly distribute the Work under its terms, with knowledge of his or her
Copyright and Related Rights in the Work and the meaning and intended legal
effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may
be protected by copyright and related or neighboring rights (“Copyright and
Related Rights”). Copyright and Related Rights include, but are not limited to,
the following:
1
iii. publicity and privacy rights pertaining to a person’s image or likeness
depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work, subject to
the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data in a
Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation thereof,
including any amended or successor version of such directive); and
vii. other similar, equivalent or corresponding rights throughout the world based
on applicable law or treaty, and any national implementations thereof.
3. Public License Fallback. Should any part of the Waiver for any reason be
judged legally invalid or ineffective under applicable law, then the Waiver shall
be preserved to the maximum extent permitted taking into account Affirmer’s
express Statement of Purpose. In addition, to the extent the Waiver is so judged
Affirmer hereby grants to each affected person a royalty-free, non transferable,
non sublicensable, non exclusive, irrevocable and unconditional license to exercise
Affirmer’s Copyright and Related Rights in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or treaty
(including future time extensions), (iii) in any current or future medium and for
any number of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the “License”). The
License shall be deemed effective as of the date CC0 was applied by Affirmer to
2
the Work. Should any part of the License for any reason be judged legally invalid
or ineffective under applicable law, such partial invalidity or ineffectiveness shall
not invalidate the remainder of the License, and in such case Affirmer hereby
affirms that he or she will not (i) exercise any of his or her remaining Copyright
and Related Rights in the Work or (ii) assert any associated claims and causes
of action with respect to the Work, in either case contrary to Affirmer’s express
Statement of Purpose.
3
Contents
1 Resources 6
1.1 Blue Marble Next Generation . . . . . . . . . . . . . . . . . . . . . 6
1.2 Landsat 7 ETM+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3 High Resolution Orthoimagery . . . . . . . . . . . . . . . . . . . . . 10
1.4 Shuttle Radar Topography Mission . . . . . . . . . . . . . . . . . . 11
1.5 MODIS MOD44W . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.6 Vector Map Level 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.7 Hawaii Statewide GIS Program . . . . . . . . . . . . . . . . . . . . 15
1.8 Natural Earth and Shaded Relief . . . . . . . . . . . . . . . . . . . 15
2 Tools 16
2.1 GDAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.2 LibGrid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.3 OpenSceneGraph . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.4 Virtual Planet Builder . . . . . . . . . . . . . . . . . . . . . . . . . 17
3 Workflow 18
3.1 Blue Marble Next Generation . . . . . . . . . . . . . . . . . . . . . 18
3.1.1 Elevation Data . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.1.2 Land Surface, Ocean Color and Sea Ice . . . . . . . . . . . . 18
3.2 Landsat 7 ETM+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2.1 Extracting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2.2 Merging Bands . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2.3 Reprojection . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.2.4 Merging Tiles . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.3 High Resolution Orthoimagery . . . . . . . . . . . . . . . . . . . . . 20
3.3.1 Extracting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.3.2 Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3.3 Merging Tiles . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3.4 Reprojection . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.4 Vector Map Level 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4
3.4.1 Creating Shapefiles . . . . . . . . . . . . . . . . . . . . . . . 22
3.4.2 Rasterizing . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.4.3 Converting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.5 Building Terrain Database . . . . . . . . . . . . . . . . . . . . . . . 23
3.5.1 Generating Basic Terrain . . . . . . . . . . . . . . . . . . . . 23
3.5.2 Patching Textures . . . . . . . . . . . . . . . . . . . . . . . . 23
3.5.3 Patching Elevation . . . . . . . . . . . . . . . . . . . . . . . 23
4 Final Result 24
Bibliography 28
5
Chapter 1
Resources
Figure 1.1: Blue Marble Next Generation with Topography and Bathymetry – May
The original Blue Marble is a photo taken by Apollo 17 astronauts on their way
to the Moon on December 7th, 1972. In 2005 NASA released a series of satellite
imagery of the entire Earth called Blue Marble Next Generation (BMNG). [1]
6
Blue Marble Next Generation data is in the public domain in the United States
because it is a work of the United States Federal Government under the terms
of Title 17, Chapter 1, Section 105 of the Code of Laws of the United States of
America.
Collection Resolution
Monthly images ca. 500 m/pixel
Topography ca. 1 km/pixel
Bathymetry ca. 1 km/pixel
Clouds ca. 1 km/pixel
Land Surface, Ocean Color and Sea Ice ca. 5 km/pixel
Earth Lights ca. 2.5 km/pixel
7
1.2 Landsat 7 ETM+
Landsat is a joint USGS ans NASA program to obtain satellite imagery of Earth.
Data from Landsat 7 satellite Enhanced Thematic Mapper Plus (ETM+) sensor
can be used to obtain Earth true-color imagery. Data covers most of Earth land
area.
Bands 1-4 can be used to generate true-color imagery while band 8 can be used
to enhance resolution.
8
Landsat 7 ETM+ data is organized according to the Worldwide Reference
System-2.
Landsat 7 Enhanced Thematic Mapper Plus data is in the public domain in the
United States because it is a work of the United States Federal Government under
the terms of Title 17, Chapter 1, Section 105 of the Code of Laws of the United
States of America.
9
Figure 1.5: High Resolution Orthoimagery – O’ahu Mosaic
High Resolution Orthoimagery data is in the public domain in the United States
because it is a work of the United States Federal Government under the terms of
Title 17, Chapter 1, Section 105 of the Code of Laws of the United States of
America.
10
Figure 1.6: High Resolution Orthoimagery – Honolulu International Airport
Shuttle Radar Topography Mission was conducted in February 2000 during STS-99
on board of the Space Shuttle Endeavour. Its purpose was to obtain high resolution
digital elevation models of most of the Earth surface.
Shuttle Radar Topography Mission data is in the public domain in the United
States because it is a work of the United States Federal Government under the
terms of Title 17, Chapter 1, Section 105 of the Code of Laws of the United States
of America.
11
Figure 1.7: SRTM Digital Elevation Model – Greyscale – O’ahu
12
1.5 MODIS MOD44W
MODIS MOD44W data is in the public domain in the United States because it
is a work of the United States Federal Government under the terms of Title 17,
Chapter 1, Section 105 of the Code of Laws of the United States of America.
13
Figure 1.10: Vector Map Level 0 – O’ahu
Vector Map Level 0 data is in the public domain in the United States because
it is a work of the United States Federal Government under the terms of Title 17,
Chapter 1, Section 105 of the Code of Laws of the United States of America.
14
1.7 Hawaii Statewide GIS Program
Natural Earth is a public domain map data. Shaded Relief is a repository of public
domain cartographic and map data.
15
Chapter 2
Tools
2.1 GDAL
2.2 LibGrid
2.3 OpenSceneGraph
16
2.4 Virtual Planet Builder
Virtual Planet Builder is an open-source command line tool for creating terrain
databases from geospatial imagery and digital elevation models. [13]
17
Chapter 3
Workflow
gdal translate utility can be used to rescale Blue Marble Next Generation
elevation data from 8-bit normalized onto real elevation value. Output files must
have 16-bit color depth.
1 gdal_translate - ot UInt16 - scale 0 255 0 8848 - of Gtiff \
2 g e b c o _ 0 8 _ r e v _ e l e v _ A 1 _ g r e y _ g e o . tif \
3 g e b c o _ 0 8 _ r e v _ e l e v _ A 1 _ g r e y _ g e o _ s c a l e d . tif
gdal translate utility can be used to create Blue Marble Next Generation Land
Surface, Ocean Color and Sea Ice georeferenced TIIF (GeoTIFF) files.
1 gdal_translate - a_ullr -180.0 90.0 180.0 -90.0 - a_srs \
2 " + proj = latlong + datum = WGS84 " - of Gtiff \
3 land _ o ce a n _i c e _8 1 9 2 . png l a nd _ o ce a n _i c e _8 1 9 2 . tif
18
3.2 Landsat 7 ETM+
GDAL can be used for further processing resulting images to match Virtual
Planet Builder data format requirements.
3.2.1 Extracting
19
3.2.3 Reprojection
3.3.1 Extracting
20
3.3.2 Scaling
3.3.4 Reprojection
21
3.4 Vector Map Level 0
4 function createShapefiles ()
5 {
6 ogr2ogr - t_srs " + proj = merc + datum = WGS84 " \
7 $ {1} _pop_builtupa . shp \
8 gltp :/ vrf$ { PWD }/ $ {1}/ vmaplv0 / $ {2} ’ builtupa@pop (*) _area ’
9 ogr2ogr - t_srs " + proj = merc + datum = WGS84 " \
10 $ {1} _hydro_watrcrsl . shp \
11 gltp :/ vrf$ { PWD }/ $ {1}/ vmaplv0 / $ {2} ’ watrcrsl@hydro (*) _line ’
12 ogr2ogr - t_srs " + proj = merc + datum = WGS84 " \
13 $ {1} _hydro_inwatera . shp \
14 gltp :/ vrf$ { PWD }/ $ {1}/ vmaplv0 / $ {2} ’ inwatera@hydro (*) _area ’
15 ogr2ogr - t_srs " + proj = merc + datum = WGS84 " \
16 $ {1} _trans_roadl . shp \
17 gltp :/ vrf$ { PWD }/ $ {1}/ vmaplv0 / $ {2} ’ roadl@trans (*) _line ’
18 ogr2ogr - t_srs " + proj = merc + datum = WGS84 " \
19 $ {1} _trans_railrdl . shp \
20 gltp :/ vrf$ { PWD }/ $ {1}/ vmaplv0 / $ {2} ’ railrdl@trans (*) _line ’
21 }
22
3.4.2 Rasterizing
22
3.4.3 Converting
23
Chapter 4
Final Result
24
Figure 4.1: Terrain Database
25
Figure 4.3: Terrain Database
26
Bibliography
[2] “NASA Visible Earth,” 2018. [Accessed 2018-11-11]. Available from: https:
//visibleearth.nasa.gov/view_cat.php?categoryID=1484.
[6] “GLCF: MODIS Water Mask,” 2018. [Accessed 2018-11-11]. Available from:
http://glcf.umd.edu/data/watermask/.
27
[11] F. Warmerdam and e. a. Even Rouault, “GDAL - GDAL documentation,”
2018. [Accessed 2018-11-11]. Available from: https://gdal.org/.
28