AI Assistant
Notifications
Clear all

Leica VIVA (Azimuths to Right Angles)

9 Posts
7 Users
0 Reactions
429 Views
ctompkins
(@ctompkins)
Posts: 614
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

So I am on this job right, really important! I recommend a particular brand due to familiarity and they don't listen to the surveyor...eh what else is new. Anyway, they put me with a Leica TS12 and the viva collector. Like the Hardware...hate viva. I look at the raw file today from yesterdays work and all of the angles are in azimuths. I found the setting for that but how do I convert the older data to right angles without doing a lot of math? any help would GREATLY appreciated.


 
Posted : July 17, 2014 3:56 pm
SCsurvey
(@scsurvey)
Posts: 81
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Do you need the .raw in right angle format, or just want a hardcopy in right angle format?

For the latter the end run would prob be to dump the points in a drawing and get a cogo stakeout report in right angles, but it would only be a paper copy. Let me know if you find a way to get the DC to do it please.


 
Posted : July 17, 2014 8:16 pm
jacob-wall
(@jacob-wall)
Posts: 139
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Which format are you exporting? If you choose for example
Jobs & Data / Export & copy data / Export fbk/rw5 data / Under Data Format select TDS RAW, you can select "Config" on the soft menu and select "Use angle right"

Whoops, I just re-read your post, are you saying you found this setting but are wanting to convert your previously exported data to angle right? If the jobs are not deleted you could re-export, otherwise I would think a manual conversion is probably your best solution, unless someone has written a script for that. I would be looking at MS Excel probably. I have written some handy Python scripts for use in Notepad++ for similar cases, that could potentially be another solution. Effort vs. benefit in that scenario.

Jacob


 
Posted : July 17, 2014 10:57 pm
Moe Shetty
(@moe-shetty)
Posts: 1430
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

another possibility. push the dbx files back into the controller, change the output type to angle right (in your config set), then export the job again to the pc


 
Posted : July 18, 2014 4:49 am
JOHN MACOLINI
(@john-macolini)
Posts: 212
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Yeah, we haven't figured that out yet.

The process for collecting sets spits out azimuths, but the topo (single angle shots), come out fine in AR. I just reduce the Direct-Reverse in Carlson raw editor, and it gives the AR.


 
Posted : July 18, 2014 6:39 am

lmbrls
(@lmbrls)
Posts: 1066
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

> Like the Hardware...hate viva. :good:


 
Posted : July 18, 2014 11:56 am
fieldguy
(@fieldguy)
Posts: 21
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Jacob Wall, post: 269918, member: 1674 wrote: Which format are you exporting? If you choose for example
Jobs & Data / Export & copy data / Export fbk/rw5 data / Under Data Format select TDS RAW, you can select "Config" on the soft menu and select "Use angle right"

Whoops, I just re-read your post, are you saying you found this setting but are wanting to convert your previously exported data to angle right? If the jobs are not deleted you could re-export, otherwise I would think a manual conversion is probably your best solution, unless someone has written a script for that. I would be looking at MS Excel probably. I have written some handy Python scripts for use in Notepad++ for similar cases, that could potentially be another solution. Effort vs. benefit in that scenario.

Jacob


 
Posted : August 10, 2015 7:51 pm
fieldguy
(@fieldguy)
Posts: 21
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

##"I have written some handy Python scripts for use in Notepad++ for similar cases, that could potentially be another solution. Effort vs. benefit in that scenario."

Have recently revived an interest in programming after a zillion yrs. Python seems very adaptable. Not a natural in this. More like an old guy exercising what's left of his brain. Would be very interested in any Python modules you would be willing to share re cogo, stuff we use on a daily basis in land surveying. Afraid I'm at noob level. For instance, here's code I was butchering the other day.##

import ui
import math

class Survey:
def __init__(self, brng, dist,lat,dep): #bearing to be entered like this:
self.brng = brng. # 'S45.2341E'
self.dist = dist
self.lat = lat
self.dep = dep

def course(self):
b = self.brng
quad = b[0] + b[-1]
decpoint = b.find('.') #find the decimal point
deg = int(b[1:decpoint]) #convert dms to decimal degrees
mins = int(b[decpoint+1:-3])/60.
sec = int(b[-3:-1])/3600.
az = (deg+mins+sec)
if quad == 'NE':
az = az
elif quad == 'SE':
az = 180 - az
elif quad == 'SW':
az = 180 + az
elif quad == 'NW':
az = 360 - az #need to convert to radians
lat = math.cos(az*math.pi/180)*self.dist #lat - change in north-south
dep = math.sin(az*math.pi/180)*self.dist #dep - change in east-west
return az, lat, dep

def store_az_lat_dep():
#brng = input('Input bearing: ')
#dist = input('Input distance: ') #--> eventually for user input
#xy = Survey(brng, dist, 10000, 10000) #ignore the 10000,10000
xy = Survey('45.0000E', 100, 10000, 10000) #-->for example
corDict = {xy.course()[0] : xy.course()[1:]}
print corDict

store_az_lat_dep()

##I was looking for a way to iterate the process and add to the dictionary. Ant help would be greatly appreciated.##


 
Posted : August 10, 2015 8:06 pm
jacob-wall
(@jacob-wall)
Posts: 139
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

fieldguy, post: 331224, member: 2298 wrote: ##"I have written some handy Python scripts for use in Notepad++ for similar cases, that could potentially be another solution. Effort vs. benefit in that scenario."

Have recently revived an interest in programming after a zillion yrs. Python seems very adaptable. Not a natural in this. More like an old guy exercising what's left of his brain. Would be very interested in any Python modules you would be willing to share re cogo, stuff we use on a daily basis in land surveying. Afraid I'm at noob level. For instance, here's code I was butchering the other day.##

import ui
import math

class Survey:
def __init__(self, brng, dist,lat,dep): #bearing to be entered like this:
self.brng = brng. # 'S45.2341E'
self.dist = dist
self.lat = lat
self.dep = dep

def course(self):
b = self.brng
quad = b[0] + b[-1]
decpoint = b.find('.') #find the decimal point
deg = int(b[1:decpoint]) #convert dms to decimal degrees
mins = int(b[decpoint+1:-3])/60.
sec = int(b[-3:-1])/3600.
az = (deg+mins+sec)
if quad == 'NE':
az = az
elif quad == 'SE':
az = 180 - az
elif quad == 'SW':
az = 180 + az
elif quad == 'NW':
az = 360 - az #need to convert to radians
lat = math.cos(az*math.pi/180)*self.dist #lat - change in north-south
dep = math.sin(az*math.pi/180)*self.dist #dep - change in east-west
return az, lat, dep

def store_az_lat_dep():
#brng = input('Input bearing: ')
#dist = input('Input distance: ') #--> eventually for user input
#xy = Survey(brng, dist, 10000, 10000) #ignore the 10000,10000
xy = Survey('45.0000E', 100, 10000, 10000) #-->for example
corDict = {xy.course()[0] : xy.course()[1:]}
print corDict

store_az_lat_dep()

##I was looking for a way to iterate the process and add to the dictionary. Ant help would be greatly appreciated.##

Python is certainly a great way to get back into programming. I love the Python Script Plugin for Notepad++, since it really gives you a lot of power to work with ASCII files, and also binary files as well. Everything I've done with Notepad++ and Python has been limited to processing file contents, nothing much in the way of UI stuff, at least so far. It sounds interesting though and might give me a reason to explore other possibilities within that environment. Email me directly if you want to discuss what you have in mind.


 
Posted : August 11, 2015 9:42 pm