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.
nominatim.h
Go to the documentation of this file.
1 /*
2 ** Copyright 2014-2018 The Earlham Institute
3 **
4 ** Licensed under the Apache License, Version 2.0 (the "License");
5 ** you may not use this file except in compliance with the License.
6 ** You may obtain a copy of the License at
7 **
8 ** http://www.apache.org/licenses/LICENSE-2.0
9 **
10 ** Unless required by applicable law or agreed to in writing, software
11 ** distributed under the License is distributed on an "AS IS" BASIS,
12 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ** See the License for the specific language governing permissions and
14 ** limitations under the License.
15 */
16 /*
17  * nominatim.h
18  *
19  * Created on: 15 Aug 2019
20  * Author: billy
21  */
22 
23 #ifndef LIBS_GEOCODER_INCLUDE_NOMINATIM_H_
24 #define LIBS_GEOCODER_INCLUDE_NOMINATIM_H_
25 
26 
28 
29 #include "jansson.h"
30 #include "address.h"
31 
32 
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif
37 
38 GRASSROOTS_GEOCODER_LOCAL bool RunNominatimGeocoder (Address *address_p, const char *geocoder_url_s);
39 
40 GRASSROOTS_GEOCODER_LOCAL bool RunNominatimReverseGeocoder (Address *address_p, const char *reverse_geocoder_url_s);
41 
42 
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 
49 #endif /* LIBS_GEOCODER_INCLUDE_NOMINATIM_H_ */
GRASSROOTS_GEOCODER_LOCAL
#define GRASSROOTS_GEOCODER_LOCAL
Definition: grassroots_geocoder_library.h:47
address.h
Address
A datatype for storing a postal address as well as its geographic coordinates if possible.
Definition: address.h:21
grassroots_geocoder_library.h