Answer the question
In order to leave comments, you need to log in
How to write a geometry field using AR?
We have YII and Postgis
How to write the geometry to the database?
tried like this -
$adverts = new Adverts();
$adverts->geom = "ST_GeomFromText('POINT(57.230032 49.719473)',4326)";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question