Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
address.h File Reference
#include "grassroots_geocoder_library.h"
#include "coordinate.h"
#include "jansson.h"
Include dependency graph for address.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Address
 A datatype for storing a postal address as well as its geographic coordinates if possible. More...
 

Functions

AddressParseSchemaOrgAddress (const json_t *values_p, const char *address_key_s)
 

Variables

const char * AD_ADDRESS_S = "Address"
 
const char * AD_NAME_S = "name"
 The key for specifying an object containing the name of an address. More...
 
const char * AD_POSTCODE_S = "postalCode"
 The key for specifying an object containing the postal code where the sample was collected. More...
 
const char * AD_STREET_S = "streetAddress"
 The key for specifying an object containing the street address where the sample was collected. More...
 
const char * AD_TOWN_S = "addressLocality"
 The key for specifying an object containing the town where the sample was collected. More...
 
const char * AD_COUNTY_S = "addressRegion"
 The key for specifying an object containing the county where the sample was collected. More...
 
const char * AD_COUNTRY_S = "addressCountry"
 The key for specifying an object containing the country where the sample was collected. More...
 
const char * AD_LOCATION_S = "location"
 The key for the location object for a given record. More...
 
const char * AD_CENTRE_LOCATION_S = "centre"
 The key for the central location object for a given record. More...
 
const char * AD_NORTH_EAST_LOCATION_S = "north_east_bound"
 The key for the north-eastern bounds for the location object for a given record. More...
 
const char * AD_SOUTH_WEST_LOCATION_S = "south_west_bound"
 The key for the south-western bounds for the location object for a given record. More...
 

Function Documentation

◆ ParseSchemaOrgAddress()

Address* ParseSchemaOrgAddress ( const json_t *  values_p,
const char *  address_key_s 
)

Variable Documentation

◆ AD_ADDRESS_S

const char* AD_ADDRESS_S = "Address"