arcgismapserver2postgis
v1.0.3
Published
该库可将arcgis mapserver上发布的矢量服务,获取矢量数据存储到postgis库
Downloads
2
Maintainers
Readme
ArcGISMapServer2PostGIS
该库可将arcgis mapserver上发布的矢量服务,获取矢量数据存储到postgis库,再通过工具转shpfile
配置文件mapconfig
{
"source":"http://101.227.64.245:6080/arcgis/rest/services/310230/ChongMingQuDiKuai/MapServer",
"layerids":[0],
"startindex":0,
"endindex": 2000000,
"countstep":20.0,
"target":{
"host":"localhost",
"port":5432,
"user":"postgres",
"password":"123qweasdzxc",
"database":"shdata"
}
}
部署服务
npm install -g arcgismapserver2postgis
执行命令
进入服务根目录
node ./bin/ArcGISMapServer2PostGIS.js --config_file c:/config/mapconfig.json