Changeset 21659


Ignore:
Timestamp:
04/04/17 05:29:54 (8 years ago)
Author:
bdef
Message:

BUG: fixing indentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/shp/shp2exp.py

    r21349 r21659  
    3333                geom=shp.shapes()[i].shapeType
    3434                if geom==5: # polygon
    35          expdict['closed']=1
     35                        expdict['closed']=1
    3636                        tmpx=[p[0] for p in shp.shapes()[i].points]
    3737                        tmpy=[q[1] for q in shp.shapes()[i].points]
     
    3939                        y.append(tmpy)
    4040                elif geom==3: # line
    41          expdict['closed']=0
     41                        expdict['closed']=0
    4242                        tmpx=[p[0] for p in shp.shapes()[i].points]
    4343                        tmpy=[q[1] for q in shp.shapes()[i].points]
     
    4545                        y.append(tmpy)
    4646                elif geom==1: # point
    47          expdict['closed']=0
     47                        expdict['closed']=0
    4848                        x.append(shp.shapes()[i].points[0][0])
    4949                        y.append(shp.shapes()[i].points[0][1])
Note: See TracChangeset for help on using the changeset viewer.