마이그레이션 포스트 그레스 9.1-8.4 나는이 오류 나는 그 PostGIS와 문제가 될 수보고 인터넷 검색을기능 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.
을 얻을 새 서버로 내 프로젝트를 이동 ... 다음 내가 가진
아무것도 작동하지 않습니다 ... 내가 미친되기의 위험에 처해 있어요 ...이 가이드 http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204src을 따라 내가 서버에있는 모든 설치 ... 는 사람이 그것을 해결하는 방법을 알고 있나요!?
어쩌면 [ST_distance_sphere] (http://www.postgis.org :
정말 간단한 해결책 중 하나를 당신의
template_postgis
(경우에 사용) 또는 같은 것을 사용하여 대상 데이터베이스에legacy.sql
기능을 추가하는 것입니다 /docs/ST_Distance_Sphere.html)? – DrColossos@DrColossos가 맞습니다. ['ST_MakePoint'] (http://postgis.refractions.net/docs/ST_MakePoint.html). PostGIS 공간 함수의 전부 또는 적어도 대부분은'ST_'라는 접두어를 얻었습니다. – elrobis