Opened 9 years ago

Closed 5 years ago

#2684 closed defect (fixed)

i.segment do not recycle IDnumbers (categories)

Reported by: franziskabeau Owned by: grass-dev@…
Priority: normal Milestone: 7.0.7
Component: Default Version: 7.0.0
Keywords: Cc:
CPU: x86-64 Platform: MSWindows 7

Description

Hello, I have the problem, that I can't export segmentationresults into geotiff. The following ERROR occurs:

ERROR 6: SetColorTable() only supported for Byte or UInt16 bands in TIFF format. Warning 1: Lost metadata writing to GeoTIFF ... too large to fit in tag. Using GDAL data type <Int32> Exporting raster data to GTiff format... WARNING: Too many values, color table cut to 65535 entries

The problem is, that I only had created like 28.502 segments with i.segment. When I assign new IDs with r.clump I can export the segmentated raster picture, but it doesn't work stabil. It seems like during the i.segment algorithm the IDs of the segments are mulitplied by themselves or something like this.

If you have questions be free to contact me. I really want to use the i.segment algorithm an export my results. Thank you.

Attachments (2)

disappearingGeotiff.PNG (187.2 KB ) - added by franziskabeau 9 years ago.
disappearingGeotiff.2.PNG (187.2 KB ) - added by franziskabeau 9 years ago.

Download all attachments as: .zip

Change History (14)

in reply to:  description comment:1 by mlennert, 9 years ago

Replying to franziskabeau:

Hello, I have the problem, that I can't export segmentationresults into geotiff. The following ERROR occurs:

ERROR 6: SetColorTable() only supported for Byte or UInt16 bands in TIFF format. Warning 1: Lost metadata writing to GeoTIFF ... too large to fit in tag. Using GDAL data type <Int32> Exporting raster data to GTiff format... WARNING: Too many values, color table cut to 65535 entries

The error is only related to the color table, not the actual data. Are you sure the export didn't work ? Try to run gdalinfo on the resulting tif file or reimporting it into GRASS GIS or another program.

by franziskabeau, 9 years ago

Attachment: disappearingGeotiff.PNG added

by franziskabeau, 9 years ago

Attachment: disappearingGeotiff.2.PNG added

comment:2 by franziskabeau, 9 years ago

Thank you for promptly answering. I really often tried over a couple of days to export and import the generated data from GRASS-GIS to QGIS, but it doesn´t work. I tried all the suggestions from the rasterexport-help-box. But the ERROR information, that the color table cuts (see above) includes, that it doesn't generate an geotiff at all. If I use the function r.clump bevor exporting, it generates an geotiff. But this geotiff is in a way not stabil, it desappeares as seen in the annex.

comment:3 by neteler, 9 years ago

Milestone: 7.0.17.0.2

Ticket retargeted after 7.0.1 milestone closed

comment:4 by neteler, 8 years ago

Milestone: 7.0.27.0.3

Ticket retargeted after milestone closed

comment:5 by neteler, 8 years ago

Milestone: 7.0.3

Ticket retargeted after milestone closed

comment:6 by neteler, 8 years ago

Milestone: 7.0.4

Ticket retargeted after 7.0.3 milestone closed

comment:7 by martinl, 8 years ago

Milestone: 7.0.47.0.5

comment:8 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:9 by neteler, 6 years ago

Milestone: 7.0.67.0.7

comment:10 by martinl, 5 years ago

Resolution: wontfix
Status: newclosed

No activity.

comment:11 by mmetz, 5 years ago

Resolution: wontfix
Status: closedreopened

Already fixed in trunk r73559, closing as fixed.

comment:12 by mmetz, 5 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.