gpt4 book ai didi

shp2sqlserver 用法简析

转载 作者:qq735679552 更新时间:2022-09-29 22:32:09 26 4
gpt4 key购买 nike

CFSDN坚持开源创造价值,我们致力于搭建一个资源共享平台,让每一个IT人在这里找到属于你的精彩世界.

这篇CFSDN的博客文章shp2sqlserver 用法简析由作者收集整理,如果你对这篇文章有兴趣,记得点赞哟.

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 用法:

复制代码 代码如下

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:dataxyz.shp" 作者 彭金华 。

最后此篇关于shp2sqlserver 用法简析的文章就讲到这里了,如果你想了解更多关于shp2sqlserver 用法简析的内容请搜索CFSDN的文章或继续浏览相关文章,希望大家以后支持我的博客! 。

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com