~meshing/meshing/release

« back to all changes in this revision

Viewing changes to dev/old/shape/convertToShpFile.py

  • Committer: Adam Candy
  • Date: 2013-07-23 15:04:20 UTC
  • Revision ID: adam.candy@imperial.ac.uk-20130723150420-wai2s30bi08kuhaz
Licensing formally implemented.  Please update your branches and any derivative works.
Additional tidying and restructure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#imports the library shapefile to allow the shapefile operations
 
2
 
 
3
##########################################################################
 
4
#  
 
5
#  QGIS-meshing plugins.
 
6
#  
 
7
#  Copyright (C) 2012-2013 Imperial College London and others.
 
8
#  
 
9
#  Please see the AUTHORS file in the main source directory for a
 
10
#  full list of copyright holders.
 
11
#  
 
12
#  Dr Adam S. Candy, adam.candy@imperial.ac.uk
 
13
#  Applied Modelling and Computation Group
 
14
#  Department of Earth Science and Engineering
 
15
#  Imperial College London
 
16
#  
 
17
#  This library is free software; you can redistribute it and/or
 
18
#  modify it under the terms of the GNU Lesser General Public
 
19
#  License as published by the Free Software Foundation,
 
20
#  version 2.1 of the License.
 
21
#  
 
22
#  This library is distributed in the hope that it will be useful,
 
23
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
24
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
25
#  Lesser General Public License for more details.
 
26
#  
 
27
#  You should have received a copy of the GNU Lesser General Public
 
28
#  License along with this library; if not, write to the Free Software
 
29
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 
30
#  USA
 
31
#  
 
32
##########################################################################
 
33
 
2
34
import shapefile
3
35
 
4
36
readPath = "p.shp"