TestData.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. """
  2. ***************************************************************************
  3. TestData.py
  4. ---------------------
  5. Date : March 2013
  6. Copyright : (C) 2013 by Victor Olaya
  7. Email : volayaf at gmail dot com
  8. ***************************************************************************
  9. * *
  10. * This program is free software; you can redistribute it and/or modify *
  11. * it under the terms of the GNU General Public License as published by *
  12. * the Free Software Foundation; either version 2 of the License, or *
  13. * (at your option) any later version. *
  14. * *
  15. ***************************************************************************
  16. """
  17. __author__ = 'Victor Olaya'
  18. __date__ = 'March 2013'
  19. __copyright__ = '(C) 2013, Victor Olaya'
  20. import os.path
  21. testDataPath = os.path.join(os.path.dirname(__file__), 'testdata')
  22. def table():
  23. return os.path.join(testDataPath, 'table.dbf')
  24. def points():
  25. return os.path.join(testDataPath, 'points.gml')
  26. def invalid_geometries():
  27. return os.path.join(testDataPath, 'invalidgeometries.gml')