When used with a geocode property, the Nf parameter specifies a range filter based on the distance of that geocode property from a given reference point.

The Nf syntax for a geocode range filter is:

Nf=filter-key|function+lat,lon+value[+value]

filter-key is the name of a geocode property and function is the name of a geocode function.

lat and lon are a comma-separated latitude and longitude pair: latv is the latitude of the location in whole and fractional degrees (positive values indicate north latitude and negative values indicate south latitude). lon is the longitude of the location in whole and fractional degrees (positive values indicate east longitude and negative values indicate west longitude). The records are filtered by the distance from the filter key to the latitude/longitude pair.

The available geocode functions are:

Distance limits in range filters are always expressed in kilometers.

For example, assume that the following parameter is added to the URL:

Nf=Location|GCLT+42.365615,-71.075647+10

The query will return only those records whose location (in the Location property) is less than 10 kilometers from Oracle Commerce’s main office.


Copyright © Legal Notices