1 pièce(s) jointe(s)
Requête MySQL dans phpmyadmin [spatial]
bonjour,
je souhaite utiliser le type spatiale pour stoker une collection de point. pour le moment je n'arrive même pas a stoker un point.
voici ma commande
Code:
INSERT INTO `map`(`id`, `name`, `points`) VALUES ([0],["test 1"],[GeomFromText( 'POINT(51.514 -0.1167)' )])
la réponse
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[0],["test 1"],[GeomFromText( 'POINT(51.514 -0.1167)' )])' at line 1
ma table
Pièce jointe 207494
pouvez-vous m'aider