const features = [
{
"attributes":{
"OBJECTID":115457,
"id":"Y010201010059",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50011",
"out_id":"A201YSG50591",
"in_elev":10.055,
"out_elev":10.213000000000001,
"in_depth":1.73,
"out_depth":1.8300000000000001,
"flow":0,
"cz":"砼",
"gj":"600",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"外业已核实",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":19.94769
},
"geometry":{
"paths":[
[
[
118.82562140189111,
32.02864212170243
],
[
118.82541162148118,
32.028662821277976
]
]
]
}
},
{
"attributes":{
"OBJECTID":115473,
"id":"Y010201010071",
"category":1,
"tablename":"ps_pipe",
"in_id":"334012.621-345033.147",
"out_id":"A201YSG50497",
"in_elev":8.3209999999999997,
"out_elev":8.2200000000000006,
"in_depth":3.1000000000000001,
"out_depth":2.5,
"flow":0,
"cz":"砼",
"gj":"800",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":41.18058
},
"geometry":{
"paths":[
[
[
118.82538199238479,
32.0282733310014
],
[
118.82536245137453,
32.027902310714126
]
]
]
}
},
{
"attributes":{
"OBJECTID":115474,
"id":"Y010201010072",
"category":1,
"tablename":"ps_pipe",
"in_id":"334022.573-344991.068",
"out_id":"334010.286-344989.458",
"in_elev":8.641,
"out_elev":8.7200000000000006,
"in_depth":1.9299999999999999,
"out_depth":2,
"flow":0,
"cz":"砼",
"gj":"500",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"外业核实为碰撞遗留问题",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":12.39203
},
"geometry":{
"paths":[
[
[
118.82549252174795,
32.02791683189571
],
[
118.82536245137453,
32.027902310714126
]
]
]
}
},
{
"attributes":{
"OBJECTID":115477,
"id":"Y010201010075",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50476",
"out_id":"A201YSG50478",
"in_elev":10.141,
"out_elev":9.5570000000000004,
"in_depth":2.98,
"out_depth":2.98,
"flow":0,
"cz":"砼",
"gj":"600",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":39.32964
},
"geometry":{
"paths":[
[
[
118.82545619085431,
32.0293542817235
],
[
118.82543236203492,
32.02900016121566
]
]
]
}
},
{
"attributes":{
"OBJECTID":115514,
"id":"Y010201010102",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50264",
"out_id":"334012.621-345033.147",
"in_elev":9.7480000000000011,
"out_elev":9.8710000000000004,
"in_depth":1.3300000000000001,
"out_depth":1.55,
"flow":0,
"cz":"砼",
"gj":"400",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":21.74462
},
"geometry":{
"paths":[
[
[
118.8251530919224,
32.028294110670686
],
[
118.82538199238479,
32.0282733310014
]
]
]
}
},
{
"attributes":{
"OBJECTID":115515,
"id":"Y010201010103",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50478",
"out_id":"334014.498-345071.698",
"in_elev":9.5570000000000004,
"out_elev":8.9429999999999996,
"in_depth":2.98,
"out_depth":3.1000000000000001,
"flow":0,
"cz":"砼",
"gj":"800",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":37.45547
},
"geometry":{
"paths":[
[
[
118.82543236203492,
32.02900016121566
],
[
118.82541162148118,
32.028662821277976
]
]
]
}
},
{
"attributes":{
"OBJECTID":115516,
"id":"Y010201010104",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50010",
"out_id":"A201YSG50478",
"in_elev":10.115,
"out_elev":10.507,
"in_depth":2.0499999999999998,
"out_depth":2.0300000000000002,
"flow":0,
"cz":"砼",
"gj":"600",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"外业已核实",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":17.7295
},
"geometry":{
"paths":[
[
[
118.8256021309644,
32.02893196232617
],
[
118.82543236203492,
32.02900016121566
]
]
]
}
},
{
"attributes":{
"OBJECTID":115517,
"id":"Y010201010105",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50262",
"out_id":"A201YSG50478",
"in_elev":10.540000000000001,
"out_elev":10.567,
"in_depth":1.8300000000000001,
"out_depth":1.97,
"flow":0,
"cz":"砼",
"gj":"600",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"外业已核实",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":22.46293
},
"geometry":{
"paths":[
[
[
118.82519515231252,
32.029014302417636
],
[
118.82543236203492,
32.02900016121566
]
]
]
}
},
{
"attributes":{
"OBJECTID":115526,
"id":"Y010201010113",
"category":1,
"tablename":"ps_pipe",
"in_id":"334014.498-345071.698",
"out_id":"334012.621-345033.147",
"in_elev":8.9429999999999996,
"out_elev":8.3209999999999997,
"in_depth":3.1000000000000001,
"out_depth":3.1000000000000001,
"flow":0,
"cz":"砼",
"gj":"800",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":43.27787
},
"geometry":{
"paths":[
[
[
118.82541162148118,
32.028662821277976
],
[
118.82538199238479,
32.0282733310014
]
]
]
}
},
{
"attributes":{
"OBJECTID":115559,
"id":"Y010201010139",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50092",
"out_id":"A201YSG50496",
"in_elev":9.6790000000000003,
"out_elev":9.5709999999999997,
"in_depth":1.1599999999999999,
"out_depth":1.8500000000000001,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":10.94401
},
"geometry":{
"paths":[
[
[
118.82526614144444,
32.02827321179211
],
[
118.82538199238479,
32.0282733310014
]
]
]
}
},
{
"attributes":{
"OBJECTID":115560,
"id":"Y010201010140",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50032",
"out_id":"A201YSG50496",
"in_elev":9.6980000000000004,
"out_elev":9.5709999999999997,
"in_depth":1.22,
"out_depth":1.8500000000000001,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":11.65472
},
"geometry":{
"paths":[
[
[
118.82550519146025,
32.02827896177769
],
[
118.82538199238479,
32.0282733310014
]
]
]
}
},
{
"attributes":{
"OBJECTID":115562,
"id":"Y010201010142",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50090",
"out_id":"A201YSG50591",
"in_elev":10.32,
"out_elev":10.193,
"in_depth":1.1000000000000001,
"out_depth":1.8500000000000001,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":11.58702
},
"geometry":{
"paths":[
[
[
118.8252910617739,
32.02864357084036
],
[
118.82541162148118,
32.028662821277976
]
]
]
}
},
{
"attributes":{
"OBJECTID":115563,
"id":"Y010201010143",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50033",
"out_id":"A201YSG50591",
"in_elev":9.798,
"out_elev":9.843,
"in_depth":1.75,
"out_depth":2.2000000000000002,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":11.35369
},
"geometry":{
"paths":[
[
[
118.82553156092763,
32.028669441118836
],
[
118.82541162148118,
32.028662821277976
]
]
]
}
},
{
"attributes":{
"OBJECTID":115591,
"id":"Y010201010170",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50087",
"out_id":"A201YSG50478",
"in_elev":10.985000000000001,
"out_elev":10.687000000000001,
"in_depth":0.98999999999999999,
"out_depth":1.8500000000000001,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":11.18168
},
"geometry":{
"paths":[
[
[
118.82531412132084,
32.02899554185569
],
[
118.82543236203492,
32.02900016121566
]
]
]
}
},
{
"attributes":{
"OBJECTID":115592,
"id":"Y010201010171",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50011",
"out_id":"A201YSG50034",
"in_elev":10.584,
"out_elev":10.442,
"in_depth":1.55,
"out_depth":1.5600000000000001,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":2.398578
},
"geometry":{
"paths":[
[
[
118.82557574100792,
32.02895697206259
],
[
118.82555036060512,
32.02895776182413
]
]
]
}
},
{
"attributes":{
"OBJECTID":115593,
"id":"Y010201010172",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50034",
"out_id":"A201YSG50478",
"in_elev":10.442,
"out_elev":10.687000000000001,
"in_depth":1.5600000000000001,
"out_depth":1.8500000000000001,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":12.09666
},
"geometry":{
"paths":[
[
[
118.82555036060512,
32.02895776182413
],
[
118.82543236203492,
32.02900016121566
]
]
]
}
},
{
"attributes":{
"OBJECTID":115594,
"id":"Y010201010173",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50012",
"out_id":"A201YSG50033",
"in_elev":10.94,
"out_elev":10.828000000000001,
"in_depth":0.70000000000000007,
"out_depth":0.71999999999999997,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"2018/8/13",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":2.422125
},
"geometry":{
"paths":[
[
[
118.82555718161166,
32.02866833098233
],
[
118.82553156092763,
32.028669441118836
]
]
]
}
},
{
"attributes":{
"OBJECTID":115595,
"id":"Y010201010174",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50013",
"out_id":"A201YSG50032",
"in_elev":9.8030000000000008,
"out_elev":9.6980000000000004,
"in_depth":1.1500000000000001,
"out_depth":1.22,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"外业已核实",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":2.511904
},
"geometry":{
"paths":[
[
[
118.8255315516144,
32.028275990858674
],
[
118.82550519146025,
32.02827896177769
]
]
]
}
},
{
"attributes":{
"OBJECTID":115597,
"id":"Y010201010176",
"category":1,
"tablename":"ps_pipe",
"in_id":"A201YSG50030",
"out_id":"A201YSG50497",
"in_elev":9.8130000000000006,
"out_elev":8.870000000000001,
"in_depth":0.73999999999999999,
"out_depth":1.8500000000000001,
"flow":0,
"cz":"塑料",
"gj":"300",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":"外业已核实",
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":13.50161
},
"geometry":{
"paths":[
[
[
118.82549599185586,
32.02785892225802
],
[
118.82536245137453,
32.027902310714126
]
]
]
}
},
{
"attributes":{
"OBJECTID":234224,
"id":"Y010201010198",
"category":1,
"tablename":"ps_pipe",
"in_id":"334034.213-344991.346",
"out_id":"334022.573-344991.068",
"in_elev":9.2300000000000004,
"out_elev":8.641,
"in_depth":1.8,
"out_depth":1.9299999999999999,
"flow":0,
"cz":"砼",
"gj":"500",
"jsnd":"未知",
"mslx":4,
"qsdw":"南京市排水管理处",
"syzt":null,
"sjly":"探测",
"szdl":"苜蓿园大街",
"xx":0,
"ysdm":"401101",
"remark":null,
"glgs":0,
"xzq":"秦淮区",
"ssqs":"南京市秦淮区水务设施养护所",
"gdyc":null,
"collect_unit":"南京市测绘勘察研究院股份有限公司",
"collect_date":1533081600000,
"GX_LEN":11.64303
},
"geometry":{
"paths":[
[
[
118.82561573199928,
32.027919352054596
],
[
118.82549252174795,
32.02791683189571
]
]
]
}
}
]
features.forEach((e)=>{
// console.log(e.geometry.paths[0][1][1]);
if(e.geometry.paths[0][0][1]>e.geometry.paths[0][1][1]){
console.log("第一个大于第二个==>",e.geometry.paths[0])
}else{
console.log("第二个大于第一个==>",e.geometry.paths[0])
}
// e.geometry.paths[0][1]
})
console