Class: CocinaDisplay::Geospatial::DecimalBoundingBoxParser

Inherits:
BoundingBoxParser show all
Includes:
DecimalParser
Defined in:
lib/cocina_display/geospatial.rb

Overview

Format that pairs hemispheres with decimal degrees.

Examples:

W 126.04–W 052.03/N 050.37–N 006.8

Direct Known Subclasses

MarcDecimalBoundingBoxParser

Constant Summary collapse

PATTERN =
/(?<min_lng>[0-9.EW]+?)-+(?<max_lng>[0-9.EW]+)\/(?<min_lat>[0-9.NS]+?)-+(?<max_lat>[0-9.NS]+)/

Method Summary

Methods included from DecimalParser

included

Methods inherited from BoundingBoxParser

parse

Methods inherited from CoordinatesParser

supports?