Points Of Interest

Naurt collects anonymised location data from the SDK which enables us to create automatic Points of Interest, currently in the form of building entrances and parking spots. We achieve this through the collection of data about the destination helping us link useful data, such as the current delivery address, to events that we detect on the phone, such as the user entering a building.

When you instantiate NaurtLite, you have the ability to provide data about your destination as an optional JSONObject. If you don't have any data about the destination quite yet, that's fine. Later down the line if you wish to add data or update the current data, you can use the method newDestination. This again takes an optional JSONObject. If it is null, this will remove any previous data and there will be no data associated with the subsequent location fixes and destination. We recommend following the format seen below for the best results.

Kotlin
import org.json.JSONObject
import com.naurt.sdk.NaurtLite
import com.naurt.sdk.enums.NaurtEngineType


val originalDestination = JSONObject(
    mapOf(
        "street_number" to "Town House",
        "street" to "Wiggly Road",
        "city" to "Metropolis",
        "county" to "Wessex",
        "state" to "Midlandia",
        "country" to "England",
        "postalcode" to "SW1W 0NY",
        )
)



val naurtLite = NaurtLite(
    "<YOUR NAURT API KEY HERE>",
    applicationContext as Context,
    destinationData = originalDestination
)


val updatedDestination = JSONObject(
    mapOf(
        "street_number" to "Bungalow",
        "street" to "Main Road",
        "city" to "Hamlet",
        "county" to "Sussex",
        "state" to "Midlandia",
        "country" to "England",
        "postalcode" to "SW1W 2NY",
        )
)

naurtLite.newDestination(updatedDestination)
Please do not send any personal information or data that directly identifies the user.

Points of interest which have been created are then accessible via Naurt's POI API and can be searched via the data provided or spatially filtered.

Naurt Lite offers an easy to use wrapper for this API which will be described in the next section, though it's still worth familiarising yourself with the POI API documentation first.

Naurt's POI system can be used in many different scenarios and increase the value Naurt brings to your company. If you're still unsure about how the POI system could play a part in your use case, contact our sales team to have a chat.