Completed

Split a JSON represented polyline geometry with an array of JSON points

Please see the files for context of this description

This solution should be in C#. It can utilize the newtonsoft nuget package if you wish ([login to view URL]).

It should be a function/class that takes in two JSON strings (search result for lines and search result for points) and returns the JSON of merging the points into the lines as breaks in the lines.

The lines and points have a geometrical representation with an x,y,z,measure (where measure is the length the vertex/point exists within the Route).

The points in the point array will split the lines at their specified x/y and inject their properties into the line segment. Essentially breaking the lines where the points exist.

To help demonstrate the idea here I made a simple example (see attached picture)

The blue line is "Route A" it goes from a 0 to 5 in length (measure). The red dot represents a point in which I want to break the line.

[login to view URL] is the file that represents the blue line from a search result. Notice it has 2 entries in "attributes", one for each segment between vertices and then a dummy attribute indicating the end of the line. The format of the [login to view URL] is [x,y,z,measure] where z is ignored for this purpose

[login to view URL] is the result of point search. Notice there are 3 points. two of them belong to Route A (the blue line). When a point is on the same route as a line, you are guaranteed that they have an intersection and that you can inject the point(s) onto the lines. The format of the geometry is {x,y,z,m} , where m is measure

Only points with the attribute "Type" = "Above grade" will be considered. If Type is null or anything but "Above grade" then dont consider those points.

The ending result is represented with [login to view URL] You will notice that the OBJECTID of the point was transferred to all the lines as OBJECTID_2 but only the segment before the point got the value type and object values. You'll notice segments before the point and after the point geometry and measures were adjusted appropriately and the order of measure was maintained.

If there was an OBJECTID_66 in the initial input then your new points would be OBJECTID_67. This is a simple example of which I can provide more complicated examples but do not assume the that a particular route's beginning and end vetices will always be a straight line, they can zigzag and even overlap in some cases, in which you shouldnt rely on the x,y of the point but rather the measure to determine where to inject the new attribute, and use x,y to change geometries.

The project will only be funded and released once the freelancer has sufficiently shown to meet the requirement needs (which can be expanded upon at my digression). The free lancer will be given 2 sample json files and expected to send back a result json with the result. This can go on numerous times until I am satisfied it meets all requirements and needs, alternatively the free lancer may provide the C# upfront and I will run it through a series of testing. If testing is successful the funds will be fund and then released and the c# project and its code provided to me.

Skills: .NET, C# Programming, JSON, Programming, Software Architecture

See more: esri geometry point, arcgis polygon json, polyline paths, javascript esri geometry, point arcgis js api, esri arcgis geometry types, arcgis feature geometry, arcgis js geometry engine, json array manipulation, json array, json array javascript array, opengl array points file, javascript json array, mips code floating points array, html json array, jquery json array select, prototype send array json, prototype handle json array, traverse json array object javascript, prototypejs json javascript array

About the Employer:
( 2 reviews ) Adrian, United States

Project ID: #18884360

Awarded to:

shuvi1235

Hi, I have read all the requirements and attached json files. I am right person for this job. I have experince in JObject, JArray manipulation with newtonsoft package in .Net framework (C#). I have more than 2 years ex More

$222 USD in 2 days
(0 Reviews)
0.0

7 freelancers are bidding on average $173 for this job

polarjin2017

Hello? How are you? I have seen the project - "Split a JSON represented polyline geometry with an array of JSON points." I have been working in these fields((.NET, C# Programming, JSON, Programming, Software Archit More

$155 USD in 3 days
(81 Reviews)
6.6
urmate

Hi There I've 80 WPM Typing speed and can help to complete your project faster with 100% accuracy and proof-reading. Please send all the details of your project and discuss details for duration and delivery of you More

$155 USD in 6 days
(248 Reviews)
6.6
brightstar928

Hi my name is DongJun. I am an experienced web developer. I have read the project requirements and I am very interested in your project. I can start work right now. I will make your website look very nice, modern and More

$250 USD in 3 days
(6 Reviews)
5.0
Developer000

Feel fee to contact me for Split a JSON represented polyline geometry with an array of JSON [login to view URL] me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in More

$50 USD in 2 days
(15 Reviews)
4.5
devbaloni1983

Dear Hiring Manager, I'm a Software Developer with 10+ experiences in software development and I'm very interested in your job post. I have very good experience in SQL server. I have good experience [login to view URL], MVC, Angu More

$155 USD in 7 days
(12 Reviews)
4.0
dreammate0621

Hello! How are you? I am interested in you project. I wanna work with you. If you hire me, I am gonna do my best for your project. I hope you have a dialog with me so that I can understand your requirements comple More

$222 USD in 3 days
(1 Review)
2.8