123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309 |
-
- export const esriConfig = {
- baseUrl: 'http://192.168.2.238:8080/arcgis_js_api/v416/arcgis_js_api/library/4.16/dojo/dojo.js',
- baseCssUrl: 'http://192.168.2.238:8080/arcgis_js_api/v416/arcgis_js_api/library/4.16/esri/css/main.css',
- font_url: 'http://192.168.2.238:8080/arcgis_js_api/v416/arcgis_js_api/library/fonts/'
- }
- export const iserverConfig = {
- baseUrl: 'http://192.168.2.20:8090/iserver/',
- geoServerUrl: 'http://192.168.2.248:8082/'
- }
- export const geoServerConfigIn = {
- geoServerUrl: 'http://192.168.2.248:8082/'
- }
- export const geoServerConfigOut = {
-
- geoServerUrl: 'http://117.177.153.11:12002/',
-
- geoServerUrl1: 'http://221.182.8.141:12002/'
- }
- export const geoServerConfig = geoServerConfigOut
- export const appconfig = {
-
- isloadServer: false,
-
- isonline: true,
-
-
- tianMapKey: '908404235938aecd5826e630a95c88b0',
-
- templateFolder: 'D:/xrty/template',
-
- initCenter: [105.736636, 32.402062],
-
-
- projection: 'EPSG:4326',
- initLayers: 'pipemap&&smlayergroup',
-
- initZoom: 13,
- currPRJ: 'proj44',
-
- usertoken: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJVc2VySUQiOiIiLCJVU0VSTkFNRSI6IiIsIlJFQUxOQU1FIjoiIiwiV0tJRCI6NDU0NCwiUkFOR0UiOiJYUlRZIiwiUkFOR0VGSUVMRCI6bnVsbCwiQ09ERSI6IlhSVFkiLCJDT05ORUNUU1RSIjoiREFUQUJBU0U9b3JjbDtORVROQU1FPTE5Mi4xNjguMi4yNDIvb3JjbDtTRVJWRVI9MTkyLjE2OC4yLjI0MjtVU0VSSUQ9dGZfeHJ0eV9nZW87UEFTU1dPUkQ9dGZfeHJ0eV9nZW87UE9SVD0xNTIxQDUxNTEvdGNwO1ZFUlNJT049c2RlLkRFRkFVTFQiLCJCb3JuVGltZSI6MCwiQXBwSUQiOm51bGx9.bMNoX6nsvNYukk47_UnT9IHGlNIWclbmiXTj3ak1i5KuF5LGexfwV7TwF80nP08GEPaNwScgk7lbJkRHcqtT8w',
-
- gisResource: {
-
- iserver_resource: {
- printerService: {
- name: '打印服务',
- url: iserverConfig.baseUrl + 'services/webprinting/rest/webprinting/v1'
- },
- netAnalysisService: {
- name: '网络分析服务',
- url: iserverConfig.baseUrl + 'services/transportationAnalyst-tf_pzhps/rest/networkanalyst/NETWORK_PSPS@tofly'
- },
- dataService: {
- name: '数据服务',
- url: iserverConfig.baseUrl + 'services/data-tf_pzhps/rest/data',
- dataSource: 'tofly',
- dataSet: ['psmap'],
- dataSetInfo: [
- ]
- },
- layerService: {
- name: '图层服务',
- layers: [
- {
- name: '矢量底图',
- isLabel: false,
- type: 'tdtlayer',
- url: 'http://t0.tianditu.gov.cn/vec_c/wmts?tk=',
- visible: true
- },
- {
- name: '影像底图',
- isLabel: false,
- type: 'tdtlayer',
- url: 'http://t0.tianditu.gov.cn/img_c/wmts?tk=',
- visible: false
- },
- {
- name: '矢量注记',
- type: 'tdtlayer',
- isLabel: true,
- url: 'http://t0.tianditu.gov.cn/cva_c/wmts?tk=',
- visible: true
- },
- {
- name: '影像注记',
- type: 'tdtlayer',
- isLabel: true,
- url: 'http://t0.tianditu.gov.cn/cia_c/wmts?tk=',
- visible: false
- },
-
- {
- name: 'pipemaptest',
- title: '管网切片',
- type: 'ugcvlayer',
- url: iserverConfig.baseUrl + 'services/map-tf_pzhps/rest/maps/pipemap',
- visible: false,
- legendUrl: iserverConfig.baseUrl + 'services/map-tf_pzhps/rest/maps/pipemap/layers/',
- sublayers: []
- },
- {
- name: 'pipemap',
- title: '综合管网',
- type: 'smlayergroup',
- url: iserverConfig.baseUrl + 'services/map-tf_pzhps/rest/maps/pipemap',
- visible: true,
- legendUrl: iserverConfig.baseUrl + 'services/map-tf_pzhps/rest/maps/pipemap/layers/',
- sublayers: []
- }
- ]
- }
- },
- geoserver_resource: {
- basicLayerService: {
- name: '图层服务',
- layers: [
- {
- name: '矢量底图',
- typeName: '球面墨卡托投影',
- isLabel: false,
- type: 'tdtlayer',
- url: 'http://t0.tianditu.com/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=',
- layer: "vec",
- matrixSet: "w",
- format: "tiles",
- style: "default",
- opacity: 1,
- visible: true
- },
- {
- name: '矢量注记',
- typeName: '球面墨卡托投影',
- isLabel: false,
- type: 'tdtlayer',
- url: 'http://t0.tianditu.com/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=',
- layer: "cva",
- matrixSet: "w",
- format: "tiles",
- style: "default",
- opacity: 1,
- visible: true
- },
- {
- name: '影像底图',
- typeName: '球面墨卡托投影',
- isLabel: false,
- type: 'tdtlayer',
- url: 'http://t0.tianditu.com/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=',
- layer: "img",
- matrixSet: "w",
- format: "tiles",
- style: "default",
- opacity: 1,
- visible: false
- },
- {
- name: '影像注记',
- typeName: '球面墨卡托投影',
- isLabel: false,
- type: 'tdtlayer',
- url: 'http://t0.tianditu.com/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=',
- layer: "cia",
- matrixSet: "w",
- format: "tiles",
- style: "default",
- opacity: 1,
- visible: false
- },
- ]
- },
- geoServerSource: {
- url: geoServerConfig.geoServerUrl + 'geoserver',
- IP: "",
- wkid: "EPSG:4326",
- namespace: "fxpl",
- maxzoom: 21,
- minzoom: 2,
- terrain: {
- name: "行政区划分布",
- type: "tilewms",
- issplit: true,
- key: "dixing",
- opacity: 0.8,
- visible: true,
- description: "行政区划分布",
- param: {
- url: geoServerConfig.geoServerUrl + 'geoserver/wms',
- params: {
- FORMAT: 'image/png',
- VERSION: '1.1.1',
- tiled: true,
- LAYERS: 'myws:myws_dxt',
- exceptions: 'application/vnd.ogc.se_inimage',
- tilesOrigin: 449673.15625 + "," + 3461074
- }
- }
- },
- basepipe: {
- name: "管网分布",
- type: "tilewms",
- key: "guanwang",
- issplit: true,
- opacity: 1,
- visible: true,
- description: "管网分布",
- param: {
- url: geoServerConfig.geoServerUrl + 'geoserver/wms',
- params: {
- FORMAT: 'image/png',
- VERSION: '1.1.0',
- tiled: true,
- LAYERS: 'fxpl:pipemap',
- exceptions: 'application/vnd.ogc.se_inimage',
- tilesOrigin: 307649.085574611 + "," + 2488394.233887289
- },
- crossOrigin: 'anonymous',
- }
- }
- },
- queryServer: {
- uri: geoServerConfig.geoServerUrl + 'geoserver',
- url: geoServerConfig.geoServerUrl + "geoserver/fxpl/wfs",
- namespace: 'fxpl',
- featurePrefix: 'fxpl',
- wkid: 4326,
- srsName: 'EPSG:4490',
- service: 'WFS',
- version: '1.1.0',
- request: 'GetFeature',
- outputformat: 'JSON',
- typeName_uniqueval: 'fxpl:uniqueval',
- typeName_layerfields: 'fxpl:layerfields',
- typeName_statistic: 'fxpl:themastatistics',
- }
- },
- },
-
- bigScreenMapService: {
- initCenter: [105.76437139908836, 32.4173752267069],
- initZoom: 14,
- projection: 'EPSG:4326',
- layerService: {
- citymap: {
- name: "底图服务",
- type: "tilewms",
- key: "bigScreenBaseMap",
- issplit: false,
- opacity: 1,
- visible: true,
- description: "底图服务",
- param: {
- url: geoServerConfig.geoServerUrl + 'geoserver/wms',
- params: {
- FORMAT: 'image/png',
- VERSION: '1.1.0',
- tiled: true,
- LAYERS: 'fxpl:basemap',
- exceptions: 'application/vnd.ogc.se_inimage',
- tilesOrigin: 307649.085574611 + "," + 2488394.233887289
- },
- crossOrigin: 'anonymous',
- }
- },
- pipemap: {
- name: "管网服务",
- type: "tilewms",
- key: "bigScreenPipeMap",
- issplit: true,
- opacity: 1,
- visible: true,
- description: "管网服务",
- param: {
- url: geoServerConfig.geoServerUrl + 'geoserver/wms',
- params: {
- FORMAT: 'image/png',
- VERSION: '1.1.0',
- tiled: true,
- LAYERS: 'fxpl:pipemap',
- exceptions: 'application/vnd.ogc.se_inimage',
- tilesOrigin: 307649.085574611 + "," + 2488394.233887289
- },
- crossOrigin: 'anonymous',
- }
- }
- }
- }
- }
- export const notificationInterval = 30000
- export const homeInterval = 60000
|