Re: [GRASS-user] Importing a binary file: (a) why isn't the command logged in the maps history? (b) why is the resolution of the imported map slightly different than expected?

2008-03-19 Thread Hamish
> Daniel Victoria wrote: > > Could it be a cell center / corner issue? Normally header information > > gives cell corners... Nikos: > You are the Man! Correct! > > 1. gdalinfo /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.bil -noct > Driver: EHdr/ESRI .hdr Labelled > Files: /home/nik/grassdb/tmp

ODP: [GRASS-user] vrml import to grass

2008-03-19 Thread Maciej Tomaszczyk
hi The wrml i have is 3d model of cave, i created ascii file and i imported it in to grass (but only points), but i found a way to import this in to grass. First, import to blender and export to .dxf and then import .dxf in to grass (v.in.dxf). best mt Maciej Tomaszczyk Polish Geological In

[GRASS-user] Failure to display raster maps (no problems with vectors)

2008-03-19 Thread Roy Sanderson
Hello This is a rather peculiar fault, which I assume is linked to X-display settings or something similar. Here, students wanting to use GRASS use an NX-client on a Windows PC to connect to a centrally-managed server, and run GRASS 6.2.2RC1 on a Redhat EL machine. One of them has reported probl

Re: [GRASS-user] Change detection in a Vector (polyline) dataset

2008-03-19 Thread Maris Nartiss
Just an idea: v.surf.rst/idw/etc for both datasets r.mapcalc diff=old-new cell area*diff sum Maris. 2008/3/19, Andrew Schroeder <[EMAIL PROTECTED]>: > Hi Everyone, > > Can you tell me if GRASS is able to detect change between two input > polyline shapefiles? I have a 5m contour set for two di

[GRASS-user] v.db.select works, db.select fails: same mapset, same VAR

2008-03-19 Thread Wailliez Sébastien
Hello, any idea why v.db.select works while db.select fails when invoked from inside the same mapset? I call db.connect -p before calling (v.)db.select and get: driver:odbc database:3drov schema:(null) group:(null) This all works fine for v.db.select but db.select fails with an error messag

Re: [GRASS-user] v.db.select works, db.select fails: same mapset, same VAR

2008-03-19 Thread Markus Neteler
Sébastien, could you try ogrinfo on that data set? Just to see if it also fails. Should be something like ogrinfo ODBC:user/[EMAIL PROTECTED] table Markus On Wed, Mar 19, 2008 at 1:30 PM, Wailliez Sébastien <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > any idea why v.db.select works while db.

Re: [GRASS-user] Importing a binary file: (a) why isn't the command logged in the maps history? (b) why is the resolution of the imported map slightly different than expected?

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 00:20 -0700, Hamish wrote: > > Daniel Victoria wrote: > > > Could it be a cell center / corner issue? Normally header information > > > gives cell corners... > > Nikos: > > You are the Man! Correct! > > > > 1. gdalinfo /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.bil -noc

Re: [GRASS-user] r.in.xyz

2008-03-19 Thread Nikos Alexandris
On Tue, 2008-03-18 at 23:18 -0700, Hamish wrote: > Glynn: > > If you have a "sparse" set of points, import them as a vector map then > > use v.surf.rst. I'm not sure if r.fillnulls[1] handles sparse maps > > (islands of individual cells), or whether it's limited to filling > > small "holes" in mos

Re: [GRASS-user] Re: [GRASS-dev] Re: another r.resamp.interp bug report

2008-03-19 Thread Nikos Alexandris
On Tue, 2008-03-18 at 21:49 -0700, Michael Barton wrote: > On Mar 18, 2008, at 9:39 PM, Helena Mitasova wrote: > > > Michael - I have added an example from the book at the bottom of > > this page - please try it and let me know whether it works. > > http://skagit.meas.ncsu.edu/~helena/grasswork/

Re: [GRASS-user] r.in.xyz

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 14:20 +0100, Nikos Alexandris wrote: [...] > It's clear now. I think a bit more reading before posting doesn't hurt. [...] > Any infomation somewhere about "filtering" noise with r.in.xyz? In man r.in.xyz! Yep, I have to read more before posting questions ;-P [...] _

Re: [GRASS-user] r.in.xyz

2008-03-19 Thread Markus Neteler
On Wed, Mar 19, 2008 at 2:55 PM, Nikos Alexandris <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-03-19 at 14:20 +0100, Nikos Alexandris wrote: > [...] > > > It's clear now. I think a bit more reading before posting doesn't hurt. > [...] > > > Any infomation somewhere about "filtering" noise with r.

[GRASS-user] Re: v.db.select works, db.select fails: same VAR

2008-03-19 Thread Wailliez Sébastien
Hello Markus, I just tried ogrinfo --formats and ODBC is not in the list :-O Apparently, the guys at SuSE who made the RPM didn't bother to compile OGR with ODBC support... I might as well build it all myself if that doesn't mean spending all day downloading and building tonnes of dependenci

[GRASS-user] v.centroids question

2008-03-19 Thread John C. Tull
I have a road network where I want to convert the road lines into boundaries, then turn the resulting spaces inside of roads into areas. Converting the roads to boundaries was no problem using v.type and v.clean tool=snap, but getting centroids into the polygons is trickier. Apparently, v.c

Re: [GRASS-user] v.centroids question

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 10:20 -0700, John C. Tull wrote: > I have a road network where I want to convert the road lines into > boundaries, then turn the resulting spaces inside of roads into areas. > Converting the roads to boundaries was no problem using v.type and > v.clean tool=snap, but ge

Re: [GRASS-user] v.centroids question

2008-03-19 Thread Nikos Alexandris
> John, > > maybe you could try > > v.clean with type=line,boundary,centroid,area tool=snap,break,rmdupl > thresh=.01 > > Not sure but I suspect the "break" tool is what you might need. And then of course the rest with v.centroids ___ grass-user m

Re: [GRASS-user] v.centroids question

2008-03-19 Thread John C. Tull
On Mar 19, 2008, at 11:08 AM, Nikos Alexandris wrote: John, maybe you could try v.clean with type=line,boundary,centroid,area tool=snap,break,rmdupl thresh=.01 Not sure but I suspect the "break" tool is what you might need. And then of course the rest with v.centroids Nikos, Thanks for t

Re: [GRASS-user] v.centroids question

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 12:12 -0700, John C. Tull wrote: > On Mar 19, 2008, at 11:08 AM, Nikos Alexandris wrote: > >> John, > >> > >> maybe you could try > >> > >> v.clean with type=line,boundary,centroid,area tool=snap,break,rmdupl > >> thresh=.01 > >> > >> Not sure but I suspect the "break" tool is

Re: [GRASS-user] v.centroids question

2008-03-19 Thread John C. Tull
On Mar 19, 2008, at 12:53 PM, Nikos Alexandris wrote: On Wed, 2008-03-19 at 12:12 -0700, John C. Tull wrote: On Mar 19, 2008, at 11:08 AM, Nikos Alexandris wrote: John, maybe you could try v.clean with type=line,boundary,centroid,area tool=snap,break,rmdupl thresh=.01 Not sure but I suspe

[GRASS-user] db_fetch questions

2008-03-19 Thread Jaime Carrera
Hi list, My apologies if this question fits better in the developers list. I'm trying to understand how db_fetch works and why am getting a strange error. After a query is executed and db_open_select_cursor is used, db_fetch is used to fetch the data of the resultant query. AFAIK, db_fetch(&curs