Prep work for addition of location data for TIPLOCS
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Go Test / test (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Go Test / test (push) Has been cancelled
				
			This commit is contained in:
		
							parent
							
								
									90e8fd5649
								
							
						
					
					
						commit
						e8e7a76076
					
				
							
								
								
									
										7
									
								
								bplan/bplan.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								bplan/bplan.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | |||||||
|  | package bplan | ||||||
|  | 
 | ||||||
|  | // Returns: a slice of objects containing a TIPLOC, Latitude and Longitude | ||||||
|  | func GetTiplocLocations() []TiplocLatLong {} | ||||||
|  | 
 | ||||||
|  | // Returns: a slice of objects containing a TIPLOC, Easting and Northing | ||||||
|  | func GetTiplocLocationsOS() []TiplocOS {} | ||||||
							
								
								
									
										3
									
								
								bplan/fetch.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								bplan/fetch.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | |||||||
|  | package bplan | ||||||
|  | 
 | ||||||
|  | // Fetch BPLAN data - nothing more, nothing less | ||||||
							
								
								
									
										13
									
								
								bplan/types.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								bplan/types.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | |||||||
|  | package bplan | ||||||
|  | 
 | ||||||
|  | type TiplocLatLong struct { | ||||||
|  | 	Tiploc    string | ||||||
|  | 	Latitude  float64 | ||||||
|  | 	Longitude float64 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type TiplocOS struct { | ||||||
|  | 	Tiploc   string | ||||||
|  | 	Easting  int64 | ||||||
|  | 	Northing int64 | ||||||
|  | } | ||||||
							
								
								
									
										3
									
								
								coordinates/coordinates.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								coordinates/coordinates.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,3 @@ | |||||||
|  | package coordinates | ||||||
|  | 
 | ||||||
|  | // Converts, fairly roughly between OS and GPS coordinates | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user