Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8215007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:38:49+00:00 2026-06-07T11:38:49+00:00

Does anyone ever use MySQL spatial buffer function successfully? I’ve read the documentation here:

  • 0

Does anyone ever use MySQL spatial buffer function successfully?
I’ve read the documentation here: http://dev.mysql.com/doc/refman/5.0/en/functions-that-create-new-geometries-from-existing-ones.html#function_buffer

As stated in the documentation, buffer function has 2 parameters. The first one is geometry typed, the second one is distance.

I’ve try to make a geometry variable

mysql> set @g1 = geomfromtext('POINT(1 1)');
Query OK, 0 rows affected (0.00 sec)

Then, to ensure that my variable is correctly set, I perform a query. If the variable not correctly set, such a query will return NULL. In this case, it is confirmed that my variable is correctly set

mysql> select astext(@g1);
+-------------+
| astext(@g1) |
+-------------+
| POINT(1 1)  |
+-------------+
1 row in set (0.00 sec)

I run a query to select a buffer as stated in documentation

mysql> select astext(buffer(@g1, 5));
ERROR 1305 (42000): FUNCTION module_devel.buffer does not exist

Do I miss something here?

EDIT Sorry guys, I think I miss this:

12.17.5.3.2. Spatial Operators

OpenGIS proposes a number of other functions that can produce
geometries. They are designed to implement spatial operators.
These functions are not implemented in MySQL.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:38:52+00:00Added an answer on June 7, 2026 at 11:38 am

    This is related to this bug report maybe. Which MySQL server are you using? Maybe you should upgrade to 5.6.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone ever use this slider: http://www.dreamcss.com/2009/04/create-beautiful-jquery-sliders.html . I need someone's advice on how
Does anyone ever use stopwatch benchmarking, or should a performance tool always be used?
Has anyone ever tested, or does anyone know, the performance differences of these two
Does anyone know if there will ever be a true 64-bit version of Cygwin?
Does anyone have a translate function for x/y positions after rotation in javascript? for
Does anyone out there know how to integrate ContentFlow ( http://www.jacksasylum.eu/ContentFlow ) and Lightbox2
Does anyone know of any websites, or (preferably) downloadable packages that you can use
Has anyone ever tried to use custom binding with SSL in a WCF web
Why would anyone ever use dispatch_sync if the block has to wait until the
Is this possible? Does anyone ever do this? I feel like I can lay

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.