File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1717
1818function print_geo (io, mime, A; blockwidth)
1919 DD. print_block_separator (io, " raster" , blockwidth)
20- printstyled (io, " \n extent: " ; color= :light_black )
21- show (io, mime, Extents. extent (A))
2220 if missingval (A) != = nothing
2321 printstyled (io, " \n missingval: " ; color= :light_black )
2422 show (io, mime, missingval (A))
2523 end
24+ printstyled (io, " \n extent: " ; color= :light_black )
25+ show (io, mime, Extents. extent (A))
2626 if crs (A) != = nothing
2727 printstyled (io, " \n crs: " ; color= :light_black )
28- print (io, convert (String, crs (A)))
28+ str = convert (String, crs (A))
29+ if length (str) > (blockwidth - 7 )
30+ print (io, str[1 : min (blockwidth - 10 , end )] * " ..." )
31+ else
32+ print (io, str)
33+ end
2934 end
3035 if mappedcrs (A) != = nothing
3136 printstyled (io, " \n mappedcrs: " ; color= :light_black )
You can’t perform that action at this time.
0 commit comments