Skip to Content

traitement

  1. >>> from geoscript import geom
  2. >>> point = geom.readWKT('POINT(45 20)')
  3. >>> point
  4. POINT (45 20)
  5. # ou
  6. >>> point = geom.Point(4.607817,50.664930)
  7. >>> point
  8. POINT (4.607817 50.66493)
  9. >>> # ou
  10. >>> wkt = str(point)
  11. >>> wkt
  12. 'POINT (4.607817 50.66493)'