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

shp2sqlserver 用法簡(jiǎn)析

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

官方說(shuō)明:
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)文章

最新評(píng)論

丁青县| 乐清市| 宜君县| 金平| 昭通市| 石林| 西乌珠穆沁旗| 韶山市| 丰都县| 从化市| 合江县| 江阴市| 化德县| 汉川市| 仁怀市| 抚松县| 攀枝花市| 宁明县| 偏关县| 岐山县| 鸡泽县| 鲁山县| 筠连县| 靖州| 新郑市| 健康| 陈巴尔虎旗| 德化县| 资溪县| 宜宾县| 儋州市| 隆安县| 东安县| 屯昌县| 天等县| 蕲春县| 县级市| 武定县| 皮山县| 盐山县| 罗城|