D 2020-09-12T10:51:13.281
L Sample\sPlanet\sEarth
P b6d1a6c58a2fcf86fe9747194f2a9472389b9f3a
U sandro
W 9442
Step #1 - General Introduction |
In this first contact with Planet Earth we'll simply test the basic rendering capabilities of the Map.
You are simply expected to test the pan and zoom tools while switching on and off the various map layers.
|
Step #1.1 - Testing the ETOPO1 background
The side figure shows how the Map will be when applying the following layers selection:
- ETOPO1 background
- Countries (National Boundaries - red lines) with labels corresponding to each Nation.
- Note: labels will be printed only if they fit inside the MBR of the corresponding Polygon
|
|
Step #1.2 - Testing the True Marble background
The side figure shows how the Map will be when applying the following layers selection:
- True Marble background
- Countries (same as above).
|
|
Step #1.3 - Testing the Political Map
The side figure shows how the Map will be when applying the following layers selection:
- Countries (view) background
- Note: Each Country is internally filled with a different color, in such a way that confining Nations will never share the same color.
- Countries (same as above).
|
|
Step #1.4 - Testing Topology
The side figure shows how the Map will be when applying the following layers selection:
- topo_states (Topology) alone. All Topology Primitives are represented as follows:
- Nodes: red circles.
- Edges: blue lines.
- Faces: pale yellow polygons.
- Face Seeds: yellow stars.
- Edge Seeds: yellow diamonds.
.
|
|
Step #2 - Creating, populating and styling the Raster Coverages |
Step #2.1 - Preparing to load the Coverages in MapPanel
|
|
Step #2.1 - Preparing to load the Coverages in MapPanel
|
|
Step #2.1 - Preparing to load the Coverages in MapPanel
|
|
Step #2.1 - Preparing to load the Coverages in MapPanel
|
|
Step #3 - Creating, populating and styling a Vector Coverage based on a Spatial Table |
Step #3.1 - Preparing to load the Coverages in MapPanel
|
|
Step #3.2 - Preparing to load the Coverages in MapPanel
|
|
Step #4 - Creating, populating and styling a Vector Coverage based on a Spatial View |
Step #4.1 - Preparing to load the Coverages in MapPanel
|
CREATE VIEW countries_vw AS
SELECT pk_uid AS rowid, name AS name,
CASE mapcolor7
WHEN 1 THEN '#FF0000'
WHEN 2 THEN '#00FF00'
WHEN 3 THEN '#0000FF'
WHEN 4 THEN '#FFFF00'
WHEN 5 THEN '#FF00FF'
WHEN 6 THEN '#00FFFF'
ELSE '#808080'
END color, geometry AS geom
FROM countries;
INSERT INTO views_geometry_columns VALUES
('countries_vw', 'geom', 'rowid', 'countries', 'geometry', 1);
|
Step #4.2 - Preparing to load the Coverages in MapPanel
|
|
Step #4.3 - Preparing to load the Coverages in MapPanel
|
countries_col
<Title>Countries - Political Map</Title>
A Style setting its Fill color from a Column Value
@color@
1.00
#000000
1.00
1.00
round
round
|
Step #5 - Creating, populating and styling a Vector Coverage based on a Topology |
Step #5.1 - Preparing to load the Coverages in MapPanel
|
|
Step #5.2 - Preparing to load the Coverages in MapPanel
|
|
Step #5.3 - Preparing to load the Coverages in MapPanel
|
SELECT TopoGeo_FromGeoTableNoFaceExt('topo_states', NULL, 'countries', NULL, 'dustbin', 'dustbin_view', 512);
SELECT TopoGeo_Polygonize('topo_states');
SELECT TopoGeo_UpdateSeeds('topo_states');
|
Step #5.4 - Preparing to load the Coverages in MapPanel
|
|
Step #5.5 - Preparing to load the Coverages in MapPanel
|
|
Step #5.6 - Preparing to load the Coverages in MapPanel
|
|
Z 2334fccc74c3057b6ffc379a3be945ac