[GRASS-user] working with shapefiles

2007-12-05 Thread Vincent BAIN
Hi all, my problem is about topology and attribute storing : (I work on Grass 6.3-cvs, connected to a postgresql database) * I start from a line shapefile representing polygons boundaries, * import it with v.in.ogr, and the option 'boundaries' ; In order to build a topologically correct map,

Re: [GRASS-user] rectifying digital images

2008-01-05 Thread Vincent BAIN
Le samedi 05 janvier 2008 à 13:44 +0100, Markus Neteler a écrit : On Jan 5, 2008 1:35 PM, Markus Metz [EMAIL PROTECTED] wrote: ... Anyway, digital cameras are apparently not supported in i.ortho.photo. Why this? I did so, using a handheld digital camera: M. Neteler, D. Grasso, I.

Re: [GRASS-user] export e00

2008-01-07 Thread Vincent BAIN
Hi Roland, unfortunately v.out.e00 is no longer maintained (formerly available at version 5). Some time ago I had initiated a thread about this subject on the french grass list (I just notice the whole archive of this list disappeared... does anybody know more about it ?) and Michel Wurtz answered

Re: [GRASS-user] export e00

2008-01-07 Thread Vincent BAIN
Roland, You can still find the message in Google cache : http://209.85.129.104/search?q=cache:EjfdqnQ9BZYJ:www.linux-nantes.fr.eu.org/pipermail/grass-fr/2006-September/001006.html+michel+wurtz+bain+e00hl=frct=clnkcd=1gl=fr (in french). VB Le lundi 07 janvier 2008 à 15:39 +0100, Roland Kaiser a

Re: [GRASS-user] Vector drawings in PDF - converting them

2008-01-17 Thread Vincent BAIN
Within Illustrator maybe you can build a script that adds intermediate points to curves (don't really remember, but it sounds like 'densify paths', or 'add anchor points'), attended that vertices will be recognized when imported Vincent Le jeudi 17 janvier 2008 à 09:03 +0100, Andreas Neumann a

Re: [GRASS-user] Orthorectification of Historic Aerial Photographs

2008-04-10 Thread Vincent Bain
May it be a stupid suggestion, but did you try to contact anyone at the USGS ? perhaps they maintain data from these old times... (here in France IGN is always helpful, and can provide answers to such historical requests) Vincent. Le jeudi 10 avril 2008 à 18:33 +0200, Markus Neteler a écrit :

[GRASS-user] Re: Post-processing ps.map output with inkscape

2008-08-20 Thread Vincent Bain
Yes, with ps2pdf the combination Grass/Inkscape works great... By the way (perhaps off subject, but it may be interesting for those who can't give up with Illustrator) : Inkscape 0.46 now handles transparency between layers. In the past it was not implemented which was a big limitation for clean

Re: [GRASS-user] how to calculate areas

2008-09-16 Thread Vincent Bain
to my mind, one has to be cautious with this module, and be aware of how surfaces are estimated. It appears that results show a big variability given the current region resolution. (just try r.surf.area on a sloppy plane [generated with r.plane], knowing its inclination and thus its actual surface

[GRASS-user] Display window export

2008-09-18 Thread Vincent Bain
Has anybody had this problem : I try to export a raster image of the Display window (tcltk interface), with the button on the top bar : 'Export display to graphics file JPG* very high resolution (300% your current resolution)' The file generated through this command is actually 3 x the display

Re: [GRASS-user] interesting article on TIN generation

2008-09-23 Thread Vincent Bain
Dylan, As I spend a couple of days computing a huge lidar dataset (first split the original file in 145 pieces ! then performing a loop with v.surf.rst, and rearrange data in a single raster), it is of great interest for us. Perhaps could this code be turned into grass module ? well, it's beyond

Re: [GRASS-user] interesting article on TIN generation

2008-09-23 Thread Vincent Bain
Le mardi 23 septembre 2008 à 01:17 -0700, Hamish a écrit : I still look for a nice method to paste together overlapping splines cleanly. Maybe first generating /sufficiently/ overlapping tiles, then adjust adjacent ones in the middle of the overlap (ok, not very clean) IM(V)HO the fact that

Re: [GRASS-user] interesting article on TIN generation

2008-09-23 Thread Vincent Bain
Sorry I forgot the PS [*] Is there any thoughts on moving r.surf.nnbathy into the main source? It requires an external dependency to use, but so do many other scripts. To me it's a valuable addition to the available quiver of interpolation methods; a nice compromise between IDW and splines.

Re: [GRASS-user] nnbathy

2008-09-23 Thread Vincent Bain
Given your system, don't know if it can help, but the Natural Neighbours interpolation library is available here : http://packages.ubuntu.com/hardy/libs/libcsiro0 Le mardi 23 septembre 2008 à 12:18 +0100, John Stevenson a écrit : Hi, I am keen to try r.surf.nnbathy, but I cannot find the

Re: [GRASS-user] nnbathy

2008-09-23 Thread Vincent Bain
Sorry for the wrong way, and thank you Morritz for contacting P. Sakov ! VB Le mardi 23 septembre 2008 à 14:50 +0200, G. Allegri a écrit : You're right Moritz. I thought it contained also the executable... 2008/9/23 Moritz Lennert [EMAIL PROTECTED]: On 23/09/08 14:07, G. Allegri wrote:

Re: [GRASS-user] r.digit. no zoom/pan option while digitizing ?

2008-09-24 Thread Vincent Bain
Nagesh, me too I think that r.digit is not handy ; I suggest you to digitize your mask contour with v.digit. Then you can generate the corresponding raster map with v.to.rast, and apply r.mask to the latter. Bye, VB Le mercredi 24 septembre 2008 à 11:27 +0530, Nagesh Bhatkar a écrit : Hello

Re: [GRASS-user] Importing polygon maps with overlapping features

2009-01-07 Thread Vincent Bain
Hello there, yes this can be seen as a limitation of grass, or more precisely of the topological data model. But I think one must remind of the strict border that should lie between geometry and a semantic contents. With a relational database structure you can of course overlap various

[GRASS-user] v.digit under wxGUI

2009-01-18 Thread Vincent Bain
Hello, Compiling grass64 on Ubuntu Hardy for 64bit system, I got this error when running v.digit under wxpython interface : /usr/local/lib/libgdi.so: undefined symbol: Py_InitModule4 Already pointed in this thread http://lists.osgeo.org/pipermail/grass-dev/2008-May/037763.html but I can't

Re: [GRASS-user] v.digit under wxGUI

2009-01-18 Thread Vincent Bain
at 6:21 PM, Vincent Bain b...@toraval.fr wrote: Yes ! you guessed my mistake, the link was pointing to the lib32 lib... Now it works fine. Thank you very much, Vincent. Le dimanche 18 janvier 2009 à 17:59 +0100, Markus Neteler a écrit : Vincent, On Sun, Jan 18, 2009 at 10

Re: [GRASS-user] interactive multiple selection

2009-01-21 Thread Vincent Bain
*production* tools, and it's what I would like to contribute. Vincent. Le mercredi 21 janvier 2009 à 09:32 +0100, Markus Neteler a écrit : On Wed, Jan 21, 2009 at 9:25 AM, Vincent Bain b...@toraval.fr wrote: Hello, considering a vector map, do you know a simple way to perform multiple

Re: [GRASS-user] interactive multiple selection

2009-01-21 Thread Vincent Bain
Very much related to this, please see my suggestions for updates to the GRASS query functions. Most should be relatively minor changes, but would make querying much easier. And it would make it easier to implement GUI wrappers for interactive querying.

Re: [GRASS-user] interactive multiple selection

2009-01-21 Thread Vincent Bain
Yes. That's the idea. Martin Landa already has tried to implement this to some extent in the new wxPython GUI. But it involves a lot of workarounds for inadequacies in the GRASS vector querying. These updates to querying modules would make this easier and more robust. Michael Nice,

Re: [GRASS-user] using other projection

2009-01-22 Thread Vincent Bain
Hello Mohammed, could you be a bit more explicit ? what is your problem ? where is located your data ? and so on... No one can really guess what you need. VB Le jeudi 22 janvier 2009 à 07:15 -0800, Mohammed Rashad a écrit : help we with using conical equal area projection for maps in GRASS

Re: [GRASS-user] wxGUI, display

2009-01-22 Thread Vincent Bain
Another suggestion, perhaps quite superficial : it would be interesting to reload the windows sizes and positions (layer manager, display, terminal). Vincent Le jeudi 22 janvier 2009 à 17:16 +0100, Martin Landa a écrit : Hi, 2009/1/22 Moritz Lennert mlenn...@club.worldonline.be: 1)

[GRASS-user] Re: using other projection

2009-01-22 Thread Vincent Bain
Perhaps a good way to proceed is to read some documentation for a first approach. This document https://subversion.gdf-hannover.de/dl.php?download=gdf_grass60_v1.2_en.pdf can help you, especially chapters 4 to 6. In a few words, you have to create a location according to your projection

Re: [GRASS-user] wxGUI, display

2009-01-22 Thread Vincent Bain
Yes it is (formerly I believe it was not, sorry). Vincent Le jeudi 22 janvier 2009 à 18:16 +0100, Martin Landa a écrit : Hi, 2009/1/22 Vincent Bain b...@toraval.fr: Another suggestion, perhaps quite superficial : it would be interesting to reload the windows sizes and positions (layer

Re: [GRASS-user] georectify tool in wxGUI

2009-01-22 Thread Vincent Bain
Martin, updated at revision 35542 but the error remains. Perhaps am I doing something wrong ? Vincent Le jeudi 22 janvier 2009 à 20:15 +0100, Martin Landa a écrit : Hi, 2009/1/22 Vincent Bain b...@toraval.fr: self.parent.goutput.WriteLog(_('POINTS file %s saved

Re: [GRASS-user] georectify tool in wxGUI

2009-01-22 Thread Vincent Bain
Yes, now it works ! Thank you, Vincent. Le jeudi 22 janvier 2009 à 21:23 +0100, Martin Landa a écrit : Hi, 2009/1/22 Vincent Bain b...@toraval.fr: Martin, updated at revision 35542 but the error remains. Perhaps am I doing something wrong ? in relbr64 fixed in r35543. Martin

[GRASS-user] d.extract strange behavior

2009-01-24 Thread Vincent Bain
Hi list ! Following upon a previous post concerning multiple selections on vector maps, I explored the capabilites of d.extract. I have a vector map1 linked to a pg database. When running : d.extract in=map1 out=map2 I select a set of boundaries (or centroids, or anything else).

[GRASS-user] grass startup cmd line

2009-02-10 Thread Vincent Bain
Hi list, as I'm quite a lazy boy, and am currently working on a single grass project, I would appreciate to launch grass from a terminal so that it starts with a given GUI, a given gisbase/location/mapset and a given workspace... This command grass64 -wxpython

Re: [GRASS-user] grass startup cmd line

2009-02-10 Thread Vincent Bain
/10 Vincent Bain b...@toraval.fr: as I'm quite a lazy boy, and am currently working on a single grass project, I would appreciate to launch grass from a terminal so that it starts with a given GUI, a given gisbase/location/mapset and a given workspace... This command grass64

[GRASS-user] g.findfile

2009-02-10 Thread Vincent Bain
Hi, Using grass6.4.0svn (revision 35838), the result of g.findfile appears not to run properly for raster query : create a raster map test, run g.findfile element=raster file=test. Looks like the file does not exist : name= mapset= fullname= file= (Tested successfully with a vector map) What am

Re: [GRASS-user] g.findfile

2009-02-10 Thread Vincent Bain
Thank you Martin ! (for my info, is it a recent change or was the previous keyword really 'raster' ?) Vincent Le mardi 10 février 2009 à 14:39 +0100, Martin Landa a écrit : Hi, 2009/2/10 Vincent Bain b...@toraval.fr: Using grass6.4.0svn (revision 35838), the result of g.findfile appears

Re: [GRASS-user] grass startup cmd line

2009-02-11 Thread Vincent Bain
Thank you Hamish, As you suggest, I wrote a shell script containing the instruction g.gui workspace=... After declaring the GRASS_BATCH_JOB variable, and launching grass in text mode, the wxpython GUI starts and my_workspace loads correctly, but the problem is I can't get the control on the

Re: [GRASS-user] grass startup cmd line

2009-02-11 Thread Vincent Bain
Hello Moritz, unfortunately, I tried it too, but I got bailed out, with several error statements that don't really spark off anything to me : Traceback (most recent call last): File /usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py, line 70, in module import

[GRASS-user] db.select and SELECT COUNT query

2009-02-11 Thread Vincent Bain
Hi, has anybody ever had this kind of message ? Working on grass6.4.0svn, considering a database connection through the pg driver ; in order to count records matching an attribute (attr) value I execute this command on a table (table1) linked to a vector map : echo select

Re: [GRASS-user] db.select and SELECT COUNT query

2009-02-11 Thread Vincent Bain
\ | db.select 2/dev/null Good evening ;-) Vincent Le mercredi 11 février 2009 à 21:36 +0100, Vincent Bain a écrit : Hi, has anybody ever had this kind of message ? Working on grass6.4.0svn, considering a database connection through the pg driver ; in order to count records

Re: [GRASS-user] face to DEM?

2009-02-15 Thread Vincent Bain
Hello Adam, hope I understood what you mean to do. If I had to cope with your problem, I would import the source file as points, then run v.to.rast, and r.surf.nnbathy with the l interpolation method. The risk for this solution is the triangulation performed by r.surf.nnbathy be different from

[GRASS-user] error saving workspace

2009-02-17 Thread Vincent Bain
Hello, currently working on grass64.svn (v.35911), I cannot save my workspace anymore under wxpython GUI. An error window pops up with the following message : Writing current settings to workspace file failed (global name 'val' is not defined). Am I doing something wrong

Re: [GRASS-user] error saving workspace

2009-02-17 Thread Vincent Bain
Indeed,:-) Thank you. Vincent Le mardi 17 février 2009 à 20:39 +0100, Martin Landa a écrit : Hi, 2009/2/17 Vincent Bain b...@toraval.fr: currently working on grass64.svn (v.35911), I cannot save my workspace anymore under wxpython GUI. An error window pops up with the following

Re: [GRASS-user] v.digit - new wiki page for migrators

2009-02-18 Thread Vincent Bain
Hi, it may not be the right place to develop proposals, but if I could piggyback on what Jan said, I think his suggestion is very pertinent to those who -- as I said in a recent previous post -- really produce vector data ! one has to be able to work with both hands (one on the keyboard, the other

Re: [GRASS-user] v.digit - new wiki page for migrators

2009-02-18 Thread Vincent Bain
for enhancements, where can I put them? Vincent Bain wrote: Hi, it may not be the right place to develop proposals, but if I could piggyback on what Jan said, I think his suggestion is very pertinent to those who -- as I said in a recent previous post -- really produce vector data ! one has

Re: [GRASS-user] output tables

2009-02-28 Thread Vincent Bain
Which db driver do you use ? which variables do you need to export (elevation, length, etc.)? Have a look at v.to.db. Good luck, Vincent Le samedi 28 février 2009 à 09:26 +, Matthew Mulbrandon a écrit : Hello, I just want to output all my data in file tenn_county_all into a comma

Re: [GRASS-user] How update vector layers?

2009-03-06 Thread Vincent Bain
Hi Thybério, it is actually v.patch that you need to run for this purpose (AFAIU your problem). v.patch allows to merge several maps with attribute preservation (-e flag), but it only works for layer 1 features. I suggest you to check if each linked table has the same columns definition. Instead

Re: [GRASS-user] How update vector layers?

2009-03-07 Thread Vincent Bain
If you are sure category values don't overlap, then you can use the -a flag. But in this case I would NOT give both arguments -a and -e; i.e. given that the sugarcane map already has a related table, the features from sugarcane_update will populate the table with new rows (it is the reason why cat

Re: [GRASS-user] How update vector layers?

2009-03-07 Thread Vincent Bain
Having a look at the man page of the v.patch command, I was surprised by a semantic ambiguity : saying v.patch Create[s] a new vector map layer by combining other vector map layers sounds quite odd, shouldn't we say :Create a new vector map by combining other vector maps, given that only layer 1

Re: [GRASS-user] How update vector layers?

2009-03-08 Thread Vincent Bain
Thybério, as Markus said, you cannot proceed this way because your output map is already involved in the patch process. So using the -a option, you must not include the target map. Try : v.patch -a -e --overwrite input=sugarcane_update output=sugarcane To work safely regarding your database

Re: [GRASS-user] import DWG files ?

2009-04-01 Thread Vincent Bain
Hi Grégoire, it is still possible to compile grass with the the option --with-opendwg, then specify where is located your ad2.h and other files needed by v.in.dwg. You have to subscribe to Open Design Alliance (ODA) to obtain the opendwg toolkit ; AFAIR you have to pay $250 to register (formerly

[GRASS-user] concurrent versions of grass

2009-04-01 Thread Vincent Bain
Hi, till recently I used to work on a Hardy-Ubuntu GNU/linux. I was able to run various grass versions installed on the system. Now on Debian I cannot install let's say 640_rc2 if 6.5.svn is already installed. The error returned by the system deals with the replacement of file

Re: [GRASS-user] concurrent versions of grass

2009-04-01 Thread Vincent Bain
Perhaps, but it could be interesting to check whether the error is reproductible, or it is due to a configuration mess on my system... Thank you, VB Le mercredi 01 avril 2009 à 22:18 +0200, Markus Neteler a écrit : On Wed, Apr 1, 2009 at 10:02 PM, Vincent Bain b...@toraval.fr wrote: Hi

Re: [GRASS-user] concurrent versions of grass

2009-04-01 Thread Vincent Bain
In my case, what if I voluntarily remove gem6 before installing a second version of Grass ? will the previous grass install be damaged ? Le mercredi 01 avril 2009 à 22:28 +0200, Markus Neteler a écrit : On Wed, Apr 1, 2009 at 10:24 PM, Vincent Bain b...@toraval.fr wrote: Perhaps

Re: [GRASS-user] concurrent versions of grass

2009-04-02 Thread Vincent Bain
Thank you, I'll try it VB Le mercredi 01 avril 2009 à 22:53 +0200, Markus Neteler a écrit : Unless you don't use GEM then you are fine to remove/rename it. Markus On Wed, Apr 1, 2009 at 10:33 PM, Vincent Bain b...@toraval.fr wrote: In my case, what if I voluntarily remove gem6 before

[GRASS-user] working on a mounted external disk

2009-04-08 Thread Vincent Bain
Hello, has anybody ever had problems accessing a gisdbase located on an external disk ? In my case, I can open a grass session in a distant location/mapset : grass65 /mnt/path_to_my_disk/my_location/topo From within this place, everything works well, OK. If I start grass from

Re: [GRASS-user] working on a mounted external disk

2009-04-08 Thread Vincent Bain
OH, that simple ! shame on me :-( Sorry for being so dazed... A detail concerning r.proj in that context of distinct gisdbases : if the distant location has the same name as the current (i.e. in my example both locations are called 'my_location'), then the command returns a comprehensible error :

Re: [GRASS-user] working on a mounted external disk

2009-04-08 Thread Vincent Bain
Thank you Moritz, I tried to specify the path to the target database location this way : r.proj input=dem50 location=/mnt/path_to_my_disk/my_location mapset=topo dbase=/mnt/path_to_my_disk/ output=dem50 unfortunately it still returns the same error. Well, maybe I should

Re: [GRASS-user] working on a mounted external disk

2009-04-08 Thread Vincent Bain
mercredi 08 avril 2009 à 14:32 +0200, Moritz Lennert a écrit : On 08/04/09 14:13, Vincent Bain wrote: It would be nice if the dbase argument was checked /before/ the location argument, in order to admit same location names, not necessarily meaning that we project data in an identical projection

Re: [GRASS-user] working on a mounted external disk

2009-04-08 Thread Vincent Bain
Apparently a fix for this issue done by Markus a long time ago in grass6, but this got lost, when (IIUC) r.proj.seg became r.proj in grass7. OK, I've got it : I made changes to raster/r.proj/main.c instead of raster/r.proj.seg/main.c Now it works fine with the right main.c file ! Thank

[GRASS-user] error in wx GUI Orthorectification module

2009-04-12 Thread Vincent Bain
Hi, on grass65 (rev 36698), in the wx GUI, calling 'Imagery Ortho photo rectification' results in the freezing of the application. Closing the X monitor allows to escape from the error. Opening a monitor prior to the call results in the same freezing (what looks strange to me is that the command

Re: [GRASS-user] Multiple to one question

2009-04-14 Thread Vincent Bain
Hello Adam, maybe another solution in this case would be a set of 2 tables : * one linking to the geometry, that is containing nothing but cat values, * another one, containing a cat column (related to the geometric table) and different data columns corresponding to your sampling. Does this help

Re: [GRASS-user] Multiple to one question

2009-04-14 Thread Vincent Bain
:37, Vincent Bain wrote: Hello Adam, maybe another solution in this case would be a set of 2 tables : * one linking to the geometry, that is containing nothing but cat values, * another one, containing a cat column (related to the geometric table) and different data columns corresponding

Re: [GRASS-user] traveling salesman problem in air

2009-04-15 Thread Vincent Bain
Sorry if I'm beside the point, but I insist, being myself interested in this topic... My suggestion of a delaunay triangle net to join polygons centroids seems to be totally beside the point :-( I would just like to know why. Probably sth I did not catch ? Thank you VB Le mercredi 15 avril

Re: [GRASS-user] Rotate a map display

2009-04-15 Thread Vincent Bain
Jérôme, If you need to warp a map for a strict display purpose, IMHO it's not to be performed from within grass given that this operation makes no sense geographically. Don't know what the context is, but if you just have to rotate an image output of a map maybe you'd better look towards image

[GRASS-user] import dxf 3d polylines

2009-04-18 Thread Vincent Bain
Hi list, I need to import a dxf file containing 3d contourlines. I was convinced v.in.dxf was able to do that, unfortunately, it seems it does not. My contour lines are imported flat, ie with elevation set to 0... and no specific field provided with altitude. Reading the man page I see one can

Re: [GRASS-user] import dxf 3d polylines

2009-04-19 Thread Vincent Bain
that box. Cheers, Nick Cahill On Apr 18, 2009, at 2:08 PM, Vincent Bain wrote: Hi list, I need to import a dxf file containing 3d contourlines. I was convinced v.in.dxf was able to do that, unfortunately, it seems it does not. My contour lines are imported flat, ie

Re: [GRASS-user] import dxf 3d polylines

2009-04-19 Thread Vincent Bain
Yes, I use grass65 (rev 36785). Now I remember I formerly used to compile grass with opendwg ; I would possibly perform this kind of import with v.in.dwg on .dwg files. (Anyway, now it's over because last year I gave up paying for my ODA membership). You can try importing this 3d dxf file :

Re: [GRASS-user] import dxf 3d polylines

2009-04-20 Thread Vincent Bain
: http://trac.osgeo.org/grass/ including the relevant info. Markus On Sun, Apr 19, 2009 at 10:35 AM, Vincent Bain b...@toraval.fr wrote: Yes, I use grass65 (rev 36785). Now I remember I formerly used to compile grass with opendwg ; I would possibly perform this kind of import

[GRASS-user] wx GUI profile analysis tool

2009-04-23 Thread Vincent Bain
Hello all, the profile analysis tool available at wx map display is definitely usefull. As a suggestion, it would be more powerfull if we could set, in the settings dialog box, an optional fixed ratio scale (1:1). In the case raster values are homogenous to distances (elevation values) then

Re: [GRASS-user] wx GUI profile analysis tool

2009-04-23 Thread Vincent Bain
Hello Moritz, IIUC what you want, I think you can approach this by setting the min and max values of both axes to the same values in the Profile plot settings and resizing the plot window in order to have a square grid. That's it, I agree it's a matter of comfort, but... I am lazy !

[GRASS-user] problem with multiple selection on layer manager

2009-04-28 Thread Vincent Bain
Hi, trying to drop a set of maps from my display, I noticed the multiple map selection is not possible within the layer manager window through Ctrl +click or Shift+click. But it is possible to perform from the keyboard : Ctrl+up/down arrows. Oh, I forgot : I work on grass65 svn version.

[GRASS-user] wx python memory allocation

2009-08-15 Thread Vincent Bain
Hello list, for I've been testing grass70 python interface I've noticed a crash frequently related to memory consumption : the python process requires an /increasing/ amount of memory while e.g. wandering on the map display. The problem is obvious when the display copes with raster data. After

Re: [GRASS-user] GRASS project movement

2009-09-11 Thread Vincent Bain
Perhaps useful to raise the particular status of db data : if you use dbf driver, the directory will be saved, but if you have an external db connection, beware of data loss... Le vendredi 11 septembre 2009 à 12:42 +0200, Markus Neteler a écrit : On Fri, Sep 11, 2009 at 9:11 AM, christian Brandt

[GRASS-user] db.execute transactions

2009-11-12 Thread Vincent Bain
Hi List, working on grass65 svn, with the pg dbms driver, I am trying to run several slq statements from a shell script. These statements are generated within a loop and I would like them to be executed in a transaction. I see it might not be possible this way : echo BEGIN TRANSACTION; |

[GRASS-user] grass70 and display monitor

2009-12-02 Thread Vincent Bain
Dear grass users, my question could be insane but I am wondering if there is an equivalent command to d.mon in grass70. In several man pages I saw a reference to d.frame but it seems not be implemented yet. Or will grass70 give up with x monitors ? considering one still can launch grass in text

Re: [GRASS-user] grass70 and display monitor

2009-12-02 Thread Vincent Bain
On Dec 2, 2009, at 10:34 AM, grass-user-requ...@lists.osgeo.org wrote: Date: Wed, 02 Dec 2009 18:22:15 +0100 From: Vincent Bain b...@toraval.fr Subject: [GRASS-user] grass70 and display monitor To: GRASS user list grass-user@lists.osgeo.org Message-ID: 1259774535.11312.12.ca...@vincent

Re: [GRASS-user] grass70 and display monitor

2009-12-03 Thread Vincent Bain
. On the other hand I am not aware enough of the constraints that lead to drop x monitors. Bye, Vincent Le jeudi 03 décembre 2009 à 06:00 +, Glynn Clements a écrit : Vincent Bain wrote: my question could be insane but I am wondering if there is an equivalent command to d.mon in grass70

Re: [GRASS-user] grass70 and display monitor

2009-12-03 Thread Vincent Bain
: And for easy reference, here is the thread: http://lists.osgeo.org/pipermail/grass-dev/2009-November/047135.html Cheers, John On Dec 2, 2009, at 9:46 AM, Vincent Bain wrote: Thank you Michael, I found the thread... Yours, Vincent Le mercredi 02 décembre 2009 à 10:37 -0700

Re: [GRASS-user] grass70 and display monitor

2009-12-03 Thread Vincent Bain
Clements a écrit : Vincent Bain wrote: Glynn, with your method based on displaying grass files on the fly in a viewer, I guess all d.* interactive commands will fail, won't they ? There are no interactive d.* commands in 7.0. The 7.0 display architecture doesn't have any facility to query

Re: [GRASS-user] grass70 and display monitor

2009-12-05 Thread Vincent Bain
Le vendredi 04 décembre 2009 à 14:16 -0700, Michael Barton a écrit : Markus, This is helpful. Much more so than simply those that ask 'why can't we do things the way we did'. Michael, as far as I am concerned by your remark, I just wish to distinguish my attitude from that of a potential

Re: [GRASS-user] grass70 and display monitor

2009-12-05 Thread Vincent Bain
Hamish, you're right, anyone can still freely use former but stable versions of Grass (like Jan does with grass5 for digitizing) for his particular purposes. Looking towards future I just figure out it's high time I began learning python ;-) Anyway, thank you all for this interesting discussion,

Re: [GRASS-user] grass70 and display monitor

2009-12-05 Thread Vincent Bain
Thank you Michael and others, I really appreciate the time you allow to clarify these points. I am convinced the discussion will have been benefic to many other users. Yours, Vincent. ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] DEM creation from stereo pairs

2009-12-12 Thread Vincent Bain
Michael, don't know if it matches your needs as it is not an automatic process but I remember a long time ago I used e-foto, formerly only available on windows. It was a very rough photogrammetry station which allowed to digitize contour lines on the basis of stereo couples. Nowadays I see the

Re: [GRASS-user] DEM creation from stereo pairs

2009-12-12 Thread Vincent Bain
Dynamics Complexity Professor of Anthropology, School of Human Evolution Social Change Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Dec 12, 2009, at 2:17 AM, Vincent Bain wrote: Michael, don't

Re: [GRASS-user] DEM creation from stereo pairs

2009-12-12 Thread Vincent Bain
and don't know what is required. Oh, on Debian-based distros, qmake-qt4 should be in the libqt4-dev package Vincent. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] ps.map Advice

2010-01-05 Thread Vincent Bain
If you really need to have full control on your virtual printer output, have a look at gs arguments : http://www.ghostscript.com/doc/7.07/Use.htm you might calculate what resolution gives you 300dpi by measuring the width of the printed map box in inches and multiplying by the desired dpi.

[GRASS-user] ps.map and line style

2010-01-12 Thread Vincent Bain
Hello, in a map composition I need to draw contours with two particular linestyles: - a line bedecked with crosses: xxxx - a double line: = I am wondering if there is a simple way to specify e.g. a postscript linear pattern that applies to vlines, the same

Re: [GRASS-user] ps.map and line style

2010-01-12 Thread Vincent Bain
Hi John, thanks for the trick, I'll give it a try, though I need two black lines with /transparency/ in between. Vincent. Le mardi 12 janvier 2010 à 10:10 +, John A Stevenson a écrit : Vincent Bain wrote: Hello, in a map composition I need to draw contours with two particular

Re: [GRASS-user] ps.map and line style

2010-01-12 Thread Vincent Bain
Yes Hamish, this is what I was planning to do in the end. If I go this way, I'll probably have to implement an 'angle' attribute in order to align my point symbols on the line direction... Will give it a try too, thank you, Vincent. Le mardi 12 janvier 2010 à 02:57 -0800, Hamish a écrit :

[GRASS-user] working on Oracle Spatial Data

2010-01-18 Thread Vincent Bain
Hello list, could anyone help me finding ressources on the way Grass should be built, configured, etc. in order to connect to data stored in an Oracle database ? I wonder if gdal by default compiles with Oracle support, how one must set the ODBC connection, which grass environment variables have

Re: [GRASS-user] working on Oracle Spatial Data

2010-01-19 Thread Vincent Bain
Ok, yet it's part of a groundwork for me. Going further I'll try to feed the wiki page... As a basis, I found a doc page on Oracle website, written by Helena Markus : http://www.oracle.com/technology/pub/articles/mitasova-grass.html Vincent. Le mardi 19 janvier 2010 à 01:17 -0800, Hamish a

Re: [GRASS-user] to separate a polygon

2010-02-09 Thread Vincent Bain
and of belonging to adjacent parcels. As if I would define a sidewalk. Only the first step is already causing me problems. Thank you Yvan Vincent Bain a écrit : Yvan, could you please state your intention ? and clarify how your network is represented : are roads

Re: [GRASS-user] clean nodes in topology

2010-02-18 Thread Vincent Bain
Yvan, have a look at v.build.polylines Vincent. Le jeudi 18 février 2010 à 10:50 +0100, Yvan Paillé a écrit : Hello, I have a map with more polygons. The problem is that polygons have multiple nodes distributed randomly and no located at the intersecting polygons. Do you know a function to

Re: [GRASS-user] graphically selecting multiple features

2010-02-18 Thread Vincent Bain
Hello Kurt, may it help you, I wrote a /very draft/ add-on that could help you : http://grass.osgeo.org/wiki/GRASS_AddOns#v.selmany The name of the module should remind you of old AI stuff... it's a shell script, so not working with grass70, and only tested with postgresql database connection (it

Re: [GRASS-user] Rectify an image

2010-02-22 Thread Vincent Bain
Nikos, as Maciek said, your image seems to need warping, so I fear you have no other solution than georectify it. Vincent Le lundi 22 février 2010 à 11:03 +, Nikos Dumakis a écrit : How can r.region put my image in place? Because it's a geostationary data so the image corners don't have

Re: [GRASS-user] translucency and svg output

2010-03-25 Thread Vincent Bain
Pete, sorry if I'm off board : do you absolutely need to generate a /vector/ output ? Vincent. Le mercredi 24 mars 2010 à 20:15 -0700, pete davidson a écrit : On Wed, Mar 24, 2010 at 7:49 PM, pete davidson caiti...@gmail.com wrote: On Wed, Mar 24, 2010 at

Re: [GRASS-user] grass 7 and ubuntu start up

2010-03-25 Thread Vincent Bain
Hi Matthew, just an idea : did you check if grass70 exists in your path and if so, is it executable (you can type sth like ls -l /usr/bin/grass* in a term) Yours, Vincent. Le jeudi 25 mars 2010 à 12:24 +, Matthew Mulbrandon a écrit : Hello, Just installed grass 7.0 using the latest

Re: [GRASS-user] db.select driver issue

2010-03-28 Thread Vincent Bain
Richard, FYI the problem may be located at the driver level: with 'pg' driver this query works fine. Bye, Vincent Le dimanche 28 mars 2010 à 08:54 +1100, Richard Chirgwin a écrit : In a previous thread, I mentioned trouble with Grass-GIS's database driver on complex queries, but couldn't

[GRASS-user] d.vect option for dotted or hatched line display

2010-04-03 Thread Vincent Bain
Hello list, is there anywhere a way to choose a linestyle (e.g. dots or hatches) for displaying vector maps ? Did not find such option on the d.vect man page. I know it is achievable in the ps module, but is it possible on the grass display ? Thank you, Vincent.

Re: [GRASS-user] maps France and Germany

2010-05-12 Thread Vincent Bain
AFAIK, this data level in France is not free. The only free administrative data I know is available here : http://professionnels.ign.fr/DISPLAY/000/528/175/5281750/GEOFLADept_FR_Corse_AV_L93.zip as a shapefile. Or may you have a look at this address : http://download.geofabrik.de/osm/europe/

Re: [GRASS-user] Really dumb script question

2010-06-28 Thread Vincent Bain
Hello Richard, just a suggestion, though I'm not a bash expert : k=10 while [ $k -le 250 ]; do i=0 while [ $i -lt $k ]; do image=`echo Background_$i.png` your stack of operations on $image; ((i++)); done k=$((k+10));

Re: [GRASS-user] Really dumb script question

2010-06-28 Thread Vincent Bain
Oops, checking for your reply, I notice an error in my code at line 3 : replace i=0 with i=$((k-10)) Yours, Vincent. Le lundi 28 juin 2010 à 14:06 +0200, Vincent Bain a écrit : Hello Richard, just a suggestion, though I'm not a bash expert : k=10 while [ $k -le 250 ]; do i=0

Re: [GRASS-user] create a mask to exclude plate area

2010-07-19 Thread Vincent Bain
Bonsoir Étienne, Je crois comprendre que ton problème se rapporte à l'identification de zones sur des critères géomorphologiques. Peut-être pourrais-tu partir sur un traitement avec r.mapcalc ou des outils comme r.reclass pour lisser ta topo ou du moins discrétiser ta carte des pentes, afin

  1   2   3   >