/**********************************************************************
- * $Id:$
+ * $Id$
*
* PostGIS - Spatial Types for PostgreSQL
* http://postgis.refractions.net
#include "liblwgeom.h"
+#include <math.h> /* fabs */
static char * assvg_point(LWPOINT *point, int relative, int precision);
static char * assvg_line(LWLINE *line, int relative, int precision);
#include "libgeom.h" /* For standard geometry types. */
#include "lwgeom_pg.h" /* For debugging macros. */
#include "geography.h" /* For utility functions. */
+#include "lwgeom_export.h" /* For export functions. */
Datum geography_in(PG_FUNCTION_ARGS);
Datum geography_out(PG_FUNCTION_ARGS);
#include "lwgeom_pg.h"
#include "liblwgeom.h"
+#include "lwgeom_export.h"
Datum LWGEOM_asGML(PG_FUNCTION_ARGS);
Datum LWGEOM_asKML(PG_FUNCTION_ARGS);
--- /dev/null
+/**********************************************************************
+ * $Id:$
+ *
+ * PostGIS - Export functions for PostgreSQL/PostGIS
+ * Copyright 2009 Olivier Courtin <olivier.courtin@oslandia.com>
+ *
+ * This is free software; you can redistribute and/or modify it under
+ * the terms of the GNU General Public Licence. See the COPYING file.
+ *
+ **********************************************************************/
+
+char * getSRSbySRID(int SRID, bool short_crs);