遷移的Postgres 8.4至9.1和移動我的項目到新的服務器我得到這個錯誤功能makepoint的PostgreSQL 9.1錯誤的PostGIS
ERROR: function makepoint(unknown, unknown) does not exist LINE 4: distance_sphere(makepoint('14.2995419','41.0310868'),mak...^HINT: No function matches the given name and argument types. You might need to add explicit type casts.
谷歌搜索我看到,可能與PostGIS的一個問題... 後來我按照本指南 http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204src我安裝在服務器上的一切......
沒有什麼工作......,我在成爲瘋狂的危險...... 有誰知道如何解決它!?
也許[ST_distance_sphere](http://www.postgis.org /docs/ST_Distance_Sphere.html)? – DrColossos
@DrColossos是對的,也是['ST_MakePoint'](http://postgis.refractions.net/docs/ST_MakePoint.html)。我認爲所有或至少大部分PostGIS空間函數都獲得了一個'ST_'前綴。 – elrobis