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.
coordinate.h File Reference
#include <math.h>
#include "grassroots_geocoder_library.h"
#include "typedefs.h"
#include "jansson.h"
Include dependency graph for coordinate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Coordinate
 A datatype for storing a geographic coordinate. More...
 

Macros

#define COORD_UNSET   (-1000.0)
 

Functions

bool SetCoordinateFromCompoundJSON (Coordinate *coord_p, const json_t *value_p, const char *const coord_key_s)
 

Variables

const char * CO_LATITUDE_S = "latitude"
 The key for the latitude of for a location object for a given record. More...
 
const char * CO_LONGITUDE_S = "longitude"
 The key for the longitude of for a location object for a given record. More...
 
const char * CO_ELEVATION_S = "elevation"
 The key for the elevation of for a location object for a given record. More...
 

Macro Definition Documentation

◆ COORD_UNSET

#define COORD_UNSET   (-1000.0)

Function Documentation

◆ SetCoordinateFromCompoundJSON()

bool SetCoordinateFromCompoundJSON ( Coordinate coord_p,
const json_t *  value_p,
const char *const  coord_key_s 
)