Place Type
==========

:doc:`Place </usage/ancestry/place>` types are what indicate what kind of a place it is, such as a country, a city, or a
house number. They inherit from :py:class:`betty.ancestry.place_type.PlaceType`.

Built-in place types
--------------------

``borough`` (:py:class:`betty.ancestry.place_type.place_types.Borough`)
    A `borough <https://en.wikipedia.org/wiki/Borough>`_.
``building`` (:py:class:`betty.ancestry.place_type.place_types.Building`)
    A building.
``city`` (:py:class:`betty.ancestry.place_type.place_types.City`)
    A `city <https://en.wikipedia.org/wiki/City>`_.
``country`` (:py:class:`betty.ancestry.place_type.place_types.Country`)
    A `country <https://en.wikipedia.org/wiki/Country>`_.
``county`` (:py:class:`betty.ancestry.place_type.place_types.County`)
    A `county <https://en.wikipedia.org/wiki/County>`_.
``department`` (:py:class:`betty.ancestry.place_type.place_types.Department`)
    A `department <https://en.wikipedia.org/wiki/Department_(administrative_division)>`_.
``district`` (:py:class:`betty.ancestry.place_type.place_types.District`)
    A `district <https://en.wikipedia.org/wiki/District>`_.
``farm`` (:py:class:`betty.ancestry.place_type.place_types.Farm`)
    A `farm <https://en.wikipedia.org/wiki/Farm>`_.
``hamlet`` (:py:class:`betty.ancestry.place_type.place_types.Hamlet`)
    A `hamlet <https://en.wikipedia.org/wiki/Hamlet_(place)>`_.
``locality`` (:py:class:`betty.ancestry.place_type.place_types.Locality`)
    A `locality <https://en.wikipedia.org/wiki/Human_settlement>`_.
``municipality`` (:py:class:`betty.ancestry.place_type.place_types.Municipality`)
    A `municipality <https://en.wikipedia.org/wiki/Municipality>`_.
``neighborhood`` (:py:class:`betty.ancestry.place_type.place_types.Neighborhood`)
    A `neighborhood <https://en.wikipedia.org/wiki/Neighbourhood>`_.
``number`` (:py:class:`betty.ancestry.place_type.place_types.Number`)
    A `(house) number <https://en.wikipedia.org/wiki/House_numbering>`_.
``parish`` (:py:class:`betty.ancestry.place_type.place_types.Parish`)
    A `parish <https://en.wikipedia.org/wiki/Parish_(administrative_division)>`_.
``province`` (:py:class:`betty.ancestry.place_type.place_types.Province`)
    A `province <https://en.wikipedia.org/wiki/Province>`_.
``region`` (:py:class:`betty.ancestry.place_type.place_types.Region`)
    A `region <https://en.wikipedia.org/wiki/Region>`_.
``state`` (:py:class:`betty.ancestry.place_type.place_types.State`)
    A `state <https://en.wikipedia.org/wiki/Federated_state>`_.
``street`` (:py:class:`betty.ancestry.place_type.place_types.Street`)
    A street.
``town`` (:py:class:`betty.ancestry.place_type.place_types.Town`)
    A `town <https://en.wikipedia.org/wiki/Town>`_.
``unknown`` (:py:class:`betty.ancestry.place_type.place_types.Unknown`)
    A place of an unknown type.
``village`` (:py:class:`betty.ancestry.place_type.place_types.Village`)
    A `village <https://en.wikipedia.org/wiki/Village>`_.

See also
--------
- :doc:`/development/plugin/place-type`
