1.0.3 • Published 4 years ago

arcgismapserver2postgis v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

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

执行效果

执行过程

执行结果

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago