嗨,我試圖從PostGIS的形狀文件導入問題
http://www.nyc.gov/html/dcp/html/bytes/bytesarchive.shtml
導入的形狀文件到PostGIS的數據庫。上面的文件在使用shp2pgsql導入時創建了MULTIPOLYGONS。
然後我試圖簡單地確定緯度/長點都包含在我的multipolygons
但是我選擇的不工作,當我打印出我的the_geom列的poitns這似乎是很破。
select st_astext(geom) from (select (st_dumppoints(the_geom)).* from nybb where borocode =1) foo;
給出結果...
st_astext
------------------------------------------
POINT(1007193.83859999 257820.786899999)
POINT(1007209.40620001 257829.435100004)
POINT(1007244.8654 257833.326199993)
POINT(1007283.3496 257839.812399998)
POINT(1007299.3502 257851.488900006)
POINT(1007320.1081 257869.218500003)
POINT(1007356.64669999 257891.055800006)
POINT(1007385.6197 257901.432999998)
POINT(1007421.94509999 257894.084000006)
POINT(1007516.85959999 257890.406100005)
POINT(1007582.59110001 257884.7861)
POINT(1007639.02150001 257877.217199996)
POINT(1007701.29170001 257872.893099993)
...
在紐約分,這是很關..我到底做錯了什麼?
這個問題可能會更適合http://gis.stackexchange.com你可能會考慮讓一個主持人把它移到那裏。 – steenhulthin