I need help with a very simple gdl script!
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2004-10-05 05:24 PM
ā2004-10-05
05:24 PM
I can't figure out how to script a simple stupid polyline... It's the arcs that bugs me. I know it should be simple but please help me with this one. I gather it will fall together when I see the script. I have actually read the GDL manual but I wish they could explain things so a stupid mind like mine can understand...
I attached an image of the polyline object I want to create and also my stupid code...
Cheers and thanx on beforehand,
Mats
2 REPLIES 2
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2004-10-05 05:52 PM
ā2004-10-05
05:52 PM
With Poly2 you can use only x and y parameters.
To use a mask value like you do at line 3 you need to use Poly2_ (x, y, mask)
Try this, it should work.
Poly2_ 4, 1
0, 0, 1,
a, b, 1
r, -90, 2001,
e, f, 1
To use a mask value like you do at line 3 you need to use Poly2_ (x, y, mask)
Try this, it should work.
Poly2_ 4, 1
0, 0, 1,
a, b, 1
r, -90, 2001,
e, f, 1
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2004-10-06 03:10 PM
ā2004-10-06
03:10 PM
Merci beaucoup Olivier,
Ća marche trĆØs bien.
Mats
Ća marche trĆØs bien.

Olivier wrote:
With Poly2 you can use only x and y parameters.
To use a mask value like you do at line 3 you need to use Poly2_ (x, y, mask)
Try this, it should work.
Poly2_ 4, 1
0, 0, 1,
a, b, 1
r, -90, 2001,
e, f, 1