GNSS data to OSM format processor and track finder
Namespaces | Functions
xroad_functions.py File Reference

Namespaces

 xroad_functions
 Functions in this file are primarily focused on the solution of input data normalisation (getting input GNSS data enriched by the OSM format as well as changing their coordinates according to the most probable coordinates situated nerby belonging to the OSM system).
 

Functions

def feats (basedata)
 Features getting simplification. More...
 
def coords (basedata_features)
 Coordinates getting simplification. More...
 
def del_special_elem (basedata)
 Function removes all defined (special) elements in the nested list. More...
 
def del_unique_nodes (basedata, uniq_nodes)
 Function takes a list of nodes (uniq_nodes) and removes them from the dictionary basedata. More...
 
def del_special_elem2 (clist)
 Function deletes those items from a list, which are equal to the defined element. More...
 
def del_duplicates (alist)
 Function gets rid of duplicates in the input list not regarding its position (whether it is sequential duplicate). More...
 
def coords_to_latlon (coords, empty_lat, empty_lon)
 Function takes coords and assigns individual coordinate parts to empty_lat and empty_lon correspondingly. More...
 
def cut_unnecessary_xroads (nodes, chosen)
 Function purpose is to mark with [-1, -1] specific elements in the nodes. More...
 
def filter_base (basedata, chosen_nodes)
 Function purpose is to leave only those nodes in the basemap, which are equal to chosen_nodes. More...
 
def get_unique_nodes (nodes)
 Function takes one list of nodes. More...
 
def get_fine_indata (basedata, chosen_nodes)
 counterlist keeps the information about how many chosen_nodes there is in the particular feature. More...
 
def get_nodes_duplicates (coords, nodes, smxd, nmxd, slcd)
 By the speed of the input data source, script selects Normal Movement Crossroad Distance (nmxd) or Slow Movement Crossroad Distance (smxd). More...