Skip to content

prepare_project.py, prj definition does not support Southern Hemisphere locations.  #2

@cshuler

Description

@cshuler

I patched this by changing lines 188 to 193 formerly:

proj4_dic = {}
for item in projlist:
    if (item == '+no_defs') or (item == ''):
        continue
    else:
        proj4_dic[item.split("=")[0]] = item.split("=")[1]

to

proj4_dic = {}
for item in projlist:
    
    if (item == '+no_defs') or (item == ''):
        continue

    elif (item == '+south'):
        proj4_dic["Yshift"] = 10000000.0

    else:
        proj4_dic[item.split("=")[0]] = item.split("=")[1]

Overall thanks for this very useful workflow, I haven't fully gotten it to work for my data yet, but it is very promising. Mahalo!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions