Opened 10 years ago
Closed 6 years ago
#2684 closed defect (fixed)
i.segment do not recycle IDnumbers (categories)
Reported by: | franziskabeau | Owned by: | |
---|---|---|---|
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)
Change History (14)
comment:1 by , 10 years ago
by , 10 years ago
Attachment: | disappearingGeotiff.PNG added |
---|
by , 10 years ago
Attachment: | disappearingGeotiff.2.PNG added |
---|
comment:2 by , 10 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:7 by , 9 years ago
Milestone: | 7.0.4 → 7.0.5 |
---|
comment:8 by , 8 years ago
Milestone: | 7.0.5 → 7.0.6 |
---|
comment:9 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:11 by , 6 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Already fixed in trunk r73559, closing as fixed.
comment:12 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Replying to franziskabeau:
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.