Date: 2007-09-27 16:57 |
Priority: 3 |
Submitted By:
Francesco Lovergine (frankie)
|
Assigned To:
Markus Neteler (markusn) |
Summary: r.info Wrong totals cells counter |
| Detailed description | GRASS 6.3.cvs (LatLong):~ > g.region -p rast=mosaic
projection: 3 (Latitude-Longitude)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: 30:27:34.387407N
south: 29:17:38.474496N
west: 91:01:18.251044W
east: 89:44:36.4777W
nsres: 0:00:00.0342
ewres: 0:00:00.0342
rows: 122688
cols: 134554
cells: 16508161152
GRASS 6.3.cvs (LatLong):~ > r.info map=mosaic
+----------------------------------------------------------------------------+
| Layer: mosaic Date: Wed Sep 26 22:07:50 2007 |
| Mapset: PERMANENT Login of Creator: frankie |
| Location: LatLong |
| DataBase: /home/refice/dati/NewOrleans/GIS |
| Title: ( mosaic ) |
| Timestamp: none |
|----------------------------------------------------------------------------|
| |
| Type of Map: raster Number of Categories: 255 |
| Data Type: CELL |
| Rows: 122688 |
| Columns: 134554 |
| Total Cells: -671708032 |
| Projection: Latitude-Longitude |
| N: 30:27:34.387407N S: 29:17:38.474496N Res: 0:00:00.0342 |
| E: 89:44:36.4777W W: 91:01:18.251044W Res: 0:00:00.0342 |
| Range of data: min = 0 max = 255 |
| |
| Data Description: |
| generated by r.patch |
| |
| Comments: |
| r.patch input="mosaic15,mosaic16" output="mosaic" |
| |
+----------------------------------------------------------------------------+
| |
|
Followup
| Message |
Date: 2010-02-27 12:08
Sender: Hamish B
I'm pretty sure this one is fixed.
Hamish
|
Date: 2008-01-04 16:30
Sender: Maciej Sieczka
Francesco,
Are you there?! |
Date: 2007-10-22 18:08
Sender: Maciej Sieczka
Francesco
Please test and let us if it worked.
|
Date: 2007-10-22 00:09
Sender: Markus Neteler
Update:
Brad Douglas has submitted a long long test in configure.in |
Date: 2007-10-21 22:56
Sender: Markus Neteler
reopened, due to ISO90 not having "long long" issue,
reverted in 6.2.x |
Date: 2007-10-21 22:42
Sender: Markus Neteler
fixed in 6.2.CVS and 6.3.CVS
Markus |
Date: 2007-10-21 22:39
Sender: Markus Neteler
patch proposal attached |
Date: 2007-09-27 17:49
Sender: Francesco Lovergine
Of course you need something like:
compose_line(out, " Total Cells: %lld",
(long long)cellhd.rows * cellhd.cols);
for r.info/main.c as in g.region. I think that
(unsigned long long) could be more appropriate, too.
| |
|
Attached Files:
|
Changes:
| Field |
Old Value |
Date |
By |
| Issue status | needs more info | 2010-02-27 12:08 | hamish |
| close_date | 2010-02-27 12:08 | 2010-02-27 12:08 | hamish |
| status_id | Open | 2010-02-27 12:08 | hamish |
| Issue status | confirmed | 2008-01-04 16:30 | msieczka |
| Issue status | None | 2007-10-21 23:39 | msieczka |
| Issue status | fixed in CVS | 2007-10-21 22:56 | markusn |
| summary | Wrong totals cells counter | 2007-10-21 22:56 | markusn |
| status_id | Closed | 2007-10-21 22:56 | markusn |
| Issue status | None | 2007-10-21 22:42 | markusn |
| close_date | 2007-10-21 22:42 | 2007-10-21 22:42 | markusn |
| assigned_to | none | 2007-10-21 22:42 | markusn |
| status_id | Open | 2007-10-21 22:42 | markusn |
| File Added | 240: r_info.diff | 2007-10-21 22:39 | markusn | |
|