Next / Previous / Contents / Shipman's homepage

5.11.  The loc-group pattern: locality attributes and content

The loc-group pattern is a combination of two attributes and a child element. These three items specify the location of the sighting.

birdnotes.rnc
loc-group =
(   attribute loc { xsd:Name }?,   1
    attribute gps { text }?,       2
    loc-detail?                    3
)
loc-detail = element loc-detail { narrative }
1

If the sightings all occurred within an area defined by a location code, this attribute is a reference to the definition of that code in a loc element within the day's day-summary element. If a sighting has no explicit loc attribute, its value defaults to the code given in the default-loc attribute of the day's day-summary element.

For example, a sighting of a Merlin at Bosque del Apache (location code BdA):

    <form ab6='merlin' count='1' loc='BdA'/>

2

You can attach a GPS waypoint's coordinates to this sighting with this attribute. Example:

    <form ab6='heptan' gps='340058n 1070839w'/>

For the general form of this attribute, see Section 3.2.2, “GPS coordinates”.

3

You can add arbitrary text describing the details of the sighting's locality by enclosing it in a loc-detail element. Example of a conspicuous Greater Roadrunner on a golf course:

    <form ab6='greroa' count='1' loc='GC'>
      <loc-detail>
        Perched on the 4th tee marker monument stone.
      </loc-detail>
    </form>

For the definition of narrative, see Section 5.15, “The narrative elements”.