Re: [GRASS-user] new to grass

2013-02-07 Thread José María Michia Roberts
Hi, 2013/2/8 Afsal Iqubal afsal.iqu...@gmail.com: hii i am new to grass. i am using ubuntu 12.04. how to istall grass in ubuntuplease help GRASS binaries are available from official repository. You can find installation instructions on the wiki:

[GRASS-user] Run a GRASS module from a custom module (C language)

2013-02-22 Thread José María Michia Roberts
I want to write a module to automatically do a large number of import/process/export tasks , but I cannot figure out how to run v.in.ogr from C program (I do not understand how to process and export, but maybe I can understand it after getting import). I've this functionality working on a Python

Re: [GRASS-user] Run a GRASS module from a custom module (C language)

2013-02-25 Thread José María Michia Roberts
2013/2/22 Rainer M Krug r.m.k...@gmail.com: Please check out the thread Call Grass modules from C++ code (http://article.gmane.org/gmane.comp.gis.grass.user/46272) I assume it is the same for C Thanks Rainer. My apologies for re-post this question. I worked hard looking for a solution, to

[GRASS-user] Apply v.transform in polygons with overlays

2013-02-25 Thread José María Michia Roberts
Hi all! I need to use v.transform over layers that are topologically incorrect (so they have overlapped polygons, and it is not a problem). Of course, many elements disappear after importing the layer, and more elements disappear after applying v.transform. To solve this, I wrote a python

Re: [GRASS-user] Apply v.transform in polygons with overlays

2013-02-26 Thread José María Michia Roberts
José María Michia Roberts: [...] many elements disappear after importing the layer, and more elements disappear after applying v.transform [...] In reply to myself: I now remember that I had solve this by adding -c to v.in.ogr, so the output layer is not cleaned and all source elements

[GRASS-user] v.transform reports erroneous values in the transformation matrix

2013-02-26 Thread José María Michia Roberts
Hi all! I've found that values of transformation matrix reported by v.transform are erroneous after using this values in ST_Affine (a PostGIS's function). The values that seems to be erroneous are x_offset and y_offset. The rotation values seems to are fine. The transformed elements are ok (it