I'm not sure I understand you, but here is how I handle Coordinates in MySQL and Phalcon.
Field type in db: point
Writing
$this->coords = new \Phalcon\Db\RawValue('POINT('. $this->getDI()->getRequest()->getPost('coords') .')');
// Post coords look like: 25.7616, -80.1917
Reading
$this->view->coordinates = $this->modelsManager->createBuilder()
->columns([
'X(coords) AS latitude',
'Y(coords) AS longitude'
])
->from('Models\Ports')
->where('id = :id:', ['id' => $id])
->getQuery()->getSingleResult();
And here it how it looks like in the CMS:
User can drag and drop or search with google maps api and im populating the input with a callback.