Skip to content

Instantly share code, notes, and snippets.

@reyemtm
Last active June 12, 2019 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reyemtm/315fac1958ba3b9fdbbe2353a53f0995 to your computer and use it in GitHub Desktop.
Save reyemtm/315fac1958ba3b9fdbbe2353a53f0995 to your computer and use it in GitHub Desktop.
Turf Trace
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Trace Network</title>
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.css' rel='stylesheet' />
<script src="https://cdnjs.cloudflare.com/ajax/libs/Turf.js/5.1.5/turf.min.js"></script>
<style>
#map {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
var lines, points;
var networkFeatures = {
type: "FeatureCollection",
features: []
}
var clear = {
type: "FeatureCollection",
features: []
}
var map = new mapboxgl.Map({
container: 'map',
hash: true,
style: {
"version": 8,
"name": "blank",
"sources": {
"none": {
"type": "vector",
"url": ""
}
},
"layers": [{
"id": "background",
"type": "background",
"paint": {
"background-color": "#1d1f20"
}
}]
},
center: [-82.005697,39.915321],
zoom: 17,
debug: 1
});
// map.addControl(new mapboxgl.NavigationControl());
// map.addControl(new mapboxgl.FullscreenControl());
map.on('load', function () {
buildMap();
});
function buildMap() {
fetch('lines.geojson')
.then(res => { return res.json()} )
.then(data => {
data.features.map(function(f, i) {
f.properties.mapid = i
})
lines = data;
addLayer(map, 'lines', 'line', lines, 'gray', 4);
addLayer(map, "networkFeatures", "line", networkFeatures, "violet", 5);
console.log('line data loaded and ready')
});
fetch('points.geojson')
.then(res => { return res.json() })
.then(data => {
data.features.map(function(f, i) {
f.properties.mapid = i
})
points = data;
addLayer(map, 'points', 'circle', points, 'white', 6);
console.log('point data loaded and ready')
})
}
map.on('click', function() {
map.getSource("networkFeatures").setData(clear)
})
map.on('click', 'points', function (data) {
networkBuildOnMap(map, data, "upstream")
});
function addLayer(m, name, type, data, color, size) {
var paint = (type === 'line') ? {
'line-color': color,
'line-width': size
} : {
'circle-color': color,
'circle-radius': size
};
m.addLayer({
id: name,
type: type,
source: {
type: "geojson",
data: data
},
paint: paint
});
m.on('mouseenter', name, function () {
map.getCanvas().style.cursor = 'pointer';
});
m.on('mouseleave', name, function () {
map.getCanvas().style.cursor = '';
});
}
function networkBuildOnMap(m, point, direction) {
networkFeatures.feautres = [];
var tempFeatures = networkLines(points.features[point.features[0].properties.mapid], lines, direction)
networkFeatures.features = tempFeatures.features;
m.getSource("networkFeatures").setData(networkFeatures);
networkBuild(networkFeatures, lines, direction)
}
function networkLines(point, features, string) {
var direction = string;
var intersected = false;
var point = point;
var pointBuffer = turf.buffer(point, 2, {units: 'feet'});
var tempNetworkFeatures = {
type: "FeatureCollection",
features: []
};
var exploded = {};
features.features.map(function(f) {
if (turf.booleanPointOnLine(point, f)) {
exploded = turf.explode(f);
var d = (direction === "upstream") ? 0 : exploded.features.length - 1;
if (!(turf.booleanPointInPolygon(exploded.features[d], pointBuffer))) {
tempNetworkFeatures.features.push(f)
intersected = true
}
}
})
return tempNetworkFeatures
}
function networkBuild(inLines, masterLines, string) {
var direction = string;
// GET ALL UPSTREAM POINTS
var networkPoints = [];
inLines.features.map(function(f) {
var inLinesDirection = (direction === "upstream") ? 0 : f.geometry.coordinates.length - 1;
networkPoints.push(f.geometry.coordinates[inLinesDirection])
})
var nextNetworkFeatures = {
type: "FeatureCollection",
features: []
};
// GET UPSTREAM LINES FROM THESE POINTS
for (p = 0; p < networkPoints.length; p++) {
var tempPoint = turf.point(networkPoints[p]);
var tempFeatures = networkLines(tempPoint, masterLines, direction)
tempFeatures.features.map(f => {
nextNetworkFeatures.features.push(f);
networkFeatures.features.push(f)
})
}
map.getSource("networkFeatures").setData(networkFeatures)
if (nextNetworkFeatures.features.length > 0) {
networkBuild(nextNetworkFeatures, masterLines, direction)
}
}
// function getIntersectingLines(point, features) {
// var filter = ["in", "mapid"]
// var point = point;
// var intersectingFeatures = {
// type: "FeatureCollection",
// features: []
// };
// features.features.map(function(f) {
// if (turf.booleanPointOnLine(point, f)) {
// intersectingFeatures.features.push(f)
// filter.push(f.properties.mapid)
// }
// });
// return intersectingFeatures
// }
</script>
</body>
</html>
Display the source blob
Display the rendered blob
Raw
{"type":"FeatureCollection", "features": [
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0058115,39.9162845],[-82.0058019,39.9168335]]},"properties":{"OBJECTID_1":501,"OBJECTID":501,"OBJECTID_2":293,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"N","Dwg":"0194, 1035","Tapbook":"1/352","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg352.pdf","IDUP":" ","IDDN":" ","pipe_id":"293","Shape_Le_1":199.986363384,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":199.986374075},"id":0},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0094393,39.9156115],[-82.0093263,39.9156182]]},"properties":{"OBJECTID_1":930,"OBJECTID":930,"OBJECTID_2":642,"Type":" ","Material":"DR18","Diameter":24,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"SE","Dwg":"San Swr Reloc M Iron","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"642","Shape_Le_1":191.149171597,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":31.7912661021},"id":1},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0099472,39.9158075],[-82.0094393,39.9156115]]},"properties":{"OBJECTID_1":931,"OBJECTID":931,"OBJECTID_2":642,"Type":" ","Material":"DR18","Diameter":24,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"SE","Dwg":"San Swr Reloc M Iron","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"642","Shape_Le_1":191.149171597,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":159.358057163},"id":2},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0093263,39.9156182],[-82.0087945,39.9152434]]},"properties":{"OBJECTID_1":932,"OBJECTID":932,"OBJECTID_2":643,"Type":" ","Material":" ","Diameter":24,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"SE","Dwg":"Wastewater Imps Pt A","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"643","Shape_Le_1":202.236320186,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":202.236163176},"id":3},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.007723,39.9152027],[-82.0070312,39.9152112]]},"properties":{"OBJECTID_1":933,"OBJECTID":933,"OBJECTID_2":644,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"E","Dwg":"0882, 1600a","Tapbook":"1/134","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg134.pdf","IDUP":" ","IDDN":" ","pipe_id":"644","Shape_Le_1":389.29953752,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":194.081512664},"id":4},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.008419,39.9152074],[-82.007723,39.9152027]]},"properties":{"OBJECTID_1":934,"OBJECTID":934,"OBJECTID_2":644,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"E","Dwg":"0882, 1600a","Tapbook":"1/134","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg134.pdf","IDUP":" ","IDDN":" ","pipe_id":"644","Shape_Le_1":389.29953752,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":195.217901559},"id":5},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0106385,39.9156225],[-82.0098872,39.9157201]]},"properties":{"OBJECTID_1":940,"OBJECTID":940,"OBJECTID_2":646,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":"Abandoned","SHAPE_Leng":0,"Direction":"E","Dwg":"0882","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"646","Shape_Le_1":746.577696104,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":213.740077881},"id":6},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0070312,39.9152112],[-82.0070265,39.9146296]]},"properties":{"OBJECTID_1":1278,"OBJECTID":1278,"OBJECTID_2":829,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"S","Dwg":"1033, 1600a, 2659","Tapbook":"1/133","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg133.pdf","IDUP":" ","IDDN":" ","pipe_id":"829","Shape_Le_1":211.870912341,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":211.871072116},"id":7},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0070265,39.9146296],[-82.0064427,39.914645]]},"properties":{"OBJECTID_1":1279,"OBJECTID":1279,"OBJECTID_2":830,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"E","Dwg":"1600a","Tapbook":"1/132","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg132.pdf","IDUP":" ","IDDN":" ","pipe_id":"830","Shape_Le_1":163.870194594,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":163.870286332},"id":8},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0064427,39.914645],[-82.0063984,39.9139459]]},"properties":{"OBJECTID_1":1280,"OBJECTID":1280,"OBJECTID_2":831,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"S","Dwg":"1600a","Tapbook":"1/131","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg131.pdf","IDUP":" ","IDDN":" ","pipe_id":"831","Shape_Le_1":254.977655745,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":254.977419983},"id":9},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.005118,39.9139668],[-82.0035998,39.9139768]]},"properties":{"OBJECTID_1":1281,"OBJECTID":1281,"OBJECTID_2":832,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"E","Dwg":"1600a","Tapbook":"1/130","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg130.pdf","IDUP":" ","IDDN":" ","pipe_id":"832","Shape_Le_1":785.129788609,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":425.871488115},"id":10},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0063984,39.9139459],[-82.005118,39.9139668]]},"properties":{"OBJECTID_1":1282,"OBJECTID":1282,"OBJECTID_2":832,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"E","Dwg":"1600a","Tapbook":"1/130","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg130.pdf","IDUP":" ","IDDN":" ","pipe_id":"832","Shape_Le_1":785.129788609,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":359.258352734},"id":11},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0070652,39.9165942],[-82.0070312,39.9152112]]},"properties":{"OBJECTID_1":1284,"OBJECTID":1284,"OBJECTID_2":834,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":"3138","SHAPE_Leng":0,"Direction":"S","Dwg":"1033, 1556, 2659,","Tapbook":"1/348","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg348.pdf","IDUP":" ","IDDN":" ","pipe_id":"834","Shape_Le_1":503.873747659,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":503.873806115},"id":12},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0052588,39.9164549],[-82.0052328,39.9156204]]},"properties":{"OBJECTID_1":1348,"OBJECTID":1348,"OBJECTID_2":883,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":" ","SHAPE_Leng":407,"Direction":"S","Dwg":"1230","Tapbook":"2/013","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%202/Tapbook2pg013.pdf","IDUP":" ","IDDN":" ","pipe_id":"883","Shape_Le_1":304.085511299,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":304.085673272},"id":13},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0051659,39.9153373],[-82.0052241,39.9153373]]},"properties":{"OBJECTID_1":1349,"OBJECTID":1349,"OBJECTID_2":884,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":" ","SHAPE_Leng":18,"Direction":"E","Dwg":"1230","Tapbook":"2/013","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%202/Tapbook2pg013.pdf","IDUP":" ","IDDN":" ","pipe_id":"884","Shape_Le_1":16.3021385125,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":16.3022660832},"id":14},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0037136,39.916614],[-82.0037287,39.9151721]]},"properties":{"OBJECTID_1":1720,"OBJECTID":1720,"OBJECTID_2":1121,"Type":" ","Material":" ","Diameter":60,"Condition":" ","Notes":"1/365 1/583","SHAPE_Leng":0,"Direction":"S","Dwg":"2950, 2951","Tapbook":"Multi","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1121","Shape_Le_1":1190.04531612,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":525.254909373},"id":15},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0037287,39.9151721],[-82.0035513,39.9139473]]},"properties":{"OBJECTID_1":1721,"OBJECTID":1721,"OBJECTID_2":1121,"Type":" ","Material":" ","Diameter":60,"Condition":" ","Notes":"1/365 1/583","SHAPE_Leng":0,"Direction":"S","Dwg":"2950, 2951","Tapbook":"Multi","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1121","Shape_Le_1":1190.04531612,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":448.921682025},"id":16},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0036599,39.9133606],[-82.0035513,39.9139473]]},"properties":{"OBJECTID_1":1722,"OBJECTID":1722,"OBJECTID_2":1121,"Type":" ","Material":" ","Diameter":60,"Condition":" ","Notes":"1/365 1/583","SHAPE_Leng":0,"Direction":"S","Dwg":"2950, 2951","Tapbook":"Multi","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1121","Shape_Le_1":1190.04531612,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":215.868738277},"id":17},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0035998,39.9139768],[-82.0035513,39.9139473]]},"properties":{"OBJECTID_1":1723,"OBJECTID":1723,"OBJECTID_2":1122,"Type":" ","Material":" ","Diameter":24,"Condition":" ","Notes":"2951","SHAPE_Leng":0,"Direction":"SE","Dwg":"2950","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1122","Shape_Le_1":17.3461315143,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":17.3459632925},"id":18},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0052328,39.9156204],[-82.0040245,39.9156252]]},"properties":{"OBJECTID_1":2171,"OBJECTID":2171,"OBJECTID_2":1329,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"E","Dwg":"Sewer Sep Imp Ph 1","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1329","Shape_Le_1":338.941349855,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":338.941174761},"id":19},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0052241,39.9153373],[-82.0052328,39.9156204]]},"properties":{"OBJECTID_1":2172,"OBJECTID":2172,"OBJECTID_2":1330,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":" ","SHAPE_Leng":407,"Direction":"S","Dwg":"1230","Tapbook":"2/013","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%202/Tapbook2pg013.pdf","IDUP":" ","IDDN":" ","pipe_id":"1330","Shape_Le_1":103.154940964,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":103.154854934},"id":20},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0038654,39.9153428],[-82.0037287,39.9151721]]},"properties":{"OBJECTID_1":2175,"OBJECTID":2175,"OBJECTID_2":1332,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"S","Dwg":"Sewer Sep Imp 1","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1332","Shape_Le_1":194.911903875,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":73.0545005456},"id":21},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0040245,39.9156252],[-82.0039232,39.915346]]},"properties":{"OBJECTID_1":2176,"OBJECTID":2176,"OBJECTID_2":1332,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"S","Dwg":"Sewer Sep Imp 1","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1332","Shape_Le_1":194.911903875,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":105.62138279},"id":22},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0039232,39.915346],[-82.0038654,39.9153428]]},"properties":{"OBJECTID_1":2177,"OBJECTID":2177,"OBJECTID_2":1332,"Type":" ","Material":" ","Diameter":8,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"S","Dwg":"Sewer Sep Imp 1","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1332","Shape_Le_1":194.911903875,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":16.2356673841},"id":23},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0088367,39.9152474],[-82.0087945,39.9152434]]},"properties":{"OBJECTID_1":2482,"OBJECTID":2482,"OBJECTID_2":1478,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":"Abandoned","SHAPE_Leng":0,"Direction":"SE","Dwg":"0882","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1478","Shape_Le_1":353.207719958,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":11.9474716989},"id":24},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0098872,39.9157201],[-82.0088367,39.9152474]]},"properties":{"OBJECTID_1":2483,"OBJECTID":2483,"OBJECTID_2":1478,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":"Abandoned","SHAPE_Leng":0,"Direction":"SE","Dwg":"0882","Tapbook":" ","System":"San","TB_LINK":" ","IDUP":" ","IDDN":" ","pipe_id":"1478","Shape_Le_1":353.207719958,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":341.260192936},"id":25},
{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-82.0087945,39.9152434],[-82.008419,39.9152074]]},"properties":{"OBJECTID_1":2591,"OBJECTID":2587,"OBJECTID_2":1538,"Type":" ","Material":" ","Diameter":18,"Condition":" ","Notes":" ","SHAPE_Leng":0,"Direction":"E","Dwg":"0882, 1600a","Tapbook":"1/135","System":"San","TB_LINK":"file:///Z:/scans/Tapbooks%20and%20Cutoffs/Tap%20Book%201/Tapbook1pg135.pdf","IDUP":" ","IDDN":" ","pipe_id":"1538","Shape_Le_1":106.141478601,"Enabled":1,"dt_created":null,"dt_edited":1560211200000,"START_X":0,"START_Y":0,"MID_X":0,"MID_Y":0,"END_X":0,"END_Y":0,"geom_Lengt":106.141622522},"id":26}
]}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment