Revision 1188
trunk/libraries/libjni-gdal/src-test/Ogr2ogr.java | ||
---|---|---|
24 | 24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | 25 |
*/ |
26 | 26 |
|
27 |
/**************************************************/ |
|
28 |
//Transcripci?n del fichero Ogr2ogr de C de Frank Warmwedam |
|
29 |
/**************************************************/ |
|
30 |
/*******************INCOMPLETO*********************/ |
|
31 |
/**************************************************/ |
|
27 | 32 |
|
33 |
|
|
28 | 34 |
import java.util.Vector; |
29 | 35 |
|
30 | 36 |
import es.gva.cit.jogr.*; |
trunk/libraries/libjni-gdal/src-test/Ogr_info.java | ||
---|---|---|
24 | 24 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
25 | 25 |
*/ |
26 | 26 |
|
27 |
/**************************************************/ |
|
28 |
/*****************INCOMPLETO***********************/ |
|
29 |
/**************************************************/ |
|
27 | 30 |
|
28 | 31 |
import es.gva.cit.jogr.*; |
29 | 32 |
|
trunk/libraries/libjni-gdal/src-test/SidToTif.java | ||
---|---|---|
1 | 1 |
/********************************************************************** |
2 |
* $Id$
|
|
3 |
*
|
|
4 |
* Name: SidToTif.java
|
|
5 |
* Project:
|
|
6 |
* Purpose: Convierte una im?gen MrSID en Tiff utilizando para la lectura
|
|
7 |
* el wrapper jni-mrsid y para la escritura jni-gdal. Para el
|
|
8 |
* funcionamiento de este ejemplo es necesaria tambien la libreria
|
|
9 |
* jmrsid.dll/libjmrsid.so.x.x.x as? como las librerias de mrsid.
|
|
10 |
* Author: Nacho Brodin, brodin_ign@gva.es
|
|
11 |
*
|
|
12 |
**********************************************************************/
|
|
2 |
* $Id$ |
|
3 |
* |
|
4 |
* Name: SidToTif.java |
|
5 |
* Project: |
|
6 |
* Purpose: Convierte una im?gen MrSID en Tiff utilizando para la lectura |
|
7 |
* el wrapper jni-mrsid y para la escritura jni-gdal. Para el |
|
8 |
* funcionamiento de este ejemplo es necesaria tambien la libreria |
|
9 |
* jmrsid.dll/libjmrsid.so.x.x.x as? como las librerias de mrsid. |
|
10 |
* Author: Nacho Brodin, brodin_ign@gva.es |
|
11 |
* |
|
12 |
**********************************************************************/ |
|
13 | 13 |
|
14 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
14 | 15 |
|
16 |
This program is free software; you can redistribute it and/or |
|
17 |
modify it under the terms of the GNU General Public License |
|
18 |
as published by the Free Software Foundation; either version 2 |
|
19 |
of the License, or (at your option) any later version. |
|
20 |
|
|
21 |
This program is distributed in the hope that it will be useful, |
|
22 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
23 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
24 |
GNU General Public License for more details. |
|
25 |
|
|
26 |
You should have received a copy of the GNU General Public License |
|
27 |
along with this program; if not, write to the Free Software |
|
28 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
29 |
*/ |
|
30 |
|
|
15 | 31 |
import es.gva.cit.jmrsid.*; |
16 | 32 |
import es.gva.cit.jgdal.*; |
17 | 33 |
|
trunk/libraries/libjni-gdal/src-test/Writetif.java | ||
---|---|---|
1 | 1 |
/********************************************************************** |
2 |
* $Id$ |
|
3 |
* |
|
4 |
* Name: writetif.java |
|
5 |
* Project: gvSIG - Generalitat Valenciana SIG |
|
6 |
* Purpose: Escribe una im?gen en formato geotiff a partir de otra en |
|
7 |
* otro formato. Los par?metros necesarios son im?gen fuente, ancho |
|
8 |
* y alto de la escena a convertir. |
|
9 |
* java Writetif imagen_src.sid 2000 1500 |
|
10 |
* Author: Nacho Brodin, brodin_ign@gva.es |
|
11 |
* |
|
12 |
**********************************************************************/ |
|
2 |
* $Id$ |
|
3 |
* |
|
4 |
* Name: writetif.java |
|
5 |
* Project: gvSIG - Generalitat Valenciana SIG |
|
6 |
* Purpose: Escribe una im?gen en formato geotiff a partir de otra en |
|
7 |
* otro formato. Los par?metros necesarios son im?gen fuente, ancho |
|
8 |
* y alto de la escena a convertir. |
|
9 |
* java Writetif imagen_src.sid 2000 1500 |
|
10 |
* Author: Nacho Brodin, brodin_ign@gva.es |
|
11 |
* |
|
12 |
**********************************************************************/ |
|
13 |
/*Copyright (C) 2004 Nacho Brodin <brodin_ign@gva.es> |
|
13 | 14 |
|
15 |
This program is free software; you can redistribute it and/or |
|
16 |
modify it under the terms of the GNU General Public License |
|
17 |
as published by the Free Software Foundation; either version 2 |
|
18 |
of the License, or (at your option) any later version. |
|
19 |
|
|
20 |
This program is distributed in the hope that it will be useful, |
|
21 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
GNU General Public License for more details. |
|
24 |
|
|
25 |
You should have received a copy of the GNU General Public License |
|
26 |
along with this program; if not, write to the Free Software |
|
27 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
28 |
*/ |
|
29 |
|
|
14 | 30 |
import es.gva.cit.jgdal.*; |
15 | 31 |
import es.gva.cit.jogr.*; |
16 | 32 |
|
Also available in: Unified diff