Make sure the db/functions directory is on the MySQL server's library
path and restart the MySQL server.
Make sure the db/functions directory is on the MySQL server's library
path and restart the MySQL server.
Now create the function as follows:
$ psql openstreetmap
(This may need authentication or a -u <dbowneruid>)
> CREATE FUNCTION maptile_for_point(int8, int8, int4) RETURNS int4
Now create the function as follows:
$ psql openstreetmap
(This may need authentication or a -u <dbowneruid>)
> CREATE FUNCTION maptile_for_point(int8, int8, int4) RETURNS int4