the problem about the geometry

Поиск
Список
Период
Сортировка
От Hyung Joo Lee
Тема the problem about the geometry
Дата
Msg-id 3E94D039A2B82544B3E7D48F924B0B255D0F7EB256@base.imrc.kist.re.kr
обсуждение исходный текст
Список pgsql-admin

Dear all.

 

I input the command below:

 

UPDATE iphone_en SET location = GeometryFromText(cast(POINT('||cast(latitude as varchar(10))||', '||cast(longitude as varchar(10))||') as geometry),-1);

ERROR : invalid input syntax for type double precision: "||cast(latitude as varchar(10))||"

 

DB has some fields(name, id, ----, latitude, longitude, ----, location).

 

I made the field of location using by addgeometrycolumn.

 

I want to input the value(latitude, longitude) to location.

 

How can I input the right command?

 

 

 

 

Best regards and thanks in advance

Kevin.

В списке pgsql-admin по дате отправления:

Предыдущее
От: dx k9
Дата:
Сообщение: Postgresql & PAM & AD
Следующее
От: "Thorne, Francis"
Дата:
Сообщение: Re: AIX - Out of Memory