OBJECT
PopulatedPlace
A place with some population of inhabitants
link GraphQL Schema definition
1 type PopulatedPlace { 2 3 # The place native id 4 ID! : 85 5 # The place WikiData id 6 ID : 85 7 # The place name 8 String! : 85 9 # The place type 10 PopulatedPlaceType! : 85 11 # The place elevation (meters) above sea level 12 Int : 85 13 # The place latittude (-90.0 to 90.0) 14 Float : 85 15 # The place longitude (-180.0 to 180.0) 16 Float : 85 17 # The place population 18 Int! : 85 19 # The place timezone id 20 String! : 85 21 # The place's country 22 Country! : 85 23 # The place's region 24 CountryRegion : 85 25 # The distance result from some location-based query 26 # This field has two forms: 27 # - As a property (e.g., place.distance), returns the distance as part of a query 28 # returning places sorted by distance. 29 # - As a function (e.g., place.distance(toPlaceId), returns the distance to the 30 # specified place. 31 # 32 # Arguments 33 # toPlaceId: The distance to this place 34 # distanceUnit: The unit of distance to use 35 ID, : DistanceUnit): Float ( : 85 36 # The place containing this place, if any 37 PopulatedPlace : 85 38 # Find nearby populated places 39 # 40 # Arguments 41 # radius: The location radius within which to find places 42 # distanceUnit: The unit of distance to use 43 # countryIds: Only places in these countries 44 # excludedCountryIds: Only places NOT in these countries 45 # namePrefix: Only places whose names start with this prefix. If 46 # language is set, the prefix will be matched on the name as it appears in that 47 # language. 48 # namePrefixDefaultLangResults: When name-prefix matching, 49 # whether or not to match on names in the default language if a non-default 50 # language is requested. 51 # minPopulation: Only places having at least this population 52 # maxPopulation: Only places having no more than this population 53 # timeZoneIds: Only places in these time-zones 54 # types: Only places for these types 55 # sort: How to sort place results 56 # Format: ±SORT_FIELD,±SORT_FIELD 57 # where SORT_FIELD = countryCode | elevation | name | population 58 # first: How many results to retrieve from the beginning (or 59 # after the 'after' cursor, if specified) 60 # after: The cursor id after which to get results 61 # last: How many results to retrieve from the end (or before the 62 # 'before' cursor, if specified) 63 # before: The cursor id before which to get results 64 # includeDeleted: Whether to include any places marked deleted 65 ( 66 Float, : 67 DistanceUnit, : 68 ID], : [ 69 ID], : [ 70 String, : 71 Boolean, : 72 Int, : 73 Int, : 74 ID], : [ 75 String], : [ 76 String, : 77 Int, : 78 String, : 79 Int, : 80 String, : 81 IncludeDeletedFilterType : 82 ): NearbyPopulatedPlacesConnection 85 83 # If this place has been marked deleted 84 Boolean! : 86 87 }