/* reprojection.h
 *
 * Convert OSM lattitude / longitude from degrees to mercator
 * so that Mapnik does not have to project the data again
 *
 */

#ifndef REPROJECTION_H
#define REPROJECTION_H

struct Projection_Info {
  char *descr;
  char *proj4text;
  int srs;
  char *option;
};

enum Projection { PROJ_LATLONG = 0, PROJ_MERC, PROJ_SPHERE_MERC,   PROJ_COUNT };
void project_init(int);
void project_exit(void);
struct Projection_Info const* project_getprojinfo(void);
void project(double *ll);
void unproject(double *ll);

extern const struct Projection_Info Projection_Info[];

#endif
