Updating Geometry

Поиск
Список
Период
Сортировка
От Asli Akarsakarya
Тема Updating Geometry
Дата
Msg-id 1320941938.88348.YahooMailNeo@web45106.mail.sp1.yahoo.com
обсуждение исходный текст
Ответы Re: Updating Geometry  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello,

I am having trouble when attempting to update an existing geometry on a spatial table. The table stores 2D Point geometry, with the SRID 101. The update statement i am trying to use to update the geometry with the id 110 is as follows:

UPDATE <Table Name> SET <Geometry Column Name> = GeometryFromText('POINT(44 31)', 101) WHERE <id Column>=110

But I get an error that says the statement violates the "enforce_srid_position" restriction. Though the SRID's are the same. 

What is the right way to update an existing geometry?

Thank you. 

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

Предыдущее
От: Gregg Jaskiewicz
Дата:
Сообщение: Re: troubleshooting PGError
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: How to inquiry a nest result?