Capturing Address Metadata
DPID GPS Meshblock Metadata RegionDemonstrates capturing several of our metadata attributes, and saving them into hidden fields on a form. In this example, we capture GPS coordinates, the meshblock ID, the NZ Post DPID field and also the name of the region. The example of the AddressFinder widget showcases some of the extra data that can be collected along side each Address. The addresses GPS location, meshblock ID and DPID are all collected in this example.
See the Pen Capturing Address Metadata by Addressfinder (@addressfinder) on CodePen.
Related code examples
-
Address region filter - The example shows the widget enabled with a region filter. Only addresses from the filtered region are returned in the search results.#Region #Restrict
-
Capture the Primary Parcel ID - The example showcases the collection of the Primary Parcel ID. This identifier can be used to join address data with property datasets which use the primary parcel ID as a unique identifier.#Metadata #Parcel ID #Survey
-
Common Plugin Address Metadata Collection - In this example, we will populate the input fields using metadata obtained through the Common Plugin's events callback. The events callback provides an excellent mechanism to connect with the plugin and execute specific actions when an event occurs.#Common Plugin #Metadata
-
Common Plugin code with State field mapping - This example demonstrates how to map variable state field options so that the state/region information returned from the Addressfinder service is used to populate the State select box each time an address is captured.#International #Region #State
-
Display rural information - The response will show whether the address is rural or not. If it is a rural address, the rural field will populate as "true". If it is not a rural address, the rural field will populate as "false".#Metadata #Rural