X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ee656dd1f3ee556e9c6793a70781d4346abfe01e..5ff5bf60e56b2762ad08fa947af8e458e5974b6c:/db/functions/maptile.c diff --git a/db/functions/maptile.c b/db/functions/maptile.c index 2c15d2b41..c2baac5d4 100644 --- a/db/functions/maptile.c +++ b/db/functions/maptile.c @@ -76,6 +76,16 @@ maptile_for_point(PG_FUNCTION_ARGS) PG_FUNCTION_INFO_V1(maptile_for_point); +/* + * To bind this into PGSQL, try something like: + * + * CREATE FUNCTION maptile_for_point(int8, int8, int4) RETURNS int4 + * AS '/path/to/rails-port/db/functions/libpgosm', 'maptile_for_point' + * LANGUAGE C STRICT; + * + * (without all the *s) + */ + #ifdef PG_MODULE_MAGIC PG_MODULE_MAGIC; #endif