@ferrybig/cgeodata-reader
    Preparing search index...

    Interface PlaceFilter

    Narrows places() and search(). Filters combine: { level: "city", country } is that country's cities.

    interface PlaceFilter {
        level?: PlaceLevel;
        country?: number;
        region?: number;
    }

    Hierarchy (View Summary)

    Index
    level?: PlaceLevel

    Only places of this level.

    country?: number

    Only places inside this country (by id); the country itself included.

    region?: number

    Only places inside this region (by id); the region itself included.