Skip to content

osc_modif.py Questions and suggestions #1

Description

@WK-GiHu

Questions:

  1. Will 'osc_modify.py' only called from 'update.py' or also invoked direct?

  2. If also directly, which differs from the call by 'update.py',
    my first suggestion would be to harmonize all calls to 'osc_modify.osc_modify (...)'.

  3. If only from update.py, I ignore the "if __name__ == __main__" block.

  4. In 'try: ... except' block, the 'except' branch will not work if called from 'update.py',
    because "config.dbs" and "config.dpb" are not defined.

    The 'try' block may be omitted if 'options.osmbin_path' is always defined.
    But until now, I know the difference of "OsmBin" and "OsmOsis.OsmOsis" not yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions