Question : How to draw a land using its 4 points GPS coordinates?

#1

Dear all,
I have a problem and i hope you can help me. I want to know how to draw a land using its 4 points GPS coordinates.
I have the coordinates of the border points of the land and i imported the location which includes it on Sketchup, but i cant find a way to draw my exact land borders using the GPS coordinates?

0 Likes

#2
  1. Open Window → Ruby Console
  2. Replace the decimal coordinates in this snippet (in latitude, longitude order):
coordinates = [
  [-105.270556, 40.015],
  [-105.270120, 40.015],
  [-105.270120, 40.016],
  [-105.270556, 40.016]
]
model = Sketchup.active_model
model.active_entities.add_face(coordinates.map{ |c| model.latlong_to_point(c) })
  1. Paste and enter
2 Likes

#3

worked well !!! many thanks

0 Likes