Hi Julien, I tried to reproduce your bug but without success for now.
I've created a shapefile with one polygon, one id of type integer with value 1801993. I use the rasterization and gdalinfo give me : gdalinfo ~/temporary/bug_osman.tif Driver: GTiff/GeoTIFF Files: /home/grizonnetm/temporary/bug_osman.tif Size is 5, 4 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4326"]] Origin = (-2.376571937918375,2.466496281515287) Pixel Size = (1.000000000000000,-1.000000000000000) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -2.3765719, 2.4664963) ( 2d22'35.66"W, 2d27'59.39"N) Lower Left ( -2.3765719, -1.5335037) ( 2d22'35.66"W, 1d32' 0.61"S) Upper Right ( 2.6234281, 2.4664963) ( 2d37'24.34"E, 2d27'59.39"N) Lower Right ( 2.6234281, -1.5335037) ( 2d37'24.34"E, 1d32' 0.61"S) Center ( 0.1234281, 0.4664963) ( 0d 7'24.34"E, 0d27'59.39"N) Band 1 Block=5x4 Type=Float64, ColorInterp=Gray [1]+ Erreur de segmentation (core dumped) monteverdi grizonnetm@pc-grizonnetm:~/projets/otb/bin/release/OTB/bin$ gdalinfo -mm ~/temporary/bug_osman.tif Driver: GTiff/GeoTIFF Files: /home/grizonnetm/temporary/bug_osman.tif Size is 5, 4 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4326"]] Origin = (-2.376571937918375,2.466496281515287) Pixel Size = (1.000000000000000,-1.000000000000000) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -2.3765719, 2.4664963) ( 2d22'35.66"W, 2d27'59.39"N) Lower Left ( -2.3765719, -1.5335037) ( 2d22'35.66"W, 1d32' 0.61"S) Upper Right ( 2.6234281, 2.4664963) ( 2d37'24.34"E, 2d27'59.39"N) Lower Right ( 2.6234281, -1.5335037) ( 2d37'24.34"E, 1d32' 0.61"S) Center ( 0.1234281, 0.4664963) ( 0d 7'24.34"E, 0d27'59.39"N) Band 1 Block=5x4 Type=Float64, ColorInterp=Gray Computed Min/Max=0.000,*1801993.000* You can see that the maximum value is not modified. I suspect something specific from your platform or perhaps a problem with the input data. Can you provide a sample from your shapefile to try to reproduce this issue? Can you reproduce the problem with a simple polygon as I've tested. PS: can you also provide the version of gdal you're using on your system? regards, Manuel Le 16/01/2014 18:01, Julien O. a écrit : > > ./otbcli_Rasterization -in test.shp -out test.tif double -epsg > 2154 -spx 8 -spy 8 -mode attribute -mode.attribute.field ID_ILOT > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to otb-users@googlegroups.com To unsubscribe from this group, send email to otb-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.