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

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

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

2013-02-22 Thread José María Michia Roberts
. Maybe someone can point me to the best example of that case. Thank in advance! José María Michia ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

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:

Re: [GRASS-user] r.composite changing pixel resolution?

2009-02-13 Thread José María Michia
of some map, use: r.info map=name_of_raster_map And an important note: I'm not sure if this information is applicable using the plugin in QGIS. Please, sorry again, I make many mistake but with the best intentions! Saludos 2009/2/13 José María Michia jose.maria.mic...@gmail.com: Hi Tim and all

Re: [GRASS-user] r.composite changing pixel resolution?

2009-02-13 Thread José María Michia
Hi Tim and all! 2009/2/13 Tim Holland timothyholl...@gmail.com: Dear all, I am new to both Grass and this forum, so apologies in advance for something which is likely a simple mistake or oversight on my part (but I have searched the forum and can't seem to find an answer). I am trying to

Re: [GRASS-user] import error

2009-01-25 Thread José María Michia
2009/1/25 Stefanie Obmann stef...@gmx.at Dear GRASS users, I try to import an ascii file which should then be a table with 11 columns: gg length, gg latitude, hight above sea level, int number column, name, 6 columns including different values; If I do the v.in.ascii command I get a

Re: [GRASS-user] ogr2ogr help

2009-01-25 Thread José María Michia
2009/1/25 mtnbiketr...@zzz.com: Hi, beginner user. First off, am disappointed with help files for syntax for ogr2ogr. I have a shp file( with .shx, and .dbf) and want to convert it to a different projection. When I run ogr2ogr from command line, it doesn't do anything, I tried to set the

Re: [GRASS-user] error with v.net.salesman

2009-01-01 Thread José María Michia
Perhaps that solves the problem. Additionally, d.vect can show node numbers with disp=topo This should, in combination with d.zoom help to identify the (I suppose) data problem. Markus Thanks. Using this advice, I've found the problem: a road isolated from the rest. Other command that

Re: [GRASS-user] error with v.net.salesman

2009-01-01 Thread José María Michia
FYI, I have hadd good luck with v.net.salesman using the latest 6.4-SVN: http://casoilresource.lawr.ucdavis.edu/drupal/node/698 Dylan Thanks for the link. Very nice example! Saludos José María ___ grass-user mailing list

Re: [GRASS-user] error with v.net.salesman

2008-12-31 Thread José María Michia
2008/12/31 Markus Neteler nete...@osgeo.org: Hi José, On Wed, Dec 31, 2008 at 8:39 AM, José María Michia jose.maria.mic...@gmail.com wrote: Hello everyone. I'm trying v.net.salesman module. I followed the instructions in the manual page. All tests are good, except one case, which returns

Re: [GRASS-user] error with v.net.salesman

2008-12-31 Thread José María Michia
2008/12/31 Dylan Beaudette dylan.beaude...@gmail.com: On Wed, Dec 31, 2008 at 5:20 AM, Markus Neteler nete...@osgeo.org wrote: Hi José, On Wed, Dec 31, 2008 at 8:39 AM, José María Michia jose.maria.mic...@gmail.com wrote: Hello everyone. I'm trying v.net.salesman module. I followed

Re: [GRASS-user] question about v.to.rast

2008-12-30 Thread José María Michia
2008/12/31 吉藤奈津子 nats...@forest.kyushu-u.ac.jp: Hello. I have some trouble in using v.to.rast. Could anyone help me, please? I imported ascii vector data (position data) using v.in.ascii, then converted it into raster data using v.to.rast as follows; v.in.ascii input=test.txt output=test

[GRASS-user] error with v.net.salesman

2008-12-30 Thread José María Michia
Hello everyone. I'm trying v.net.salesman module. I followed the instructions in the manual page. All tests are good, except one case, which returns the following error: v.net.salesman myroads_net ccats=1-237 out=mysalesman2 Number of cities: [237] Building graph... Registering arcs... 100%

Re: [GRASS-user] raster data from one location to another

2008-12-12 Thread José María Michia
reports invalid values (i.e., lon180). But, I've solved this problem by editing the TFW file manually (I think that this is correct approach). Thanks Daniel. DAniel On Thu, Dec 11, 2008 at 12:23 PM, José María Michia jose.maria.mic...@gmail.com wrote: Hi list. Sorry for the very basic

Re: [GRASS-user] raster data from one location to another

2008-12-12 Thread José María Michia
2008/12/12 Hamish hamis...@yahoo.com: Daniel wrote: To transfer from one location to another take a look at r.proj It's used to do projection transformation and it does so by copying from one location to another I guess it should work if both locations have the same projection, that is,

[GRASS-user] raster data from one location to another

2008-12-11 Thread José María Michia
Hi list. Sorry for the very basic question. I can not find a convincing way to do it myself. I need to copy a raster map from one location to another. I've think this options: - use a intermediary format, like ASCII - use r.pack/r.unpack - copy manually the files needed. I think that the files

Re: [GRASS-user] Elevation profi le from intersecting shapefiles‏

2008-12-05 Thread José María Michia
2008/12/5 Micha Silver [EMAIL PROTECTED]: georgew wrote: Much progress! My only remaining question is: Is there a way to use the track raster file to input the values instead of using the mouse, so that the process can be more or less automated? Thank you all for your great help. I'll write

Re: [GRASS-user] Using v.in.ascii to create elevation vector

2008-11-16 Thread José María Michia
2008/11/16 Kurt Springs [EMAIL PROTECTED]: Hi folks, I am trying to convert ascii files that I bought from the Irish Ordinance Survey in to GRASS vector format. These are digital terrain models. I want to eventually make a raster surface map and a 3d raster map out demonstrating where

Re: [GRASS-user] generalize a map of points

2008-10-20 Thread José María Michia
2008/10/19 Wolf Bergenheim [EMAIL PROTECTED]: José María, If possible, I think it would be useful feature the following: - Where two labels overlap, comparing an attribute to decide which one stays For example: on a map of cities you can use the number of inhabitants. If the city A has

Re: [GRASS-user] generalize a map of points

2008-10-20 Thread José María Michia
2008/10/19 Wolf Bergenheim [EMAIL PROTECTED]: José María, If possible, I think it would be useful feature the following: - Where two labels overlap, comparing an attribute to decide which one stays For example: on a map of cities you can use the number of inhabitants. If the city A has

Re: [GRASS-user] generalize a map of points

2008-10-18 Thread José María Michia
2008/10/18 Wolf Bergenheim [EMAIL PROTECTED]: On 18.10.2008 02:30, José María Michia wrote: But my map has many elements. It is necessary to suppress some labels, or some points. Yes, v.label.sa doesn't suppress any labels. That is also the main difference between PAL and v.label.sa

Re: [GRASS-user] generalize a map of points

2008-10-17 Thread José María Michia
2008/10/17 Markus Neteler [EMAIL PROTECTED]: On Thu, Oct 16, 2008 at 11:40 PM, José María Michia [EMAIL PROTECTED] wrote: Hi all. I have a map of cities. I want to draw labels using city names, but, some generalization is needed. In other words, some labels overlap with other labels. You

[GRASS-user] generalize a map of points

2008-10-16 Thread José María Michia
Hi all. I have a map of cities. I want to draw labels using city names, but, some generalization is needed. In other words, some labels overlap with other labels. I installed grass63 to use v.generalize, but I see that I can not use that tool with maps of points. Please, I need some suggestions.

[GRASS-user] Export of a subset of a vector map

2008-10-14 Thread José María Michia
Hi, I wish to export a subset with something like: v.out.ascii.db input=localidades columns=PROVINCIA,DARTAMENTO,LOCALIDAD,TIPO But I wish to export only vectors from within current region. So, I can use v.overlay. This option uses a intermediate map. I wish to know what other alternatives

Re: [GRASS-user] flip raster

2008-10-08 Thread José María Michia
2008/10/8 Nikos Alexandris [EMAIL PROTECTED]: On Tue, 2008-10-07 at 01:37 +0100, Glynn Clements wrote: José María Michia wrote: I've imported a NetCDF file (ETOPO1 model). The resulted raster appears flipped vertically. How can I fix this? I try with mapcalc, without success

[GRASS-user] flip raster

2008-10-06 Thread José María Michia
Hi, I've imported a NetCDF file (ETOPO1 model). The resulted raster appears flipped vertically. How can I fix this? I try with mapcalc, without success: - neighborhood modifier: not accept computations in offset parameter, like map[0,total_rows-row()] - I dont know how to query map in arbitrary

Re: [GRASS-user] help needed with v.to.rast

2008-09-13 Thread José María Michia
Hi, v.in.ascii to import the points (looks good from display) v.to.rast r.resamp.interp to interpolate the gaps Maybe your approach is correct, but I've never used this command for interpolation. If you wish, try this: v.in.ascii (same as before) g.region -p -a

Re: [GRASS-user] Surface

2008-09-10 Thread José María Michia
I need to create countour... so, I think, I must interpolate a surface from this points making something like a DEM, and after, interpolate the contours... Is this correct? Yes. In addition to IDW, you can use RST for interpolate points and generate a raster surface. First all, set

Re: [GRASS-user] create 3d plane from vector lines

2008-09-09 Thread José María Michia
Hi Carlos. You can use v.surf.rst. Description (from command help): Spatial approximation and topographic analysis from given ... isoline data in vector format to floating point raster format using regularized spline with tension. Basic usage (remember to adjust region settings): v.surf.rst

Re: Geophysics functions [was Re: [GRASS-user] use pi number]

2008-08-26 Thread José María Michia
2008/8/25 Dylan Beaudette [EMAIL PROTECTED]: On Monday 25 August 2008 08:59:33 am Paulo Marcondes wrote: 2008/8/23 Paulo Marcondes [EMAIL PROTECTED]: I have been interested in implementing potential fields function in GRASS since long, but I don't have the necessary background (I mean, I

Geophysics functions [was Re: [GRASS-user] use pi number]

2008-08-24 Thread José María Michia
José, I have been interested in implementing potential fields function in GRASS since long, but I don't have the necessary background (I mean, I don't know the equations) or the coding skills. However, I can help you test/debug. Maybe that could be the starting point for me to learn

[GRASS-user] use pi number

2008-08-23 Thread José María Michia
Hello. I can not use the number pi in r.mapcalc. I tried these ways: r.mapcalc 'prueba = pi()' r.mapcalc 'prueba = pi' r.mapcalc 'prueba = PI()' r.mapcalc 'prueba = PI' With the following results: Syntax error Is this normal? Is IP defined within GRASS / r.mapcalc? Thanks for your help. José

Re: [GRASS-user] use pi number

2008-08-23 Thread José María Michia
2008/8/23 Glynn Clements [EMAIL PROTECTED]: r.mapcalc doesn't have a definition for pi; you'll need to enter a literal value. Thanks Glynn. This sounds like a weak point for me. I need to introduce Pi several times. Not for converting degrees to radians. It is another class of applications.

Fwd: [GRASS-user] use pi number

2008-08-23 Thread José María Michia
2008/8/23 José María Michia [EMAIL PROTECTED]: Is it possible to define variables? 2008/8/23 Glynn Clements [EMAIL PROTECTED]: Yes; an assignment anywhere other than at the top level will define a variable rather than an output map. You can either place the assignment at the point that you