pj_clear_initcache is only available in proj >= 4.8
This commit is contained in:
parent
f861df2130
commit
b730d437f7
1 changed files with 2 additions and 0 deletions
|
@ -25,7 +25,9 @@ int main (int argc, char* const argv[])
|
|||
|
||||
#ifdef MAPNIK_USE_PROJ4
|
||||
// http://trac.osgeo.org/proj/ticket/149
|
||||
#if PJ_VERSION >= 480
|
||||
pj_clear_initcache();
|
||||
#endif
|
||||
// https://trac.osgeo.org/proj/wiki/ProjAPI#EnvironmentFunctions
|
||||
pj_deallocate_grids();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue