Revision 33301
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/saveraster/ui/listener/SaveRasterDialogListener.java | ||
---|---|---|
115 | 115 |
|
116 | 116 |
//Limitamos el tama?o |
117 | 117 |
if(dialog.getDataInputListener().getWidthInPixels() > 20000 || dialog.getDataInputListener().getHeightInPixels() > 20000) { |
118 |
RasterToolsUtil.messageBoxInfo("output_file_too_big", dialog);
|
|
119 |
return false; |
|
118 |
if(!RasterToolsUtil.messageBoxYesOrNot("output_file_too_big", null))
|
|
119 |
return false;
|
|
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
//Comprobamos que el en la ruta de destino tengamos permisos de escritura |
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/saveas/SaveAsTocMenuEntry.java | ||
---|---|---|
229 | 229 |
|
230 | 230 |
long maxJp2 = 13000 * 12500 * 3; |
231 | 231 |
if (bytes > (20000 * 20000 * 3)) { |
232 |
RasterToolsUtil.messageBoxInfo("output_file_too_big", null); |
|
232 |
if(!RasterToolsUtil.messageBoxYesOrNot("output_file_too_big", null)) |
|
233 |
return; |
|
233 | 234 |
} |
234 | 235 |
if (file.endsWith(".jp2")) { |
235 | 236 |
if (bytes > maxJp2) { |
236 |
RasterToolsUtil.messageBoxInfo("output_file_too_big_jpeg2000", null); |
|
237 |
if(!RasterToolsUtil.messageBoxYesOrNot("output_file_too_big_jpeg2000", null)) |
|
238 |
return; |
|
237 | 239 |
} |
238 | 240 |
} |
239 | 241 |
|
trunk/extensions/extRasterTools-SE/config/text_en.properties | ||
---|---|---|
364 | 364 |
origen=Origin |
365 | 365 |
origin=Origin |
366 | 366 |
otras_opciones=Options |
367 |
output_file_too_big=Output image is too big. |
|
368 |
output_file_too_big_jpeg2000=Output image is too big for JPEG2000 format. |
|
367 |
output_file_too_big=Output image is too big. Would you like to go on?
|
|
368 |
output_file_too_big_jpeg2000=Output image is too big for JPEG2000 format. Would you like to go on?
|
|
369 | 369 |
output_header_format=Header output format |
370 | 370 |
output_hist=Output |
371 | 371 |
output_quantization=Output quantization |
trunk/extensions/extRasterTools-SE/config/text.properties | ||
---|---|---|
369 | 369 |
origen=Origen |
370 | 370 |
origin=Origen |
371 | 371 |
otras_opciones=Opciones |
372 |
output_file_too_big=La imagen de salida es demasiado grande.\n Revise los par\u00e1metros.
|
|
373 |
output_file_too_big_jpeg2000=Se ha excedido el tama\u00f1o m\u00e1ximo para JPEG2000. \n Revise los par\u00e1metros.
|
|
372 |
output_file_too_big=La imagen de salida es demasiado grande.\n \u00bfDesea continuar?
|
|
373 |
output_file_too_big_jpeg2000=Se ha excedido el tama\u00f1o m\u00e1ximo para JPEG2000. \n \u00bfDesea continuar?
|
|
374 | 374 |
output_header_format=Formato de la cabecera de salida |
375 | 375 |
output_hist=Salida |
376 | 376 |
output_quantization=Cuantizaci\u00f3n de la salida |
Also available in: Unified diff