Project area

From Tygron Preview Support Wiki
Revision as of 10:07, 31 January 2023 by Frank@tygron.nl (talk | contribs)
Jump to navigation Jump to search

The project area is the rectangular data space of your project. It is defined by a width and a height. Its location is defined by a world reference point, which is a coordinate relative to the WGS 84 / Pseudo-Mercator coordinate system.

The width and height are stored in the MAP_SIZE_M Setting item as an array of two Integers, representing the width and height. The world reference point is stored in the WORLD_REFERENCE_POINT Setting item as an array of two Doubles, representing X and Y.

The project details showing the Map size and the Location (World reference Point) of a project.

When a project is generated, or new features are imported or drawn in a session, they are required to intersect with the project area. Only its intersection with this project area is imported. This holds for practically all items, with the exception of Height Sectors and Terrains.

Surrounding Map Bounds

When zooming out to view the project area, you 'll notice that there is a region surrounding the project area that is covered with satellite images, Height sector information and terrain data. These provide some extra sense of orientation and lead to a more pleasantly looking boundary of your project.

The surrounding map extend is stored as a setting, SURROUNDING_MAP_EXTEND_M, which defines the extra boundary distances around the project area. Its total dimensions are calculated as: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_s = d_x \cdot 2 + x_m \\ y_s = d_y \cdot 2 + y_m}

where: are the dimensions of the surrounding map extends are the configured distances around the project area, stored in the setting SURROUNDING_MAP_EXTEND_M. are the project area dimensions, stored in the setting MAP_SIZE_M.

The project area and its surrounding map.