Re: [GRASS-user] Set rasters with inf values to nodata

2014-04-01 Thread Moskovitz, Bob@DOC
--- From: neteler.os...@gmail.com [mailto:neteler.os...@gmail.com] On Behalf Of Markus Neteler Sent: Tuesday, April 01, 2014 12:39 PM To: Moskovitz, Bob@DOC Cc: grass-user@lists.osgeo.org Subject: Re: [GRASS-user] Set rasters with inf values to nodata On Tue, Apr 1, 2014 at 6:43 PM, Moskovitz, Bob@DOC

Re: [GRASS-user] Set rasters with inf values to nodata

2014-04-01 Thread Moskovitz, Bob@DOC
ters/second -Original Message- From: neteler.os...@gmail.com [mailto:neteler.os...@gmail.com] On Behalf Of Markus Neteler Sent: Sunday, March 30, 2014 2:39 PM To: Moskovitz, Bob@DOC Cc: grass-user@lists.osgeo.org Subject: Re: [GRASS-user] Set rasters with inf values to nodata On Wed, Mar

[GRASS-user] Set rasters with inf values to nodata

2014-03-19 Thread Moskovitz, Bob@DOC
Hello all, I have a set of geotiffs that have inf (infinity) values that I would like to set to nodata. How can I do that in GRASS or gdal? Thanks! Bob Robert Moskovitz California Geological Survey Seismic Hazards Zonation Program CONFIDENTIALITY NOTICE: This communication is intended only

[GRASS-user] Interpolate grid(s) based on vector.

2013-08-01 Thread Moskovitz, Bob@DOC
Hello Grass List, I have a set of rasters (ground acceleration, modal mag., and distance) that I want to interpolate based on the location of my point features (borehole location) and update my point feature with the values from this interpolation. I see that v.what.rast might help, but I'm no

Re: [GRASS-user] Geomorphons and extension manager

2013-02-26 Thread Moskovitz, Bob@DOC
When I tried to compile r.geomorphon, I got the errors you see below. I just tried g.extensions with similar results. $ make MODULE_TOPDIR=/home/bob/dev/gis/grass70 test -d OBJ.x86_64-unknown-linux-gnu || mkdir -p OBJ.x86_64-unknown-linux-gnu gcc -g -Wall -Werror-implicit-function-declaratio

RE: [GRASS-user] Interpolate scatter data with faults?

2012-03-23 Thread Moskovitz, Bob
27;d use surfit, but it appears to be abandoned (haven't been updated since 2006). Bob From: Thomas Adams [mailto:thomas.ad...@noaa.gov] Sent: Friday, March 23, 2012 2:19 PM To: Moskovitz, Bob Cc: grass-user@lists.osgeo.org Subject: Re: [GRASS-user] Interpolate scatter data with faults?

[GRASS-user] Interpolate scatter data with faults?

2012-03-23 Thread Moskovitz, Bob
Hello Grass Users, Googling around, I see that I can interpolate scattered data by using v.surf.rst and use masks. I also see that Surfit (see http://surfit.sourceforge.net/ ) can do it too. Anyone know of other methods? Thanks! Bob Bob Moskovitz California Geological Survey Se

RE: [GRASS-user] Re: How to merge rasters using feathering/blending ?

2011-02-28 Thread Moskovitz, Bob
I haven't tried it yet, but what about this: http://grass.osgeo.org/wiki/GRASS_AddOns#r.smoothpatch There are other useful addons, so you might want to browse around that page. Bob Bob Moskovitz Seismic Hazards Mapping Program California Geological Survey 801 K Street MS-1231 Sacramento, CA 9

RE: [GRASS-user] Surface spot interpolates heights for pointis in a feature class from surface

2010-07-23 Thread Moskovitz, Bob
You should take a look at v.what.rast. According to the manual: v.what.rast reads raster value for each point in the vector and updates col column in vector attribute table by this value. The column should be type number (integer, float, double, ... ). If more points have the sa

RE: [GRASS-user] v.in.e00 vs. v.in.ogr

2009-11-17 Thread Moskovitz, Bob
I've noticed that using avcimport (which converts .e00 files to binary coverages) greatly speeds up import of .e00 files when you use ogr2ogr. So v.in.ogr probably uses avcimport for this reason. Bob Moskovitz Research Analyst I Seismic Hazard Evaluation Project California Geological Survey htt

RE: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-07-13 Thread Moskovitz, Bob
See comments below. Glynn Clements wrote: > > GRASS 6.4.0svn (Morgan_Hill)> assoc .py > > .py=py_auto_file > > > > GRASS 6.4.0svn (Morgan_Hill)> ftype py_auto_file > > py_auto_file="C:\OSGeo4W\bin\python.exe" "%1" %* > > > > GRASS 6.4.0svn (Morgan_Hill)> C:\Temp\printargs.py this is a test > >

RE: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-07-09 Thread Moskovitz, Bob
Glynn Clements wrote: > 1. Ensure that .py files are configured to be run with the Python > interpreter. You should be able to double-click on a .py file in > Explorer and have it run. This should be done by the Python installer, > but I don't know if the OSGeo4W installer does this. > > If it is

RE: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-23 Thread Moskovitz, Bob
tended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. > -Original Message- > From: Glynn Clements [mailto:gl...@gclements.plus.com] > Sent: Monday, June 22, 2009 7:22 PM > To: Moskovitz, Bob

RE: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-22 Thread Moskovitz, Bob
in', 'C:\\Perl\\bin\\', 'C:\\WIN DOWS\\system32', 'C:\\WINDOWS', 'C:\\WINDOWS\\System32\\Wbem', 'C:\\Perl\\bin\\' ,'C:\\WINDOWS\\system32', 'C:\\WINDOWS', 'C:\\WINDOWS\\System32\\Wbem'] There is no c:\osgeo4w\bin\

RE: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-22 Thread Moskovitz, Bob
I also wanted to add that I did run the program like this: c:\osgeo4w\apps\grass\grass-6.4.0svn\scripts\m.dipslope.py --help > -Original Message- > From: grass-user-boun...@lists.osgeo.org > [mailto:grass-user-boun...@lists.osgeo.org]on Behalf Of Moskovitz, Bob > Sent: Mon

RE: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-22 Thread Moskovitz, Bob
\grass\\grass-6.4.0svn\\scripts\\m.dipslope.py'] (Pdb) > -Original Message- > From: Glynn Clements [mailto:gl...@gclements.plus.com] > Sent: Monday, June 22, 2009 3:30 PM > To: Moskovitz, Bob > Cc: Grass-User (E-mail) > Subject: RE: [GRASS-user] Problems with GRASS python code in os

RE: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-22 Thread Moskovitz, Bob
veral machines. > -Original Message- > From: Hamish [mailto:hamis...@yahoo.com] > Sent: Monday, June 22, 2009 10:42 AM > To: Glynn Clements; Moskovitz, Bob > Cc: Grass-User (E-mail) > Subject: RE: [GRASS-user] Problems with GRASS python code in osgeo4w > > > &g

RE: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-22 Thread Moskovitz, Bob
cation is strictly prohibited. > -Original Message- > From: Glynn Clements [mailto:gl...@gclements.plus.com] > Sent: Friday, June 19, 2009 7:03 PM > To: Moskovitz, Bob > Cc: Grass-User (E-mail) > Subject: Re: [GRASS-user] Problems with GRASS python code in osgeo4w > >

[GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-19 Thread Moskovitz, Bob
Hello List, I'm trying to figure out how to write python scripts using grass.py under osgeo4w. I was hoping that python script (and the binary commands) would behave similarly to the grass environment on my Ubuntu box. You know...just type the command and the gui for that command comes up.

RE: [GRASS-user] Write python grass program with osgeo4w

2009-06-17 Thread Moskovitz, Bob
do see the help. Without "--help", m.test.py doesn't start up in a gui. What must be done to make python scripts to behave like regular grass commands? Bob > -Original Message- > From: Glynn Clements [mailto:gl...@gclements.plus.com] > Sent: Saturday, June 13, 2

RE: [GRASS-user] Write python grass program with osgeo4w

2009-06-14 Thread Moskovitz, Bob
I see that GRASS in OSGEO4W is only up to r36506. Hopefully there will be an update to OSGEO4W soon...maybe even an update to GRASS 6.4 RC5 :-) -Original Message- From: Glynn Clements [mailto:gl...@gclements.plus.com] Sent: Sat 6/13/2009 7:56 AM To: Moskovitz, Bob Cc: Grass-User (E

[GRASS-user] Write python grass program with osgeo4w

2009-06-12 Thread Moskovitz, Bob
Hello list, A coworker and I have been trying to use the first example in http://download.osgeo.org/grass/grass6_progman/pythonlib.html. We discovered that "import grass.script as grass" has to be changed to "import grass". Bel

RE: [GRASS-user] exporting areas to shapefiles without filling holes

2009-04-09 Thread Moskovitz, Bob
Hello Hamish, I had a possibly related problem with a vector that went through v.clean. I filed this ticket: http://trac.osgeo.org/grass/ticket/397. I noticed that layer 0 had the filled holes while layer 1 was the good polygons. v.clean seemed to merge those two layers. With Markus M's fix

RE: [GRASS-user] Is it possible to work on .mdb geomedia file?

2009-04-09 Thread Moskovitz, Bob
I'm also interested in using Geomedia .mdb files with grass. Btw, do you use geomedia Grid? Bob Moskovitz Research Analyst I Seismic Hazard Evaluation Project California Geological Survey http://gmw.consrv.ca.gov/shmp CONFIDENTIALITY NOTICE: This communication is intended only for the use of th

RE: [GRASS-user] Open source GIS cataloging software?

2009-02-11 Thread Moskovitz, Bob
Recently, I came across this: http://spatialguru.com/ideas/data_cataloguing_background Bob Moskovitz Seismic Hazard Evaluation Project California Geological Survey http://gmw.consrv.ca.gov/shmp CONFIDENTIALITY NOTICE: This communication is intended only for the use of the individual or entity

RE: [GRASS-user] Tips on how to delete areas with no categories?

2009-02-10 Thread Moskovitz, Bob
rgwin > Sent: Tuesday, February 10, 2009 2:41 PM > To: grass-user@lists.osgeo.org > Subject: [GRASS-user] Tips on how to delete areas with no categories? > > > > > Message: 2 > > Date: Tue, 10 Feb 2009 11:40:15 -0800 > > From: "Moskovitz, Bob" >

RE: [GRASS-user] DAFF/CSIRO soils map

2009-02-10 Thread Moskovitz, Bob
Richard, I believe you need to use v.in.e00. -Bob > -Original Message- > From: grass-user-boun...@lists.osgeo.org > [mailto:grass-user-boun...@lists.osgeo.org]on Behalf Of > Richard Chirgwin > Sent: Tuesday, February 10, 2009 12:36 PM > To: grass-user@lists.osgeo.org > Subject: [GRASS-u

[GRASS-user] Tips on how to delete areas with no categories?

2009-02-10 Thread Moskovitz, Bob
Hello Grass-Users, After using r.to.vect, I have areas with no categories. These areas appear to be holes. This is what the map look like with info from v.what: http://bobdebm.googlepages.com/example_area.png/example_area-full;init:.png How do I remove these areas? Thanks in advance. B

RE: [GRASS-user] Aspect direction in r.slope.aspect

2009-01-21 Thread Moskovitz, Bob
Sounds like a great idea! If sometrhing like this can be done, we would have one less reason to shy away from FOSS. > > For my 2 cents worth, it seems to make a lot more sense for a > *geographic* information system for all output to follow the same > spatial organizational standards. I und

RE: [GRASS-user] Aspect direction in r.slope.aspect

2009-01-21 Thread Moskovitz, Bob
semination, distribution, or copying of this communication is strictly prohibited. > -Original Message- > From: Hamish [mailto:hamis...@yahoo.com] > Sent: Tuesday, January 20, 2009 12:50 PM > To: Grass-User (E-mail); Moskovitz, Bob > Subject: Re: [GRASS-user] Aspect di

[GRASS-user] Aspect direction in r.slope.aspect

2009-01-20 Thread Moskovitz, Bob
Hello Grass Users, I was just wondering why aspect is measured from the east and increased counterclockwise instead of the north and clockwise? It seems to run counter to what is done in other GISs. Bob Bob Moskovitz Research Analyst I Seismic Hazard Zonation Project California Geologic

RE: [GRASS-user] r.to.vect and then v.clean using tool=rmarea createspolygonsinstead of holes.

2008-12-12 Thread Moskovitz, Bob
ber 12, 2008 1:17 PM > To: Moskovitz, Bob > Cc: Markus Metz; grass-user@lists.osgeo.org > Subject: Re: [GRASS-user] r.to.vect and then v.clean using tool=rmarea > createspolygonsinstead of holes. > > > On Fri, Dec 12, 2008 at 9:01 PM, Moskovitz, Bob > wrote: > > So,

RE: [GRASS-user] r.to.vect and then v.clean using tool=rmarea createspolygonsinstead of holes.

2008-12-12 Thread Moskovitz, Bob
7;t have centroids? > -Original Message- > From: Markus Metz [mailto:markus.metz.gisw...@googlemail.com] > Sent: Friday, December 12, 2008 5:31 AM > To: grass-user@lists.osgeo.org; Moskovitz, Bob > Subject: Re: [GRASS-user] r.to.vect and then v.clean using tool=rmarea

RE: [GRASS-user] r.to.vect and then v.clean using tool=rmarea createspolygons instead of holes.

2008-12-12 Thread Moskovitz, Bob
t: Friday, December 12, 2008 1:17 AM > To: Alex Mandel; Moskovitz, Bob > Cc: Grass-User (E-mail) > Subject: RE: [GRASS-user] r.to.vect and then v.clean using tool=rmarea > createspolygons instead of holes. > > > Bob Moskovitz wrote: > > I followed your suggestion, but I&

RE: [GRASS-user] r.to.vect and then v.clean using tool=rmarea createspolygons instead of holes.

2008-12-11 Thread Moskovitz, Bob
clean. This method works for me. > -Original Message- > From: Alex Mandel [mailto:tech_...@wildintellect.com] > Sent: Thursday, December 11, 2008 3:14 PM > To: Moskovitz, Bob > Cc: Grass-User (E-mail) > Subject: Re: [GRASS-user] r.to.vect and then v.clean using tool=r

[GRASS-user] r.to.vect and then v.clean using tool=rmarea creates polygons instead of holes.

2008-12-11 Thread Moskovitz, Bob
Hello Grass-Users, I'm having problems with this sequence of commands: r.to.vect -s input=lszone output=lszone10 feature=area v.clean input=lszone10 output=lszone10_clean tool=rmarea thresh=2800 Below is the output. Overlaying lszone and lszone10_clean, I see that there are large hole

RE: [GRASS-user] v.dissolve bugfeature / workaround needed

2008-08-07 Thread Moskovitz, Bob
Hello Moritz and Peter, I have the v.dissolve problem too. I'm running GRASS 6.4.svn (is there a way to tell what svn revision I'm using?) on Hardy Heron X86_64. Hope this info tells you something: > v.dissolve [EMAIL PROTECTED] output=efz layer=1 column=FaultName Segmentation fault dbmi: Pr

RE: [GRASS-user] slope curvature algorithm - adjust the kernel size

2008-06-04 Thread Moskovitz, Bob
ED] > [mailto:[EMAIL PROTECTED] Behalf > Of Markus Neteler > Sent: Wednesday, June 04, 2008 12:28 PM > To: Moskovitz, Bob > Cc: Grass-User (E-mail) > Subject: Re: [GRASS-user] slope curvature algorithm - adjust > the kernel > size > > > Hi Bob, > > below answers

RE: [GRASS-user] (no subject)

2008-06-04 Thread Moskovitz, Bob
Hi Dylan, It looks like r.param.scale is the module he's looking for...thanks! Bob > -Original Message- > From: Dylan Beaudette [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 03, 2008 2:32 PM > To: grass-user@lists.osgeo.org > Cc: Moskovitz, Bob > Subject: Re: [

[GRASS-user] (no subject)

2008-06-03 Thread Moskovitz, Bob
Hello list, A coworker was asking me if I know of a slope curvature algorithm that lets you adjust the kernel size. Does GRASS have such a program? Bob Bob Moskovitz Seismic Hazard Zonation Project California Geological Survey http://www.conservation.ca.gov/cgs/shzp CONFIDENTIALITY NOTICE

RE: [GRASS-user] Change NaN to 0 with r.mapcalc(or whatever)?

2008-05-22 Thread Moskovitz, Bob
Thanks for making this patch available. I'll update to r31470 and tell you how it goes. > -Original Message- > From: Glynn Clements [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 22, 2008 12:27 AM > To: Moskovitz, Bob > Cc: [EMAIL PROTECTED]; Grass-User (E-mail) &

RE: [GRASS-user] Change NaN to 0 with r.mapcalc(or whatever)?

2008-05-21 Thread Moskovitz, Bob
ROTECTED] > Sent: Tuesday, May 20, 2008 5:26 PM > To: Moskovitz, Bob > Cc: Grass-User (E-mail) > Subject: Re: [GRASS-user] Change NaN to 0 with r.mapcalc(or whatever)? > > > If by NaN you mean null values, you are looking for the r.null command > > Daniel > > On Tue,

RE: [GRASS-user] Change NaN to 0 with r.mapcalc(or whatever)?

2008-05-21 Thread Moskovitz, Bob
day, May 20, 2008 8:34 PM > To: Grass-User (E-mail); Moskovitz, Bob > Subject: Re: [GRASS-user] Change NaN to 0 with r.mapcalc(or whatever)? > > > Bob wrote: > > Is there a way to r.mapcalc or some other command to change > > NaN values in rasters to another value?

[GRASS-user] Change NaN to 0 with r.mapcalc(or whatever)?

2008-05-20 Thread Moskovitz, Bob
Hello All, Is there a way to r.mapcalc or some other command to change NaN values in rasters to another value? Bob Bob Moskovitz Seismic Hazard Zonation Project California Geological Survey http://www.conservation.ca.gov/cgs/shzp CONFIDENTIALITY NOTICE: This communication is intended only

RE: [GRASS-user] Plateau / Flatbed detection

2008-05-16 Thread Moskovitz, Bob
h steep slope > besides a plain, it will also be characterized as a flatbed. > > I'll take a look at the r.terraflow TCI that Jonathan mentioned and > all the other references sent > > Cheers > Daniel > > On Fri, May 16, 2008 at 6:50 PM, Moskovitz, Bob > &l

RE: [GRASS-user] Plateau / Flatbed detection

2008-05-16 Thread Moskovitz, Bob
> [mailto:[EMAIL PROTECTED] Behalf Of Jonathan > Greenberg > Sent: Friday, May 16, 2008 3:51 PM > Cc: grass > Subject: Re: [GRASS-user] Plateau / Flatbed detection > > > Actually, I think r.terraflow has that! look for the TCI output! > > --j > > Moskovitz, B

RE: [GRASS-user] Plateau / Flatbed detection

2008-05-16 Thread Moskovitz, Bob
It would be cool to see something like the Topographic Position Index(TPI) in GRASS. Details here: http://www.jennessent.com/downloads/TPI-poster-TNC_18x22.pdf > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Daniel Victoria > Sent: Friday, May 1

RE: [GRASS-user] GRASS workshop submissions for FOSS4G2008

2008-05-08 Thread Moskovitz, Bob
It would be neat to see our borehole database used in a GRASS demo. This data is used in our liquefaction zone maps. If you want access to data from tens of thousand of boreholes, I can give you instructions on how to get it. -Bob Bob Moskovitz Seismic Hazard Evaluation Project California Geo

RE: [GRASS-user] Error with wxpython GUI in RC6

2008-04-10 Thread Moskovitz, Bob
I think you might need python-wxgtk2.8-dev ? Bob Moskovitz Seismic Hazard Evaluation Project California Geological Survey http://gmw.consrv.ca.gov/shmp CONFIDENTIALITY NOTICE: This communication is intended only for the use of the individual or entity to which it is addressed. This message conta

RE: [GRASS-user] please help: v.rast.stats

2008-03-05 Thread Moskovitz, Bob
Hello Jonathan, I just tried to see if I could grab the latest starspan via cvs. The cvs commands do not seem to be right. It says: cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/starspan login cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/starspan checkout modulename Shouldn't cvs1

RE: [GRASS-user] Intergraph MGGA grid to Grass raster

2008-01-11 Thread Moskovitz, Bob
f text was selectable in dialog boxes...then I won't have to type (just cut and paste) the error messages in this email :) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Markus Neteler > Sent: Friday, January 11, 2008 11:41 AM > To: M

[GRASS-user] Intergraph MGGA grid to Grass raster

2008-01-11 Thread Moskovitz, Bob
Hello list, I am using a GIS called MGE which has a module (called MGGA) that can export MGGA grids into Grass raster format. It produces the directories cats,cell,cellhd,cellmisc, and colr. Anyone know what I do with this? Thanks in advance, Bob Bob Moskovitz Seismic Hazard Zonation Pr

[GRASS-user] Creating dem using a contour map.

2007-11-16 Thread Moskovitz, Bob
Hello list, I have a 20 foot contour map shapefile that has over 47000 line strings. Many of these lines have gaps (see http://picasaweb.google.com/bobdebm/Problems/photo#5133539789447176242) in many of the contou