Re: [GRASS-dev] compilation of grass on AIX 7.1

2013-04-08 Thread Markus Neteler
On Mon, Apr 8, 2013 at 11:31 AM, Glynn Clements wrote: > > Markus Neteler wrote: > >> > A grep for "winsize" would be more useful. TIOCGWINSZ is being found, >> > otherwise the code which uses "struct winsize" wouldn't be compiled >> > and wouldn't generate an error. >> >> Ok, found this in /usr/i

Re: [GRASS-dev] [GRASS GIS] #1723: G_OPT_DB_COLUMNS does not allow input of multiple column names

2013-04-08 Thread GRASS GIS
#1723: G_OPT_DB_COLUMNS does not allow input of multiple column names --+- Reporter: cmbarton | Owner: grass-dev@… Type: defect| Status: new Priorit

Re: [GRASS-dev] Wrong direction in r.watershed slope length calculation?

2013-04-08 Thread Markus Metz
On Mon, Apr 8, 2013 at 11:44 AM, wrote: > I discovered the following in r.watershed/ram/slope_len.c where the slope > length is calculated given two cell positions in the raster. > > if (r == dr) > res = window.ns_res; > else if (c == dc) > res = window.ew_res; > else > res = diag; >

Re: [GRASS-dev] Export from GRASS to Postgres

2013-04-08 Thread Martin Landa
2013/4/8 Martin Landa : > 2013/4/8 suprakash maitra : >> -> "PostgreSQL" (read/write) > > then GRASS is probably using different GDAL library which is built > without PostgreSQL. Check if there are more GDAL installations on your > machine. See the previous answer. in other words, what says? og

[GRASS-dev] [GRASS GIS] #1923: add "area" to head in r.report

2013-04-08 Thread GRASS GIS
#1923: add "area" to head in r.report -+-- Reporter: timmie | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 6.4.3

Re: [GRASS-dev] Export from GRASS to Postgres

2013-04-08 Thread Martin Landa
2013/4/8 suprakash maitra : > -> "PostgreSQL" (read/write) then GRASS is probably using different GDAL library which is built without PostgreSQL. Check if there are more GDAL installations on your machine. See the previous answer. Martin -- Martin Landa * http://geo.fsv.cvut.cz/~landa ___

Re: [GRASS-dev] Export from GRASS to Postgres

2013-04-08 Thread suprakash maitra
Hi, v.in.ogr -f  ESRI Shapefile (rw): ESRI Shapefile  MapInfo File (rw): MapInfo File  UK .NTF (ro): UK .NTF  SDTS (ro): SDTS  TIGER (rw): TIGER  S57 (rw): S57  DGN (rw): DGN  VRT (ro): VRT  REC (ro): REC  Memory (rw): Memory  BNA

Re: [GRASS-dev] Export from GRASS to Postgres

2013-04-08 Thread Moritz Lennert
On 08/04/13 12:30, suprakash maitra wrote: Hi I am using Fedora15,GRASS-6.4.2,gdal-1.8.1,postgresql-9.1.I have compiled gdal with postgresql support and GRASS with gdal and postgreSQL support ,even then while exporting map/mapset to postgreSQL the format PostgreSQL is not supported. Plz help me

Re: [GRASS-dev] Export from GRASS to Postgres

2013-04-08 Thread suprakash maitra
Hi I am using Fedora15,GRASS-6.4.2,gdal-1.8.1,postgresql-9.1.I have compiled gdal with postgresql support and GRASS with gdal and postgreSQL support ,even then while exporting map/mapset to postgreSQL the format PostgreSQL is not supported. Plz help me out.   ---

Re: [GRASS-dev] r.in.gdal fp precision loss

2013-04-08 Thread Glynn Clements
Markus Metz wrote: > I think I understand. If the largest values are in the range of 2^6 - > 2^7, the ULP would have a magnitude of 2^-17 ~= 7.629395e-06? Yes. > I am > asking because lately I observed slightly corrupted vector coordinates > in shapefiles created with recent ESRI software and s

[GRASS-dev] Wrong direction in r.watershed slope length calculation?

2013-04-08 Thread josten
I discovered the following in r.watershed/ram/slope_len.c where the slope length is calculated given two cell positions in the raster. if (r == dr) res = window.ns_res; else if (c == dc) res = window.ew_res; else res = diag; Here we are dealing with a cell given by coordinates (r,c

Re: [GRASS-dev] verbose in grass.array .write() function

2013-04-08 Thread Glynn Clements
Hamish wrote: > Glynn: > > It was probably added during development and not reverted. > > just to note that verbose=True argument for r.in.bin is present in all > branches, and has been there for some years (for better or worse). Right; by "during development", I mean "before the first version

Re: [GRASS-dev] verbose in grass.array .write() function

2013-04-08 Thread Glynn Clements
Johannes Radinger wrote: > So actually verbose=True should then be removed from the function > so that it behaves like other GRASS modules and the verbosity level > setting is inherited from the script in which .write() is used? I think so. -- Glynn Clements __

Re: [GRASS-dev] compilation of grass on AIX 7.1

2013-04-08 Thread Glynn Clements
Markus Neteler wrote: > > A grep for "winsize" would be more useful. TIOCGWINSZ is being found, > > otherwise the code which uses "struct winsize" wouldn't be compiled > > and wouldn't generate an error. > > Ok, found this in /usr/include/sys/ioctl.h: > > struct winsize { But lib/gis/ls.c alre