Geospatial2 Shape file 을 PostGIS 데이터베이스에 넣는 방법 Requirement: - PostgreSQL - PostGIS - 데이터베이스를 생성할 때는 postgis 데이터베이스를 template로 생성하여야 한다. 방법: - PostgreSQL 의 bin 디렉토리에 포함된 shp2pgsql.exe 를 이용하여 shapefile 을 sql 스크립트로 변환한 후 스크립트 실행 - shape 파일 과 함께 제공되는 dbf, prj, shx 정보가 같은 디렉토리에 있어야 한다. - 사용법은 shp2pgsql.exe shapfilename schema.tablename > scriptfilename.sql ex) shp2pgsql.exe TM_WORLD_BORDERS_SIMPL-0.3.shp public.world_borders_simple > TM_WORLD_BOR.. 2011. 7. 1. Event List - Conference (Updating) WikiCFP (A Wiki for Call for Papers) : http://www.wikicfp.com COM.Geo 2011: 2nd International Conference and Exhibition on Computing for Geospatial Research and Application http://www.com-geo.org Full and Short Papers: January 24, 2011, 11:59PM EST Courses Proposal: March 8, 2011 Panels/Panels+ Proposal: March 8, 2011 Tech Talks/Posters Abstract: March 8, 2011 23-25 May 2011, Washington DC, USA .. 2010. 6. 30. 이전 1 다음