Changeset 6280


Ignore:
Timestamp:
Feb 5, 2009, 3:06:41 PM (16 years ago)
Author:
ole
Message:

Notes on combining Geospatial data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/busselton/standardised_version/build_busselton.py

    r6279 r6280  
    3030# output to file
    3131#------------------------------------------------------------------------------
    32 copy_code_files(project.output_build,__file__,
    33                 os.path.dirname(project.__file__)+os.sep+\
    34                 project.__name__+'.py' )
    35 start_screen_catcher(project.output_build)
     32#copy_code_files(project.output_build,__file__,
     33#                os.path.dirname(project.__file__)+os.sep+\
     34#                project.__name__+'.py' )
     35#start_screen_catcher(project.output_build)
    3636
    3737
     
    7272
    7373print 'Add geospatial objects' # except', project.offshore_name5
    74 G = geospatial_data
    75 ##None
    76 ##for key in geospatial_data:
    77 ##    if key != project.offshore_name5:
    78 ##        G += geospatial_data[key]
     74G = None
     75for key in geospatial_data:
     76    #if key == project.point_filenames[4] or key == project.ascii_filenames[1]:
     77    #    # Skip these files for now
     78    #    continue
     79   
     80    G += geospatial_data[key]
    7981       
    8082print 'Clip combined geospatial data'
    8183##G_clip = G.clip_outside(project.poly_aoi1)
    82 ##G_all = G_clip + geospatial_data[project.offshore_name5]   # G_off5
     84##G_all = G_clip + geospatial_data[project.point_filenames[4]]
    8385#G_clipped = G_all.clip(project.poly_all)
    8486G_clip = G.clip(project.bounding_polygon)
Note: See TracChangeset for help on using the changeset viewer.