GPS Coordinates in geolocated map

I have a solar site layout (assume rectangle with 4 corners) with one known corner in GPS lat/long. I scaled the layout and superimposed this on geolocated map with manually located axis set to the corner lat/long. Would like to find GPS coordinates at the other corners of the layout by touching corner and getting GPS lat/long.

Another similar application is using Barry Miliken’s 2DXY starting from the manually located axis and determining the GPS coordinates at corners.

Thanks
twr115

This is not an interactive tool but may give you the answers you want.

select the edges of the rectangle.
copy and paste the following code into the Ruby Console and press Enter.

mod = Sketchup.active_model
ent = mod.active_entities
sel = mod.selection
pts = sel.grep(Sketchup::Edge).map{|e|e.vertices}.flatten.uniq.map{|v|v.position}
pts.each{|p|
 ll=mod.point_to_latlong(p)
 txt = "#{ll[1].to_i.abs} #{(ll[1]%1*60).to_i} #{(ll[1]*3600%60).round(3)}#{ll[1]>=0 ? 'N' : 'S'} #{ll[0].to_i.abs} #{(ll[0]%1*60).to_i} #{(ll[0]*3600%60).round(3)}#{ll[0]>=0 ? 'E' : 'W'}"
 ent.add_text(txt,p,[0,0,100.feet])
}

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.