[GRASS5] embedding GRASS display into my app

David Piasecki piasecda at nv.doe.gov
Mon Apr 12 15:09:28 EDT 2004


After I have a PNG file I'm working with, how do I pass GRASS commands 
for pan/zoom? I tried setting g.region to the vector file I've been 
using, but it complained that the vector file didn't exist. Of course, 
within GRASS this works fine. It also seems to work from my terminal 
window. However, it doesn't work from my application when I do a 
system("g.region...");

Perhaps there is a PATH that's not correctly set?

David





More information about the grass-dev mailing list