แสดงบทความที่มีป้ายกำกับ PostGIS แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ PostGIS แสดงบทความทั้งหมด

วันเสาร์ที่ 17 สิงหาคม พ.ศ. 2556

PostGis-Convert Lat,Lng (4326) to Geom UTM wgs84 zone 47 (32647)

UPDATE place SET the_geom = ST_Transform(ST_SetSRID(ST_MakePoint(cast(lng as double precision), cast(lat as double precision)), 4326),32647);

วันศุกร์ที่ 16 สิงหาคม พ.ศ. 2556

Postgis Tranfer 4326 to 32647 and Polygon to MultiPolygon

INSERT INTO city_plan ( block_no, description, the_geom)
SELECT  "name", description, ST_Transform(ST_Multi(wkb_geometry),32647) FROM lu_9;

วันพฤหัสบดีที่ 15 สิงหาคม พ.ศ. 2556

KML TO PostGIS

C:\"Program Files"\FWTools2.4.7\bin\ogr2ogr -f "PostgreSQL" PG:"host=localhost user=postgres dbname=yota_db password=123456" lu_9.kml