Your indentation is off. Look at a basic tutorial and classes. https://wiki.python.org/moin/BeginnersGuide
woooee 814 Nearly a Posting Maven
Encray commented: can u pls tell me how yo fix it +0
TickleMeElmo commented: Thanks very much for your help! +0
woooee 814 Nearly a Posting Maven
glez_b commented: I want to plot only the data that are inside the Multipolygon of the shapefile +1
BustACode commented: The reason I wrote it is that some of the programs were rendered unreadble, even by me later. So it gets rid of the detritus. +0
mark103 commented: ty this is the answer i'm looking for +2
Reverend Jim commented: When you've been around children long enough you begin to realize why some animals eat their young. +0
woooee 814 Nearly a Posting Maven