<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Everyone -<div><br></div><div>Week 8 full report is available here: <a href="https://github.com/johnymontana/neo4j/wiki/week8">https://github.com/johnymontana/neo4j/wiki/week8</a></div><div><br></div><div>What did I accomplish this week?</div><div>* <span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 15px; line-height: 25.5px;">Updated existing Distance function to access Spatial layer and use configured GeometryEncoder for that layer to convert node/string parameters to Geometry object for distance calculation.</span></div><div><span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 15px; line-height: 25.5px;">* </span><span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 15px; line-height: 25.5px;">To support this the Distance function signature was modified to take an additional parameter, the Spatial Layer name.</span></div><div><br></div><div><br></div><div>What will I do next week?</div><div>* <span style="color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 15px; line-height: 25.5px; background-color: rgb(255, 255, 255);">This still results in calculating distance for all nodes in </span><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; margin: 0px; border: 1px solid rgb(221, 221, 221); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 0px; color: rgb(51, 51, 51); background-color: rgb(248, 248, 248);">SomeLayer</code><span style="color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 15px; line-height: 25.5px; background-color: rgb(255, 255, 255);">. For more efficiency "what should be done is to build a bounding box with the size based on the inequality value (in this example 10) and perform an index query with that search polygon, and then for each geometry returned, do a fine grained distance calculation, returning the results." This will be my goal for next week, as well as updating the first pass implementation of the Intersects Cypher function.</span></div><div><br></div><div>Am I blocked on anything?</div><div><br></div><div>No.</div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Will</div><div><br></div><div>@lyonwj</div><div><a href="http://lyonwj.com">lyonwj.com</a></div></body></html>