algorithmic modeling for Rhino
I'm working on a project that maps locations of sent tweets into a site map in rhino. The script works and generates a location entry based on the individuals cell phone settings. Some people have changed there geo tagging to things that are not gps coordinates.
I need to clean up the LOCATION Panel
Currently the location coordinates come in looking like
38.03817067, -84.4989889
I need them to look exactly like this in order for ghowl's XYZ to read the coordinate and plot the proper point.
{-84.4989889, 38.03817067, 0.0}
I'm not sure if I need to be working through the tree or list, can anyone help me organize this to get the desired location coordinates? Attached is the grasshopper file
Thank you and pleas let me know if you need more clarification.
Tags:
another option might be to just feed the list of values, (with items like this: 38.03817067, -84.4989889), into a point component. That would yield: {38.03817067, -84.4989889, 0.0}.
If you need to swap the X and Y values, you could use the deconstruct point component, (it will break out the X, Y, and Z), Then "reconstruct" the point, plugging in the appropriate X or Y value from the Deconstruct component.
Hey Chris,
Thanks for the response, I tried putting the list into the points component but it doesn't seem to work, were you talking about the xyz point component or the numbers to points component or something completely different?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by