use more, put the following in a ~/.grass.bashrc file:
export GRASS_PAGER=more
Hamish
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how.
http://overview.mail.yahoo.com
to show both methods.
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
___
grass-user mailing list
grass-user@lists.osgeo.org
http
with
v.transform.
Maybe you could write a script to create v.transform params between selected
footprint and input building? Use a Machine Vision shape matching algorithm?
Is it possible?
I have imported a large DXF with v.in.dxf for NYC:
http://bambi.otago.ac.nz/hamish/grass/screenshots
gen2shp.
What should be the format of the text file ?
is there any other way to do it in grass or quantum gis?
calculate the coordinates and use 'v.in.ascii format=standard'
see the v.in.ascii help page.
export to a shapefile with v.out.ogr
Hamish
with columns=east double, north double, ..., but no luck.
As a work-around you could use a little awk to reformat it, for example:
echo 1.2e23 2.1e21 | awk '{printf(%.0f %.0f\n, $1, $2)}'
Hamish
Never miss
figured the
thumbnail would give you a good enough try-before-you-buy before you decide to
commit to the full download.
thanks for the feedback,
Hamish
Be a better sports nut! Let your teams follow you
Nikos Alexandris wrote:
I don't get the desired results... The output is too bright from what one
would expect it to be.
Any recommendations?
Hamish:
I've never used it for MODIS, but you could try i.landsat.rgb to see if
that helps. (it wants three 0-255 bands, it doesn't care
command and so the PG:
settings are being treated as command line parameters to v.external. As
v.external doesn't have those options, you get the error message from the GRASS
command line parser.
Hamish
:
Sorry, dbname is not a valid parameter
Sorry, user is not a valid parameter
Sorry, password is not a valid parameter
I expected to run into problems with schemas, maybe, but not with the
login. What am I doing wrong in the dsn parameters?
Hamish:
For some reason the quotes are being
Hamish:
Fortunately it is not hard to update r.le.setup, patch attached.
Patrick Giraudoux wrote:
Thanks for the hint and the patch. However, I am not sure about how to
use it... Looks like a C script but I am not a C programmer.
It is C. You must recompile r.le.setup to use it. But you
and run with modern versions of GRASS.
The GRASS raster/imagery engines and file formats have not changed since
GRASS 5 so there shouldn't be many problems.
FWIW ./configure still checks for f2c.h
Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
on it.
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
___
grass-user mailing list
grass-user@lists.osgeo.org
http
there will be ERROR: or a
Segmentation Fault text. No output generally means everything was ok.
Note some modules may successfully exit haven written 0 features, e.g.
v.extract where=x != x.
Hamish
Looking
and
seamlessly interoperate. e.g. MapServer, QGIS, ...; but not necessarily
limited to OSGeo projects: jGRASS, OSSIM, ... it would be good for everyone.
http://wiki.osgeo.org/index.php/Metadata seems like a very good place to start.
Hamish
___
grass
and calculate with G_geodesic_distance() as it makes
its way between verticies. (e.g. the d.what.vect Tcl popup window does
this for line length, AFAICT) Feel free to file wish/bug reports as
needed.
Hamish
#or
d.vect display=attr attrcol=image xref=center
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
are the command line options and exact error message you get?
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt
Are you trying this from the GIS.m GUI or from the command line with an
xmon?
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
start/end coordinates in 6.2 you have to
use v.net.path.
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php
' to exclude maps which do not at
all fall in the output region. (this optimization might be built
directly into r.series?)
Alternate: let r.series run for x days.
Hamish
Never miss a thing. Make Yahoo your home
seems that g.region has failed for some reason. (still no test to
catch that cleanly?!)
can you start grass with
grass63 -text
then try 'g.region -p' from the command line and see if you get
reasonable output.
What flavour of Sun hardware? Self compiled?
Hamish
direction and flow accumulation. r.terraflow does not do
that (yet) -- but we are working on extending it with this
functionality.
hope it helps.
Hamish
ps- I think it would be nice to write a r.catchment script from
r.watershed streams map + r.cost/r.drain + r.report + r.mapcalc/r.patch
to connect
by the NOAA coastline extractor.
See the v.in.mapgen help page. Then v.type and v.centroids to make the
line into an area. (boundary+centroid = area)
Hamish
Be a better friend, newshound, and
know-it-all
of automatically applying the number of
vertices with an awk command, but you can probably just paste that
first line in by hand.
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo
connect all points to
all other points?
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Hamish wrote:
The 'v.in.ascii -n format=standard' equivalent is:
L 2
x1 y1
x2 y2
L 2
x3 y3
x4 y4
Richard:
Thanks Hamish - it's working now so please ignore my last message. My
error was that in selecting out of the database, I had let the cat
column appear after the L, so
Philipp Steigenberger wrote:
I know there is a posibility to calculate the area of a rastermap,
but I cannot find the command.
I have a water.outlet map. The area data range is 1 to 1
Carlos wrote:
r.surf.area?
r.stats?
'r.report units=h' too
Hamish
because this file can't be displayed? is there
a border of the filesize? i have absolutly no idea
Look at the number of columns from r.info- the east/west region
settings are wrong, and wrapping around the whole planet.
what does 'gdalinfo' say about the tif file?
Hamish
5000x5000 rows x columns (g.region -p) is
beginning to get big for a raster map. (GRASS can deal with bigger
regions than that, but it starts to take a long time + disk space)
Hamish
Never miss a thing
to coordinates.
It's highly useful for other PDF tasks too.
http://www.pdfhacks.com/pdftk/
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com
Glynn:
The mask is read as an integer map. If MASK is actually a
floating-point map, the values will be converted to integers using
the map's quantisation rules (this defaults to round-to-nearest,
but can be changed with r.quant).
Nikos Alexandris wrote:
Thanks for the important
is in transition- broken link right now)
http://grass.gdf-hannover.de/wiki/Psmap_flooding_example
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http
Poizot Emmanuel wrote:
I would like to know how to clip a point vector layer using a
polygon vector layer with grass62.
v.select or v.overlay
Hamish
Be a better friend, newshound, and
know-it-all
proved to be
a terrible bottleneck. The r.watershed in newer versions of GRASS can
be much much faster.
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
/group/ dir. you can use standard unix command line tools to get
the coords to give d.graph for drawing.
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http
can replace those with d.menu + d.ask,
they are neat little under-utilized modules. But they will not be
ported to GRASS 7.
have fun,
Hamish
Never miss a thing. Make Yahoo your home page.
http
=schermorast73iv.png
be careful as river-mile can be a fractal problem.
Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
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
a type
make: *** [OBJ.i686-pc-linux-gnu/grass6_wxvdigit_wrap.o] Error 1
\u2018 -- unicode characters sneaking into what should be a flat
ASCII file?
Hamish
Never miss a thing. Make Yahoo your home page
missing or content if it's
already there.
Tom: a classic app very interesting read. That would be a nice link
to put on the SAR wiki page. Any interest in getting the ps.map output
linked from there up the GRASS website's Cartography screenshots page?
regards and good business,
Hamish
modules to an installation of GRASS, including
adding a new menu section in the GUI:
http://grass.osgeo.org/grass63/manuals/html63_user/gem/index.html
Hamish
Looking for last minute shopping deals?
Find
for something simpler)
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Reno Bladergroen wrote:
Though does anybody know a good satellite image
processing tutorial??
a quick google search found this:
http://www.oryx.com/ams/landsat.html
i.fusion.his comes up, but I don't know anything about that.
Hamish
are using 6.2 for now you can just g.rename the maps with -
replaced with a less problematic character like _ or .s.
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
) of OS GRASS?
ls -l /usr/bin/x-terminal-emulator
ls -l /etc/alternatives/x-terminal-emulator
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http
=cross_points' ?
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
___
grass-user mailing list
grass-user@lists.osgeo.org
http
-v ' \* ' | cut -f1,2,4,5 -d' ' | \
v.in.ascii x=1 y=2 out=$OUT fs=space \
columns='x double, y double, slope double, GRASSRGB varchar(11)'
d.vect -a $OUT size=0 width=2
(line vertices only; bug: includes profiles between line jumps...)
Hamish
Philipp wrote:
Now that I saerched the archives I noticed that something went wrong
with my postings
the only thing that looks wrong to me is HTML in the postings,
http://grass.gdf-hannover.de/wiki/Mailing_list_etiquette
:)
everything else seems like it worked ok.
Hamish
a bright idea how to do this with minimal data loss
?
thanks,
Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
and going underground. To fix this go into the
vector lines panel and adjust their height above the surface to be
+ .1-.5m. Then they'll be solid and pretty.
Hamish
Never miss a thing. Make Yahoo your home
script will use much
less memory and be faster.
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category
roberto caselli wrote:
About what Hamish said, the problem is in the elevation resolution??
Could use the 6.3.3 script usinf elevation.dem instead of
elevation.10m?
In the 6.2.3 version of spearfish.sh, just edit the line at the top to
be elevation.dem instead of elevation.10m. elevation.dem
can get webpages-only access to do it.
However, Hamish did little reorganization of the screenshots page,
maybe
better write him directly.
Jachym
[1] http://grass.gdf-hannover.de/wiki/GRASS_Propaganda
note broken links to les-ejk.cz on that page.
maybe upload to the wiki? :)
[2] http
://industry.slashgeo.org/article.pl?sid=06/01/25/233215
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
towards the
end of the for loop (so finished 3% instead of started 3%), and
also there should be an extra G_percent() after the loop has concluded
so you get to see the final 100%.
This doesn't affect the data in any way at all, just if you want to see
the 100% complete on the screen.
Hamish
can search the mailing list for instructions on how to temporarily
add more hard drive swap memory in linux, if upgrading that isn't an
option.
Hamish
Never miss a thing. Make Yahoo your home page
the GRASS 5-6 module porting list on the wiki:
http://grass.gdf-hannover.de/wiki/GRASS_Module_Porting_List
and the GRASS 6.3 module synopsis:
http://grass.ibiblio.org/gdp/grassmanuals/grass63_module_list.pdf
Hamish
the wiki addons page[1] can be likewise broken up into smaller chunks
somehow as it is a bit overwhelming to browse through now.
Any ideas for sub-classes of raster and vector modules?
Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http
/dist.i686-pc-linux-gnu/bin/r.mapcalc]
Error 1
make clean
or
make distclean
to get rid of the old attempt?
r.mapcalc is a very important module, GRASS won't work well without it.
Hamish
Be a better
.
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
grass
in the closed area, containing the area's category number.
(the other frustrating feature being you can't pan around without
dropping out of digitizing mode)
hopefully these can be fixed with the brand new wx digitizer currently
under development.
hope that helps,
Hamish
with
d.rast.num to confirm.
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
/g.module.1 file,
containing the (c) symbol. Beyond that, I don't know.
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch
. How can I see the values of these water depths?
d.legend, d.histogram, d.rast.what, d.rast.num, r.univar, r.what,
r.out.ascii, r.out.xyz (r.stats), ..
Hamish
Be a better friend, newshound, and
know
addons for converting GMT color tables
to GRASS's color table format. (for use with '{r|v}.colors rules=')
enjoy,
Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
:
http://grass.gdf-hannover.de/wiki/Updating_GRASS_Documentation#Translations
Is there a flag like --lang de in QGIS?
Not yet. This could be easily added, I guess.
e.g. Lorenzo's GRASS binaries for Mac. (lang choice in startup GUI)
Hamish
in the latest SVN,
Either make your R,G,B maps into CELL maps (integers) with
r.mapcalc cellmap.red = int(map.red)
or download the latest i.landsat.rgb script and put it in the directory
shown above
http://trac.osgeo.org/grass/browser/grass/trunk/scripts/i.landsat.rgb
Hamish
/r.colors.tools
http://hamish.bowman.googlepages.com/grass_color_maps
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
___
grass-user
' before r.univar if you want
it to act on the whole map and not just the current region zoom
settings.
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http
into the location, but clipping did not occur
as expected.
In any case, v.in.ogr did not clip the 'boundary polygons' to the
the edge of the raster image, but included the entire polygon.
Only excluded polygons completely outside of the bounding box
are clipped.
Hamish:
I assume you
to reconsider/redo.
The annoying thing with the old version is that you can't add a value
outside of that map's range, but that relic has nothing to do with the
workflow design.
Hamish
Never miss a thing
of GRASS?
What platform? mac?
Is wget installed or are you using curl?
What command line options were used?
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
an order of magnitude less accurate in
the vertical than in the horizontal, don't be surprised if a standard
handheld GPS differs in the vertical by +-20m. also note that the
elevation given is height above the WGS84 geoid, not above sea level.
Hamish
smaller.
e.g. 'd.font romans'
not sure how to get rid of the errant 100% in the pie chart.
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
in input data
default: nan
enjoy,
Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
maxrows=1024
'wgetoptions=-c -t 5 -nv' 'curloptions=-C - --retry 5 -s -S'
method=nearest v=1 --overwrite
The wget options are pre-completed by the r.in.wms UI - should I
delete these?
If you like, but they should be ignored if using Curl.
Does the script work if you install wget?
Hamish
with v.clean)
the idea is to simplify the map before running v.extrude to get something like
this:
http://grass.osgeo.org/grass60/screenshots/images/inc_employ_usa_2002.jpg
but without the 600,000 extruded faces created from every little twist in the
coastline.
Hamish
elevations. I
now realize that the screenshot was made in NVIZ from a 2.5D raster
image with colors set by r.colors and elevation from raster cat.
So I can do v.to.rast and solve my task that way, but it would still be
nice to know the answer to the v.generalize question.
Hamish
version of GRASS?
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
___
grass-user mailing list
grass-user@lists.osgeo.org
http
in the
latest version without recompiling or waiting for a new binary release.
(in the above SVN URL click the filename then plain text at the
bottom of the code page)
Also, I think the programmer might have thought that ${FOO} was the
same as $FOO, it is not.
Hamish
/browser/grass/trunk/doc/raster/r.example
where is the old URL pointing to intevation? we could change that..
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
option...
I still would need to see the module debug output to have any idea
about why that is happening. g.gisenv set=DEBUG=1
Hamish
Looking for last minute shopping deals?
Find them fast
Hamish:
I have a high-res vector area map of regional districts which I
wish to generalize. I am having trouble with finding the correct
method in v.generalize to use. Currently every thing I try tends
to break the area topology and leave only a portion of the now-
open boundary.
I have
mohannbr wrote:
but then while displayin the img,get the error...
The bounding box of the map is outside the current region, nothing
drawn..
set the region zoom to match the extents of the vector map with
g.region.
http://grass.gdf-hannover.de/wiki/Region_Map
Hamish
software or
ImageMagick, the band interleaving should be switched to pixel
interleaving using createopt=INTERLEAVE=PIXEL.
To specify multiple options use a comma separated list
(createopt=TFW=YES,COMPRESS=DEFLATE).
}}}
Hamish
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
___
grass-user mailing list
grass-user@lists.osgeo.org
http
Hamish:
did you try adding INTERLEAVE=PIXEL and *not* using LZW
compression for createopt=?
Dylan:
Yep-- I have tried both of those options. I either get a file which
will not open (mysterious ESRI error),
I decided (out of complete frustration) never to use Arc again before I
started
it will make a POINTS file for i.rectify, but perhaps that
could be easily changed to output parameters for v.transform too. It is
already calculating the params for RMS checks and the
reverse-projection vector overlay.
Hamish
is the point that costs the least to get to?
It sounds a bit like an inverted topographic prominence problem.
http://article.gmane.org/gmane.comp.gis.grass.user/19467/
As Dylan wrote, r.drain should help find the path to the nearest pit.
Other water flow modules may help too.
Hamish
Dr. Manuel Seeger wrote:
how can I drape a coloured ortofoto on an elevation model with NVIZ?
# to get best resolution. Consider resampling DEM to match.
g.region rast=ortofoto
# then just
nviz elevation=dem_map color=ortofoto
Hamish
orkun wrote:
I want to export grass raster meps to idrisi.
What type format would you recommend ?
Idrisi's ;)
$ gdalinfo --formats | grep -i Idrisi
RST (rw+): Idrisi Raster A.1
GRASS r.out.gdal format=RST
see http://www.gdal.org/frmt_Idrisi.html
Hamish
'\\,' in the layer name?)
and that means the use will have to munge the layer name manually :/
sorry for the long post on a high traffic day,
Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass
sorts of detailed output. Can you copy that
output in a file (compress if it's too huge) and send to me?
Hamish
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
/downoad/*.curl), but I am pretty sure that won't make any
difference as the $CONTENTS for loop in wms.download will filter out
any extra whitespace.
Hamish
Be a better friend, newshound, and
know-it-all
if you run g.region vect=points_map first? (then g.region -p
and check the resolution and rows/cols aren't more than ~ 5000x5000)
Hamish
Looking for last minute shopping deals?
Find them fast
://trac.osgeo.org/grass/ticket/70
Hamish
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
not covered by a module or e.g.
want to write a high performance custom model into a new module, you
can get access to those C library functions using the SWIG Python
interface without having to mess with knowing C.
Hamish
for interactive profile
creation. (you could display the line and trace over it)
Hamish
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt
vector data is easy, just copy over the data's folder in the
$MAPSET/vector/ directory, and it's database file too. Make sure to
reconnect the database once it arrives at its new home.
Hamish
Looking
the output map was empty?
It's all getting a bit of a mess and I'm a bit hesitant to commit the
needed fixes as they are somewhere between a kludge and a hack-- the
sooner we get r.in.wms rewritten in Python and/or using GDAL 1.5.0's
fetch method, the better.
Hamish
1 - 100 of 1836 matches
Mail list logo