Skip to main content

PCMSLocRadLookup

Syntax

int PCMSLocRadLookup(Trip trip, const char *city, int radius, bool cities, bool postalCodes, bool customPlaces, bool poi, int poiCatIndex)`

Parameters

  • Trip trip – Handle to a trip.
  • const char *city – The name of the city around which a Location Radius search is being conducted.
  • int radius – The geographical distance of the radius.
  • bool cities – Set to True to include Cities in your search; False to exclude them.
  • bool postalCodes – Set to True to include Postal Codes in your search; False to exclude them.
  • bool customPlaces – Set to True to include Custom Places in your search; False to exclude them.
  • bool poi – Set to True to include Places of Interest (POI) in your search; False to exclude them.
  • int poiCatIndex – Index of the POI category.

Description

Performs a search within the specified radius, matching the Location Radius feature in the PC*Miler user interface.

Return Values

Returns the number of items found.

Supported Since: PC*Miler Connect 18 Category: Geocoding

Last updated July 19, 2025.