Skip to content

bearlin/tool_gen_location_xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tool_gen_jv_xml

A small python tool to generat xml test fields

Output format:

  <!-- For jv test -->
  <Location name="data_dep_0">
    <address country="China" city="Shanghai" postalCode="" street="" houseNumber="" crossing="" />
    <position latitude="3119781" longitude="12147758" />
  </Location>
  <Location name="data_des_0">
    <address country="China" city="Shanghai" postalCode="" street="" houseNumber="" crossing="" />
    <position latitude="3119679" longitude="12147707" />
  </Location>

The input file content example:

This is first line in input file, we treat first line as file header, so first line will be ignored
*AnyChar*(3119781, 12147758)*AnyChar*(3119679, 12147707)*AnyChar*
*AnyChar*(3123469, 12151116)*AnyChar*(3123335, 12150893)*AnyChar*

For each line, the first (x1, y1) is departure coordinate, the second (x2, y2) is destination coordinate

About

tool_gen_jv_xml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages