Loading autocnet/graph/network.py +2 −1 Original line number Diff line number Diff line Loading @@ -1474,8 +1474,9 @@ WHERE points.active = True AND measures.active=TRUE AND measures.jigreject=FALSE 'sample':'x', 'line':'y', 'serial': 'serialnumber'}, inplace=True) if flistpath is None: flistpath = os.path.splitext(path)[0] + '.lis' target = config['spatial'].get('target', None) cnet.to_isis(df, path) cnet.to_isis(df, path, targetname=target) cnet.write_filelist(self.files, path=flistpath) @staticmethod Loading config/sample.yml +2 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,8 @@ redis: ### Spatial Reference Setup ### spatial: # The name of the target body that will be output in ISIS control networks. target: 'MARS' # The following two values need to be added to the database that is storing # the spatial information. # Loading config/test_config.yml +1 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ redis: ### Spatial Reference Setup ### spatial: target: 'EARTH' latitudinal_srid: 4326 # For testing we use WGS84. rectangular_srid: 4978 semimajor_rad: 3396190 # in meters Loading Loading
autocnet/graph/network.py +2 −1 Original line number Diff line number Diff line Loading @@ -1474,8 +1474,9 @@ WHERE points.active = True AND measures.active=TRUE AND measures.jigreject=FALSE 'sample':'x', 'line':'y', 'serial': 'serialnumber'}, inplace=True) if flistpath is None: flistpath = os.path.splitext(path)[0] + '.lis' target = config['spatial'].get('target', None) cnet.to_isis(df, path) cnet.to_isis(df, path, targetname=target) cnet.write_filelist(self.files, path=flistpath) @staticmethod Loading
config/sample.yml +2 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,8 @@ redis: ### Spatial Reference Setup ### spatial: # The name of the target body that will be output in ISIS control networks. target: 'MARS' # The following two values need to be added to the database that is storing # the spatial information. # Loading
config/test_config.yml +1 −0 Original line number Diff line number Diff line Loading @@ -41,6 +41,7 @@ redis: ### Spatial Reference Setup ### spatial: target: 'EARTH' latitudinal_srid: 4326 # For testing we use WGS84. rectangular_srid: 4978 semimajor_rad: 3396190 # in meters Loading