Documentation
¶
Overview ¶
Package tnm retains elevation product catalogues from the USGS National Map. Catalogue bytes are fetched and kept before their products are selected.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIndex ¶
CheckIndex validates a retained catalogue without discarding archive replies.
func HawaiiIndex ¶
func HawaiiIndex() (*celestialdata.Product, error)
HawaiiIndex requests 1/3 arc-second elevation products intersecting an authored bounding rectangle around Hawaii island. These are search bounds, not surveyed coastline coordinates; archive metadata establishes coverage.
func Products ¶
func Products(index string) ([]*celestialdata.Product, error)
Products selects the latest dated release of each tile in a retained index. The accompanying metadata is retained too, so datum and units can be read before the terrain is staged. No network query occurs during selection.
func ServedProduct ¶
func ServedProduct(product *celestialdata.Product, size int64) (*celestialdata.Product, error)
ServedProduct pins a transfer to the server's observed representation size. The original catalogue remains retained; a changed catalogue size must be recorded rather than silently accepted. The subsequent GET must match too.
Types ¶
This section is empty.