最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

shp2sqlserver 用法簡析

 更新時間:2012年06月28日 11:41:54   作者:  
shp2sqlserver is a command line tool for loading shapefiles into Microsoft SQL Server 2008
shp2sqlserver用法簡析

官方說明:
shp2sqlserver is a command line tool for loading shapefiles into Microsoft SQL Server 2008. It is modeled after PostGIS's shp2pgsql, except that it loads directly into the database instead of writing sql to stdout.

http://code.google.com/p/cumberland/wiki/shp2sqlserver

用法:
復(fù)制代碼 代碼如下:

shp2sqlserver.exe -h
Usage: shp2sqlserver.exe [OPTIONS]+ "connectionString" "path to shapefile"
Loads a shapefile into Microsoft SQL Server 2008

example: shp2sqlserver.exe "Data Source=.\SQLExpress2008;Initial Catalog=spatialtest;Integrated Security=true" myshape.shp

Options:
-s, --srid=VALUE The Spatial Reference ID (SRID). If not specified it defaults to -1.
-g, --geometry_column=VALUE The name of the geometry column
-t, --table_name=VALUE The table name to use
-k, --key_column=VALUE The name of the identity column to create for a primary key
-i, --index Create a spatial index
-l, --latlong Add spatial data as geography type
-a, --append Append data. If not specified, table will be created
-h, --help show this message and exit


示例:

shp2sqlserver -g="SHAPE" -s="4326" -i "Data Source=.;Initial Catalog=largesite;Integrated Security=false;user id=sa;password=123456;" "D:\data\xyz.shp"

作者 彭金華

相關(guān)文章

最新評論

洪湖市| 汾西县| 永嘉县| 十堰市| 桂东县| 翁牛特旗| 江川县| 昌邑市| 民县| 贡嘎县| 禹州市| 通海县| 遵化市| 四川省| 城步| 响水县| 马山县| 天柱县| 墨竹工卡县| 抚宁县| 木里| 筠连县| 云浮市| 望江县| 崇信县| 景宁| 贵港市| 苏尼特左旗| 尚义县| 肇庆市| 蓬莱市| 石楼县| 海晏县| 保靖县| 苗栗市| 红原县| 静宁县| 井陉县| 大悟县| 桐梓县| 迭部县|