NAME
Geo::SpatialDB::Tile
VERSION
version 0.000_001
DESCRIPTION
ATTRIBUTES
id
Unique ID for the tile. Useful for caching.
lat0
South edge
lon0
West edge
lat1
North edge
lon1
East edge
areas
Array of partial areas, each a hashref of the form:
{
id => $area_id,
type => $taxonomy_spec,
local_path => [
[ lat,lon, lat,lon, lat,lon, ... ],
...
],
tag_cache => { k => v, ... }
}
- id
-
Entity ID, used to look up the official Entity of the area.
- type
-
Copied from the Entity
- tag_cache
-
Subset of the tags on the Entity object. When tile-building is configured, and can control which tags get cached per-tile.
- local_path
-
Subset/approximation of the border path of the area which lies within the tile.
All paths are in counter-clockwise winding order, so that the area of the entity is to the "left" of the line.
There may be multiple paths, because the path of the entity might snake back and forth across the boundary of the tile. If there are not any paths, it means the tile is contained within the entity.
The path may be an abbreviated form of the actual path, for wide-area tiles.
routes
Array of routes within or passing through the tile. Each route is a hashref of the form:
{
id => $route_id,
type => $taxonomy_spec,
lanes => $n, # negative means one-way
local_path => [
[ lat,lon, lat,lon, ... ],
...
],
tag_cache => { k => v, ... },
}
- id
-
Entity ID, used to look up the official Entity of the route.
- type
-
Copied from the entity
- lanes
-
The absolute value of this number is the number of lanes. If negative, it means the road is one-way.
- local_path
-
Subset/approximation of the route's path which lies within the tile.
If the route has a direction, the points of the path will be in the forward direction along the route.
- tag_cache
-
Subset of the tags on the Entity object. When tile-building is configured, and can control which tags get cached per-tile.
AUTHOR
Michael Conrad <mike@nrdvana.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 134:
=back without =over