2015-02-06 100 views
1

嗨,大家好我im進入postgis從幾個星期。ST_GeomFromText不完整的輸出

我有這個sql查詢的問題(試圖使鍛鍊一些多邊形):

SELECT ST_GeomFromText('POLYGON((13.399242 45.753833, 13.386882 45.780177, 13.392204 45.803039, 13.411258 45.815842, 13.426365 45.813569, 13.442844 45.788078, 13.399242 45.753833))',4326); 

輸出我得到的是:

"0103000020E6100000010000000700000017618A7269CC2A40A2D288997DE0464078D2C26515C62A40B30B06D7DCE3464084B872F6CEC82A40CE3461FBC9E64640CE6F986890D22A40045ABA826DE846406E5166834CDA2A400C056C0723E84640AB75E272BCE22A403A596ABDDFE4464017618A7269CC2A40A2D288997DE046 (...)" 

所以我的回答是:爲什麼在輸出中缺少某些東西?

,如果我在SQL查詢中使用較少的點(少)寫之前我沒有問題(如下圖所示)提前

SELECT ST_GeomFromText('POLYGON((13.399242 45.753833, 13.386882 45.780177, 13.392204 45.803039, 13.411258 45.815842, 13.426365 45.813569, 13.399242 45.753833))',4326); 


"0103000020E6100000010000000600000017618A7269CC2A40A2D288997DE0464078D2C26515C62A40B30B06D7DCE3464084B872F6CEC82A40CE3461FBC9E64640CE6F986890D22A40045ABA826DE846406E5166834CDA2A400C056C0723E8464017618A7269CC2A40A2D288997DE04640" 

感謝。

+0

感謝的人,它的工作:d 現在我該如何設置這個問題的回答? (並給你一些聲譽?) – 2015-02-06 16:53:26

回答