CoolCMS API

GeocodingMiss
in package

FinalYes

No coordinates were produced when saving an advert: the caller keeps the old values and writes a row to `log/geocoding-miss.log`.

Table of Contents

Constants

REASON_EXTERNAL_ERROR  : string = 'external_error'
Precise address: Google is unavailable (network, quota, key) and there is no municipality for a fallback center.
REASON_EXTERNAL_NOT_FOUND  : string = 'external_not_found'
Precise address: Google (or the cache) does not know the address and there is no municipality for a fallback center.
REASON_MUNICIPALITY_NOT_FOUND  : string = 'municipality_not_found'
Imprecise address (or precise without a street): municipality not found in `cms_system_regions`.

Properties

$reason  : string

Methods

__construct()  : mixed

Constants

REASON_EXTERNAL_ERROR

Precise address: Google is unavailable (network, quota, key) and there is no municipality for a fallback center.

public string REASON_EXTERNAL_ERROR = 'external_error'

REASON_EXTERNAL_NOT_FOUND

Precise address: Google (or the cache) does not know the address and there is no municipality for a fallback center.

public string REASON_EXTERNAL_NOT_FOUND = 'external_not_found'

REASON_MUNICIPALITY_NOT_FOUND

Imprecise address (or precise without a street): municipality not found in `cms_system_regions`.

public string REASON_MUNICIPALITY_NOT_FOUND = 'municipality_not_found'

Properties

Methods

__construct()

public __construct(string $reason) : mixed
Parameters
$reason : string
On this page

Search results