Re: [GRASS-user] get message warning: unable to open font map in i.points such file
Hi Hamish, thank you for helping always and everybody in the way you do! Approvals!!! d.legend or d.text don't print text. I get the same message: WARNING: unable to open font map '/usr/lib/grass/fonts/.hmp': No such file I'll ask the superuser for answering the questions of compiling. cheers om shantih Philipp Hamish schrieb: Philipp Steigenberger wrote: I use in university a cvs of GRASS 6.3 in debian. The other day I got a problems with fonts in i.class and today the same using i.points. There are no words on the buttons. onlay grey beams (Balken) in Konsole I got the message WARNING: unable to open font map '/usr/lib/grass/fonts/.hmp': No such file usr/lib/grass/fonts/.hmp contains: GRASS:~$ ls -A /usr/lib/grass/fonts/ cyrilc.hmp greekc.hmp hersh.oc1 italicc.hmp romancs.hmp scriptc.hmp gothgbt.hmp greekcs.hmp hersh.oc2 italiccs.hmp romand.hmp scripts.hmp gothgrt.hmp greekp.hmp hersh.oc3 italict.hmp romans.hmp gothitt.hmp greeks.hmp hersh.oc4 romanc.hmpromant.hmp any idea what to change? May I (as a user) do something or do I need a superuser? Should we reinstall a newer cvs? Apparently stroke fonts fail -- do things like d.legend or d.text print text? 'unset GRASS_FONT' ? self compilied? from original source or debian build? I there a mirror somewhere where we can find ready-to-use and up-to-date debian-packeges? It is a moving target, so usually you'd build it yourself, e.g. http://hamish.bowman.googlepages.com/debiangisfiles#compile or get debian build rules from DebianGIS svn and run auto-build tools. you might ask on the DebianGIS mailing list for better advice: http://wiki.debian.org/DebianGis GRASS 6.2.3 (in unstable now, soon to be in testing and etch-backports) is fine for most work and is well tested. Currently at backports.org for Debian/Etch is version 6.2.1 http://packages.debian.org/grass Hamish Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Page 37 Open Source GIS by Neteler Mitasova
Matt, On Jan 28, 2008 4:23 AM, Matt [EMAIL PROTECTED] wrote: I am having trouble creating a new project with Grass using the GUI. Perhaps someone could clarify section 3.2 of the above book. Let's assume I have created /home/me/grassdata and I have downloaded the geod_pts_spm.zip to my desktop. ...ok... For others to test http://www.grassbook.org/ncexternal/ - geod_pts_spm.zip 1.4M (Geodetic points [spm]) Next in the terminal, I type grass -gui and see the Grass startup window and It would be e.g. grass63 -gui click the Georeferenced file button under Define new location. The window which pops up asks for three inputs as the book states. Seems simple enough, but after trying several variations I am still unable to get it to work. Where do I unzip geod_pts_spm.zip before the new location is created? You can unzip the file anywhere, even in /tmp/. Using the mync_spm example in the book and assuming the location of grassdata above, what do I enter for ** Name of new location mync_spm ** Path to new location /home/me/grassdata ** Path to georeference file? /tmp/ The file is gdc.shp, so /tmp/gdc.shp I believe when everything is complete I should have /home/me/grassdata/mync_spm and several folders below mync_spm, but just to be sure could you show me what the directory structure should look like after the location is created? It will create a PERMANENT directory within /home/me/grassdata/mync_spm/ and insert some files there. Hope this helps Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] v.rast.stats
Dear all, i have GRASS running under Windows and tried the command v.rast.stats. Unfortunately I got a message that I have to install awk or gawk first. What is awk and gawk and how to get ir ? Regards Niels -- - Dr. Niels Thevs Chair of Geobotany and Landscape Ecology Institute of Botany and Landscape Ecology Greifswald University Grimmer Strasse 88 17487 Greifswald Germany Tel.: +49-3834-86-4137 Fax: +49-3834-86-4114 - ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] raster from a mapset to other
Alfredo Alessandrini schrieb: how can import a raster from a mapset to other? Alfredo ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user From current mapset just use g.copy [EMAIL PROTECTED],to] i.e. g.copy [EMAIL PROTECTED],map1 If you want to copie more than one maps you could use this script I wrote: #!/bin/sh ## copies all rastermaps (map) ## r.copy map(1) map(2) map(n) ## from desired mapset to the current mapset echo Source-mapset? read answer1 echo Would you like to add a suffix to the map-names? echo (i.e. '_a' results in map_a) read answer2 echo Would you like a prefix to the map-names? echo (i.e. 'b_' results in b_map) read answer3 filelist=$* for f in $filelist ; do echo copies [EMAIL PROTECTED] to ${answer3}$f${answer2} echo g.copy [EMAIL PROTECTED],${answer3}$f${answer2} ### ### for copying vektorfiles change the scirpt in ## # g.copy [EMAIL PROTECTED],${answer3}$f${answer2}## ### done You can list the desired mapset with i.e. g.list rast mapset=PERMANENT cheers Philipp ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Snap across layers
hi Luca, - v.edit does it: bgmap Name of background vector map(s) snap to - the new digitizer in wxgrass does it (not yet enabled by default) Cheers Markus On Jan 28, 2008 3:29 PM, Luca Casagrande [EMAIL PROTECTED] wrote: Hello everybody, anyone knows if is possible to do snap across different layers in Grass 6.3? Thanks Luca ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] sigfile writing for i.cluster
Another problem arisec. I just tried i.cluster, but I could not find out the correct writing for the sigfile. It always promted that / is not allowed in filenames, but / belongs to the path of the file. Best regards Niels -- - Dr. Niels Thevs Chair of Geobotany and Landscape Ecology Institute of Botany and Landscape Ecology Greifswald University Grimmer Strasse 88 17487 Greifswald Germany Tel.: +49-3834-86-4137 Fax: +49-3834-86-4114 - ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] sigfile writing for i.cluster
Hello Niels, Sigfile is put in the path location/mapset/groups/nameof group/name of subgroup/name of sig file therefore I do not think that you can specify a path (I doing this from memory, I don't have grass in front of me). Just put the name you want for your sigfile, and if you want to read it follow the path inside your location folders. Cheers, Francesco Pirotti University of Padua Dip.to TESAF +39 049 827 2710 Another problem arisec. I just tried i.cluster, but I could not find out the correct writing for the sigfile. It always promted that / is not allowed in filenames, but / belongs to the path of the file. Best regards Niels -- - Dr. Niels Thevs Chair of Geobotany and Landscape Ecology Institute of Botany and Landscape Ecology Greifswald University Grimmer Strasse 88 17487 Greifswald Germany Tel.: +49-3834-86-4137 Fax: +49-3834-86-4114 - ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] SHELL variable not set
Hello, unfortunately I added 'rm .* ' instead of a 'rm $variable.*' in a GRASS script, hence I had to setup a new user account but when starting grass63 as the new user I get: sh-3.1$ grass63 Cleaning up temporary files. Starting GRASS ... GISDBASE='/data1/grassdb_africa'; LOCATION_NAME='HI'; MAPSET='nlm'; ERROR: The SHELL variable is not set I never encountered it when installing Linux/GRASS for the first time, I searched a bit and found some GRASS shell scripts with this error message but I couldn't find a hint how to fix that. Is is a GRASS or Linux specific problem? Any idea which SHELL variable I have to set? And how to do so? Martin P.S.:using 6.3 cvs access hence pretty old and Debian testing GRASS version ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Trouble using two screens
FYI - I'm running William's GRASS 6.3RC4 (Tiger) on a 2 screen system on a OS-X 10.4 Mac Pro and am having no problems. Luis E. Menoyo U.S. Geological Survey 677 Ala Moana Blvd., Suite 415 Honolulu, HI 96813 [EMAIL PROTECTED] 808-587-2428 Kurt Springs [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 01/26/08 07:49 PM To [EMAIL PROTECTED] cc Subject [GRASS-user] Trouble using two screens Hi folks, I was looking at some work this evening using GRASS 6.3. I use two monitors that run as a continuous unit so they act as one monitor. Once GRASS was running, I tried to shift a few GRASS windows out of the way and they seem to get stuck between then two monitors. I can get most of the window onto my second monitor, but I can't move it completely onto the second screen. My other programs are working fine. I recently upgraded to OS X 10.5.1 Leopard. Could this have something to do with it? Kurt ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] v.rast.stats
On Jan 28, 2008, at 7:32 AM, [EMAIL PROTECTED] wrote: Date: Mon, 28 Jan 2008 11:52:17 +0100 From: Niels Thevs [EMAIL PROTECTED] Subject: [GRASS-user] v.rast.stats To: grass-user@lists.osgeo.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii; format=flowed Dear all, i have GRASS running under Windows and tried the command v.rast.stats. Unfortunately I got a message that I have to install awk or gawk first. What is awk and gawk and how to get ir ? Regards Niels Niels, Just had this problem with my class. You already have awk if you installed msys. You just have to change the grass63.bat file to tell GRASS where it is. There are 2 lines rem'ed out that specify the mysys direction. Un-rem them (one has a typo with set set; change this to a single set) and make sure that the path they specify is correct. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu/~cmbarton ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] aggregate a field across features and then display related charts and histograms
On Jan 28, 2008, at 1:47 AM, [EMAIL PROTECTED] wrote: Date: Sun, 27 Jan 2008 19:35:38 +0200 From: David Epstein [EMAIL PROTECTED] Subject: [GRASS-user] aggregate a field across features and then display related charts and histograms To: grass-user@lists.osgeo.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain Hello, I have looked over a lot of documentation but am still having trouble with this task. I hope somebody on the list can point me in the right direction! I have a table of land parcels as polygon features in a postGIS database. I have another table of regions in the same postGIS database. There are between 20 and 50 parcels to a region. I can access the data without a problem (thanks to some helpful people!) I want to create several maps that aggregate/summarize the parcel data and display them as pie-charts and histograms at the centroid of each region. For example: 1. HISTOGRAM of the size of all parcels in the region. The data for this is stored in a single field for each parcel. I just need to understand how to identify the field, send it to the histogram, and display it at the centroid of the region layer. 2. PIE-CHART where each slice represents the total area owned by a particular class of owner. This is more complicated. EACH parcel has an area column for each of 7 classes of owners. So, I believe I need to keep separate tallies and send them all to a pie-chart function--but I am not sure how... Finally, is the best way to actually KEEP all this data to add new columns to the region table with SQL? thank you in advance, -david Sounds like a job for d.vect.chart Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu/~cmbarton ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] online documentation is off
Servus / Hi I guess one has to update the citings to: (respective move the 5.4 manuals also to the osgeo-server) http://grass.itc.it/download/index.php#citing /Please cite GRASS when using the software in your work. Here are some choices depending on the version used:/ * / GRASS Development Team, 2006. Geographic Resources Analysis Support System (GRASS) Software. ITC-irst, Trento, Italy. http://grass.itc.it / * / GRASS Development Team, 2005. Geographic Resources Analysis Support System (GRASS) Programmer's Manual. ITC-irst, Trento, Italy. Electronic document: http://grass.itc.it/devel/index.php / * / GRASS Development Team, 2005. GRASS 6.0 Users Manual. ITC-irst, Trento, Italy. Electronic document: *http://grass.itc.it/grass60/manuals/html_grass60/* / * / GRASS Development Team, 2002. GRASS 5.0 Users Manual. ITC-irst, Trento, Italy. Electronic document:* http://grass.itc.it/gdp/html_grass5/* / * / U.S. Army CERL, 1993. GRASS 4.1 Reference Manual. U.S. Army Corps of Engineers, Construction Engineering Research Laboratories, Champaign, Illinois, 1-425. / greez om shantih Philipp Nikos Alexandris schrieb: Salut! Just a small remark... (because I don't know where the master server now is): if the master server is not in Italy then maybe the first message in http://grass.osgeo.org/ (You are at the official GRASS site in Italy (or a mirror site) ) should be changed I suppose. On Thu, 2008-01-24 at 23:29 +0100, Markus Neteler wrote: On Jan 24, 2008 11:12 PM, G. Allegri [EMAIL PROTECTED] wrote: What's happened to the online documentation? It appears to be off from this afternoon. http://netmirror.org/mirror/grass.itc.it/grass63/manuals/html63_user/full_index.html We have yesterday moved grass.osgeo.org physically to download.osgeo.org which gives the advantage of having better ssh access to the machine. The manuals are now back to the old directory position: http://grass.osgeo.org/grass62/manuals/html62_user/ http://grass.osgeo.org/grass63/manuals/html63_user/ I have fixed the links on the server accordingly. It needs 1-2 days to propagate to all mirrors. The change is needed since grass.itc.it is now being switched to mirror mode with http://grass.osgeo.org as new master site (where also binaries are built and the programmers manual; it is also the new rsync master for tier-1 mirrors). Sorry for no earlier announcement, we changed things in a sort of emergency activity yesterday evening, and I cleaned up today. The page http://grass.osgeo.org/gdp/manuals.php is updated to the new/old location of the manual pages. Also other relevant pages have been fixed. Please watch out for further broken links. cheers, Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] SHELL variable not set
Hello Martin and all, Martin Wegmann escribió: Is is a GRASS or Linux specific problem? Any idea which SHELL variable I have to set? And how to do so? I'm not sure, but I think you have to set just the SHELL variable. Try to check in this way: 'echo $SHELL'. If you get nothing then you can set it to '/bin/bash' in the terminal you are using. If you want to set it permanently, try this: chsh -s /bin/bash. You can use BASH or whatever other shell you like. I hope this helps, Roberto. -- Roberto Antolín Sánchez Politecnico di Milano - Polo Regionale di Como (Laboratorio di Geomatica V2.8) Via Valleggio, 11 - 22100 Como, Italy tel: +39 031 332 7533 || fax: +39 031 332 7519 [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Snap across layers
Markus Neteler ha scritto: hi Luca, - v.edit does it: bgmap Name of background vector map(s) snap to - the new digitizer in wxgrass does it (not yet enabled by default) Cheers Markus On Jan 28, 2008 3:29 PM, Luca Casagrande [EMAIL PROTECTED] wrote: Hello everybody, anyone knows if is possible to do snap across different layers in Grass 6.3? Thanks Luca Hi Markus and thanks for your answer. Before moving to my data, I am doing some tests with 2 vector layers: http://img337.imageshack.us/my.php?image=schermatamapdisplay1vp5.png Basically the small one, should snap to the bigger one. The command line I use is this: v.edit map=origine bgmap=destinazione cat=1-999 tool=snap thresh=-1 But nothing change. In the log I have got a lot of line like this, both if i set thresh -1 or 500 [..] D1/1: Vect_set_thresh(): thresh = 0.00 [..] Thanks for your help Luca ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Web Migration to Drupal
I have started a new Wiki page for this task: http://grass.gdf-hannover.de/wiki/Web_Migration_to_Drupal Please help to get things done... Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] center line with v.generalize ?
No, merging is not implemented in v.generalize (yet). Did not have a look at it, but it may be quite interesting to do it. But not during the term-time as I am very busy. But it sounds like a cool Summer of Code project If you have any (rough) ideas what you would like to have in grass regarding this problem, please let me know. Daniel On Jan 24, 2008 12:08 PM, Wolf Bergenheim [EMAIL PROTECTED] wrote: On 24.01.2008 14:03, Gabriele N. wrote: I would locate the midline of the river. So I would like to transform the polygon with the middle line. Ah now I get it. Unfortunately v.generalize doesn't support merging (yet). Also I don't have time to work on that at the moment. Daniel would you have time to implement this? --Wolf -- :3 ) Wolf Bergenheim ( 8: ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user