Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Retrieving contours in world coordinates ?

Help
Karagiosis
2006-12-28
2013-04-24
  • Karagiosis
    Karagiosis
    2006-12-28

    Hi,

    I use GRI for contouring. I wonder if there is a way to retrieve contour lines as single lines, polylines or splines (i.e. as vector primitives rather than raster).

    Moreover I would like those lines to be in real world coordinates (not scaled for layout).

    The idea is to use GRI to create a preview plot of contour lines, as well as a DXF with those curves. Converting in DXF will not be a problem if I know how to capture the vector elements when running GRI.

    I had a look at the output ps file and could find trace of the real-world coordinates (maybe as a translation vector). However, I don't know if there is a way to get the curves back in real-world coordinates rather than layout coordinates.

    (I'm using GRI 2.12.10.)

    Thanks for any help.

     
    • Karagiosis
      Karagiosis
      2007-04-05

      Solved.

      The question was answered by Dan Kelley in the "Open Discussion" forum (topic: "Contour storage in PostScript file").

      Here Dan's answer:

      <<
        Try looking at "write contour", at
        http://gri.sourceforge.net/gridoc/html/Write.html#Write
      >>