Revision 25758
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/.classpath | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<classpath> |
|
3 |
<classpathentry kind="src" path="/libDielmoOpenLiDAR"/> |
|
4 |
<classpathentry kind="src" path="src"/> |
|
5 |
<classpathentry kind="src" path="src-test"/> |
|
6 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> |
|
7 |
<classpathentry combineaccessrules="false" kind="src" path="/appgvSIG"/> |
|
8 |
<classpathentry combineaccessrules="false" kind="src" path="/_fwAndami"/> |
|
9 |
<classpathentry combineaccessrules="false" kind="src" path="/libFMap"/> |
|
10 |
<classpathentry kind="lib" path="/libFMap/lib/cms.jar"/> |
|
11 |
<classpathentry kind="lib" path="/libFMap/lib/gdbms-0.8-SNAPSHOT.jar"/> |
|
12 |
<classpathentry kind="lib" path="/_fwAndami/lib/iver-utiles.jar"/> |
|
13 |
<classpathentry kind="lib" path="/libFMap/lib/driver-manager-1.1.jar"/> |
|
14 |
<classpathentry kind="lib" path="/_fwAndami/lib/beans.jar" sourcepath="/libUI"/> |
|
15 |
<classpathentry kind="lib" path="/libUIComponent/lib/log4j-1.2.8.jar"/> |
|
16 |
<classpathentry kind="lib" path="/_fwAndami/lib/castor-0.9.5.3-xml.jar"/> |
|
17 |
<classpathentry kind="src" path="/extCAD"/> |
|
18 |
<classpathentry kind="lib" path="/libFMap/lib/gvsig-ui.jar" sourcepath="/libUIComponent_praster"/> |
|
19 |
<classpathentry kind="output" path="bin"/> |
|
20 |
</classpath> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/dist/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<plugin-config> |
|
3 |
<libraries library-dir="."/> |
|
4 |
<depends plugin-name="com.iver.cit.gvsig"/> |
|
5 |
<resourceBundle name="text"/> |
|
6 |
<extensions> |
|
7 |
<extension class-name="com.dielmo.gvsig.lidar.extensions.LidarExtension" |
|
8 |
description="LiDAR" |
|
9 |
active="true"> |
|
10 |
<!-- Boton para altura --> |
|
11 |
<menu text="Vista/Establecer_leyeda_lidar_por_altura" tooltip="Establecer_leyeda_lidar_por_altura" |
|
12 |
action-command="Z_LEGEND" |
|
13 |
icon="images/z.png" /> |
|
14 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
15 |
<tool-bar name="Establecer_leyeda"> |
|
16 |
<action-tool icon="images/z.png" |
|
17 |
action-command="Z_LEGEND" tooltip="Establecer_leyeda_lidar_por_altura" |
|
18 |
enable-text="deber?a de estar activada" position="1"/> |
|
19 |
</tool-bar> |
|
20 |
<!-- Boton para intensidad --> |
|
21 |
<menu text="Vista/Establecer_leyeda_lidar_por_intensidad" tooltip="Establecer_leyeda_lidar_por_intensidad" |
|
22 |
action-command="INTENSITY_LEGEND" |
|
23 |
icon="images/intensidad.png" /> |
|
24 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
25 |
<tool-bar name="Establecer_leyeda"> |
|
26 |
<action-tool icon="images/intensidad.png" |
|
27 |
action-command="INTENSITY_LEGEND" tooltip="Establecer_leyeda_lidar_por_intensidad" |
|
28 |
enable-text="deber?a de estar activada" position="2"/> |
|
29 |
</tool-bar> |
|
30 |
<!-- Boton para preferencias --> |
|
31 |
<menu text="Vista/Establecer_leyeda_lidar_por_preferencia" tooltip="Establecer_leyeda_lidar_por_preferencia" |
|
32 |
action-command="PREFER_LEGEND" |
|
33 |
icon="images/preferences.png" /> |
|
34 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
35 |
<tool-bar name="Establecer_leyeda"> |
|
36 |
<action-tool icon="images/preferences.png" |
|
37 |
action-command="PREFER_LEGEND" tooltip="Establecer_leyeda_lidar_por_preferencia" |
|
38 |
enable-text="deber?a de estar activada" position="3"/> |
|
39 |
</tool-bar> |
|
40 |
<!-- Boton por defecto --> |
|
41 |
<menu text="Vista/Establecer_leyeda_lidar_por_defecto" tooltip="Establecer_leyeda_lidar_por_defecto" |
|
42 |
action-command="DEFAULT_LEGEND" |
|
43 |
icon="images/default.png" /> |
|
44 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
45 |
<tool-bar name="Establecer_leyeda"> |
|
46 |
<action-tool icon="images/default.png" |
|
47 |
action-command="DEFAULT_LEGEND" tooltip="Establecer_leyeda_lidar_por_defecto" |
|
48 |
enable-text="deber?a de estar activada" position="4"/> |
|
49 |
</tool-bar> |
|
50 |
</extension> |
|
51 |
<extension class-name="com.dielmo.gvsig.lidar.extensions.LidarColorRGBExtension" |
|
52 |
description="LiDAR" |
|
53 |
active="true"> |
|
54 |
<!-- Boton para color RGB --> |
|
55 |
<menu text="Vista/Establecer_leyeda_lidar_por_RGB" tooltip="Establecer_leyeda_lidar_por_RGB" |
|
56 |
action-command="DRAW_RGB" |
|
57 |
icon="images/preferences.png" /> |
|
58 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
59 |
<tool-bar name="Establecer_leyeda"> |
|
60 |
<action-tool icon="images/color.png" |
|
61 |
action-command="DRAW_RGB" tooltip="Establecer_leyeda_lidar_por_RGB" |
|
62 |
enable-text="deber?a de estar activada" position="5"/> |
|
63 |
</tool-bar> |
|
64 |
</extension> |
|
65 |
</extensions> |
|
66 |
</plugin-config> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/dist/about.html | ||
---|---|---|
1 |
<html> |
|
2 |
<head> |
|
3 |
<style type="text/css"> |
|
4 |
BODY {background-image: url(logo.png); background-repeat: no-repeat; background-position: 100% 0% } |
|
5 |
</style> |
|
6 |
</head> |
|
7 |
<body> |
|
8 |
|
|
9 |
<h2>DielmoOpenLiDAR 1.0 RC-1</h2> |
|
10 |
<p><br></p> |
|
11 |
<p>Extensión desarrollada por <b>Dielmo 3D S.L.</b> para el manejo de datos LiDAR originales |
|
12 |
en formatos LAS y BIN, así como el control de calidad y análisis visual de los datos.</p> |
|
13 |
|
|
14 |
<BR> |
|
15 |
En <a href="http://www.dielmo.com" title="Dielmo 3D S.L.">http://www.dielmo.com</a> puede encontrar: |
|
16 |
<BR> |
|
17 |
|
|
18 |
<ul> |
|
19 |
<li>Más información sobre la tecnología LiDAR.</li> |
|
20 |
<li>Actualizaciones semanales con nuevas funcionalidades.</li> |
|
21 |
<li>Datos de muestra para poder comenzar a manejar el programa.</li> |
|
22 |
<li>Tutoriales para realizar controles de calidad a los datos LiDAR.</li> |
|
23 |
<li>Documentación para el desarrollo de nuevas extensiones.</li> |
|
24 |
<li>Previsión de trabajos futuros</li> |
|
25 |
<li>Cómo colaborar con el proyecto, etc.</li> |
|
26 |
|
|
27 |
</ul> |
|
28 |
|
|
29 |
<p><b>Desarrollo:</b></p> |
|
30 |
|
|
31 |
<p>Director del proyecto:</p> |
|
32 |
<ul> |
|
33 |
<li>José Carlos Gárcia Gónzalez</li> |
|
34 |
</ul> |
|
35 |
<p>Equipo de desarrollo:</p> |
|
36 |
<ul> |
|
37 |
<li>Oscar Gárcia Gónzalez</li> |
|
38 |
</ul> |
|
39 |
|
|
40 |
<p>Build Number: 4</p> |
|
41 |
|
|
42 |
</body> |
|
43 |
</html> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/dist/com/dielmo/gvsig/lidar/drivers/resources/translations/text.properties | ||
---|---|---|
1 |
#Translations for language [es] |
|
2 |
#Thr Abril 3 16:06:24 CET 2008 |
|
3 |
Cabecera_inesperada=Cabecera no esperada |
|
4 |
Punto_inesperado=Punto no esperado |
|
5 |
Establecer_leyeda_lidar_por_altura=Establecer leyenda LiDAR por Z |
|
6 |
Establecer_leyeda_lidar_por_intensidad=Establecer leyenda LiDAR por intensidad |
|
7 |
Establecer_leyeda_lidar_por_clasificacion=Establecer leyenda LiDAR por clasificacion |
|
8 |
Establecer_leyeda_lidar_por_defecto=Establecer leyenda LiDAR por defecto |
|
9 |
Establecer_leyeda_lidar_por_preferencia=Establecer leyenda LiDAR preferida |
|
10 |
LiDAR_preferences=Preferencias LiDAR |
|
11 |
PreferedLiDAR_Legend=Leyenda LiDAR preferida |
|
12 |
Class0=0 Creado, nunca clasificado |
|
13 |
Class1=1 Sin clasificar |
|
14 |
Class2=2 Suelo |
|
15 |
Class3=3 Vegetaci?n Baja |
|
16 |
Class4=4 Vegetaci?n Media |
|
17 |
Class5=5 Vegetaci?n Alta |
|
18 |
Class6=6 Edificios |
|
19 |
Class7=7 Punto Bajo (ruido) |
|
20 |
Class8=8 Model key-point (mass point) |
|
21 |
Class9=9 Agua |
|
22 |
Class12=12 Puntos de Solape |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/dist/com/dielmo/gvsig/lidar/drivers/resources/translations/text_en.properties | ||
---|---|---|
1 |
#Translations for language [en] |
|
2 |
#Thr Abril 3 16:06:24 CET 2008 |
|
3 |
Cabecera_inesperada=Header not expected |
|
4 |
Punto_inesperado=Point not expected |
|
5 |
Establecer_leyeda_lidar_por_altura=Set LiDAR legend by Z |
|
6 |
Establecer_leyeda_lidar_por_intensidad=Set LiDAR legend by intensity |
|
7 |
Establecer_leyeda_lidar_por_clasificacion=Set LiDAR legend by classification |
|
8 |
Establecer_leyeda_lidar_por_defecto=Set default LiDAR legend |
|
9 |
Establecer_leyeda_lidar_por_preferencia=Set prefer LiDAR legend |
|
10 |
LiDAR_preferences=LiDAR preferences |
|
11 |
PreferedLiDAR_Legend=prefer LiDAR legend |
|
12 |
Class0=0 Created, never classified |
|
13 |
Class1=1 Unclassified |
|
14 |
Class2=2 Ground |
|
15 |
Class3=3 Low Vegetation |
|
16 |
Class4=4 Medium Vegetation |
|
17 |
Class5=5 High Vegetation |
|
18 |
Class6=6 Building |
|
19 |
Class7=7 Low Point (noise) |
|
20 |
Class8=8 Model key-point (mass point) |
|
21 |
Class9=9 Water |
|
22 |
Class12=12 Overlap Points |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/dist/com/dielmo/gvsig/lidar/drivers/resources/translations/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<plugin-config> |
|
3 |
<libraries library-dir="."/> |
|
4 |
<depends plugin-name="com.iver.cit.gvsig"/> |
|
5 |
<resourceBundle name="text"/> |
|
6 |
<extensions> |
|
7 |
<extension class-name="com.dielmo.gvsig.lidar.extensions.LidarExtension" |
|
8 |
description="LiDAR" |
|
9 |
active="true"> |
|
10 |
<!-- Boton para altura --> |
|
11 |
<menu text="Vista/Establecer_leyeda_lidar_por_altura" tooltip="Establecer_leyeda_lidar_por_altura" |
|
12 |
action-command="Z_LEGEND" |
|
13 |
icon="images/z.png" /> |
|
14 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
15 |
<tool-bar name="Establecer_leyeda"> |
|
16 |
<action-tool icon="images/z.png" |
|
17 |
action-command="Z_LEGEND" tooltip="Establecer_leyeda_lidar_por_altura" |
|
18 |
enable-text="deber?a de estar activada" last="true"/> |
|
19 |
</tool-bar> |
|
20 |
<!-- Boton para intensidad --> |
|
21 |
<menu text="Vista/Establecer_leyeda_lidar_por_intensidad" tooltip="Establecer_leyeda_lidar_por_intensidad" |
|
22 |
action-command="INTENSITY_LEGEND" |
|
23 |
icon="images/intensidad.png" /> |
|
24 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
25 |
<tool-bar name="Establecer_leyeda"> |
|
26 |
<action-tool icon="images/intensidad.png" |
|
27 |
action-command="INTENSITY_LEGEND" tooltip="Establecer_leyeda_lidar_por_intensidad" |
|
28 |
enable-text="deber?a de estar activada" last="true"/> |
|
29 |
</tool-bar> |
|
30 |
<!-- Boton para preferencias --> |
|
31 |
<menu text="Vista/Establecer_leyeda_lidar_por_preferencia" tooltip="Establecer_leyeda_lidar_por_preferencia" |
|
32 |
action-command="PREFER_LEGEND" |
|
33 |
icon="images/preferences.png" /> |
|
34 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
35 |
<tool-bar name="Establecer_leyeda"> |
|
36 |
<action-tool icon="images/preferences.png" |
|
37 |
action-command="PREFER_LEGEND" tooltip="Establecer_leyeda_lidar_por_preferencia" |
|
38 |
enable-text="deber?a de estar activada" last="true"/> |
|
39 |
</tool-bar> |
|
40 |
<!-- Boton por defecto --> |
|
41 |
<menu text="Vista/Establecer_leyeda_lidar_por_defecto" tooltip="Establecer_leyeda_lidar_por_defecto" |
|
42 |
action-command="DEFAULT_LEGEND" |
|
43 |
icon="images/default.png" /> |
|
44 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
45 |
<tool-bar name="Establecer_leyeda"> |
|
46 |
<action-tool icon="images/default.png" |
|
47 |
action-command="DEFAULT_LEGEND" tooltip="Establecer_leyeda_lidar_por_defecto" |
|
48 |
enable-text="deber?a de estar activada" last="true"/> |
|
49 |
</tool-bar> |
|
50 |
</extension> |
|
51 |
</extensions> |
|
52 |
</plugin-config> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/dist/text.properties | ||
---|---|---|
1 |
#Translations for language [es] |
|
2 |
#Thr Abril 3 16:06:24 CET 2008 |
|
3 |
Cabecera_inesperada=Cabecera no esperada |
|
4 |
Punto_inesperado=Punto no esperado |
|
5 |
Establecer_leyeda_lidar_por_altura=Leyenda por altura |
|
6 |
Establecer_leyeda_lidar_por_intensidad=Leyenda por intensidad |
|
7 |
Establecer_leyeda_lidar_por_defecto=Leyenda por defecto |
|
8 |
Establecer_leyeda_lidar_por_preferencia=Leyenda por clasificacion predefinida |
|
9 |
Establecer_leyeda_lidar_por_RGB=Pintar RGB |
|
10 |
LiDAR_preferences=DielmoOpenLiDAR |
|
11 |
PreferedLiDAR_Legend=Leyenda de clasificacion predefinida |
|
12 |
Class0=0 Creado, nunca clasificado |
|
13 |
Class1=1 Sin clasificar |
|
14 |
Class2=2 Suelo |
|
15 |
Class3=3 Vegetaci?n Baja |
|
16 |
Class4=4 Vegetaci?n Media |
|
17 |
Class5=5 Vegetaci?n Alta |
|
18 |
Class6=6 Edificios |
|
19 |
Class7=7 Punto Bajo (ruido) |
|
20 |
Class8=8 Model key-point (mass point) |
|
21 |
Class9=9 Agua |
|
22 |
Class12=12 Puntos de Solape |
|
23 |
calculoIncorrecto = Calculo de leyenda inadecuado, compruebe que la tabla tenga valores correctos |
|
24 |
PreferedLiDAR_PixelSize=Tama?o m?ximo de pixel. |
|
25 |
size=tama?o |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/dist/text_en.properties | ||
---|---|---|
1 |
#Translations for language [en] |
|
2 |
#Thr Abril 3 16:06:24 CET 2008 |
|
3 |
Cabecera_inesperada=Header not expected |
|
4 |
Punto_inesperado=Point not expected |
|
5 |
Establecer_leyeda_lidar_por_altura=Legend by Z |
|
6 |
Establecer_leyeda_lidar_por_intensidad=Legend by intensity |
|
7 |
Establecer_leyeda_lidar_por_defecto=Default legend |
|
8 |
Establecer_leyeda_lidar_por_preferencia=Legend by favorite classification |
|
9 |
Establecer_leyeda_lidar_por_RGB=draw RGB |
|
10 |
LiDAR_preferences=DielmoOpenLiDAR |
|
11 |
PreferedLiDAR_Legend=Favorite classification legend |
|
12 |
Class0=0 Created, never classified |
|
13 |
Class1=1 Unclassified |
|
14 |
Class2=2 Ground |
|
15 |
Class3=3 Low Vegetation |
|
16 |
Class4=4 Medium Vegetation |
|
17 |
Class5=5 High Vegetation |
|
18 |
Class6=6 Building |
|
19 |
Class7=7 Low Point (noise) |
|
20 |
Class8=8 Model key-point (mass point) |
|
21 |
Class9=9 Water |
|
22 |
Class12=12 Overlap Points |
|
23 |
calculoIncorrecto = Calculate legend inadequate, check that the table is correct values |
|
24 |
PreferedLiDAR_PixelSize=Maximum size of pixel |
|
25 |
size=size |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<projectDescription> |
|
3 |
<name>extDielmoOpenLidar</name> |
|
4 |
<comment></comment> |
|
5 |
<projects> |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
<buildCommand> |
|
9 |
<name>org.eclipse.jdt.core.javabuilder</name> |
|
10 |
<arguments> |
|
11 |
</arguments> |
|
12 |
</buildCommand> |
|
13 |
<buildCommand> |
|
14 |
<name>de.loskutov.FileSync.FSBuilder</name> |
|
15 |
<arguments> |
|
16 |
</arguments> |
|
17 |
</buildCommand> |
|
18 |
</buildSpec> |
|
19 |
<natures> |
|
20 |
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> |
|
21 |
<nature>org.eclipse.jdt.core.javanature</nature> |
|
22 |
<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature> |
|
23 |
</natures> |
|
24 |
</projectDescription> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/src-test/com/dielmo/gvsig/lidar/test/ObjectToLASVariableLengthRecord.java | ||
---|---|---|
1 |
/* DielmoOpenLiDAR |
|
2 |
* |
|
3 |
* Copyright (C) 2008 DIELMO 3D S.L. (DIELMO) and Infrastructures |
|
4 |
* and Transports Department of the Valencian Government (CIT) |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
* For more information, contact: |
|
22 |
* |
|
23 |
* DIELMO 3D S.L. |
|
24 |
* Plaza Vicente Andr?s Estell?s 1 Bajo E |
|
25 |
* 46950 Xirivella, Valencia |
|
26 |
* SPAIN |
|
27 |
* |
|
28 |
* +34 963137212 |
|
29 |
* dielmo@dielmo.com |
|
30 |
* www.dielmo.com |
|
31 |
* |
|
32 |
* or |
|
33 |
* |
|
34 |
* Generalitat Valenciana |
|
35 |
* Conselleria d'Infraestructures i Transport |
|
36 |
* Av. Blasco Ib??ez, 50 |
|
37 |
* 46010 VALENCIA |
|
38 |
* SPAIN |
|
39 |
* |
|
40 |
* +34 963862235 |
|
41 |
* gvsig@gva.es |
|
42 |
* www.gvsig.gva.es |
|
43 |
*/ |
|
44 |
|
|
45 |
/* |
|
46 |
* AUTHORS (In addition to DIELMO and CIT): |
|
47 |
* |
|
48 |
*/ |
|
49 |
|
|
50 |
package com.dielmo.gvsig.lidar.test; |
|
51 |
|
|
52 |
import java.io.ByteArrayInputStream; |
|
53 |
import java.io.ByteArrayOutputStream; |
|
54 |
import java.io.File; |
|
55 |
import java.io.FileNotFoundException; |
|
56 |
import java.io.IOException; |
|
57 |
import java.io.ObjectInputStream; |
|
58 |
import java.io.ObjectOutputStream; |
|
59 |
|
|
60 |
import javax.swing.JFileChooser; |
|
61 |
import javax.swing.JOptionPane; |
|
62 |
|
|
63 |
import com.dielmo.gvsig.lidar.drivers.LiDARDriver; |
|
64 |
import com.dielmo.lidar.LASHeader_1X; |
|
65 |
import com.dielmo.lidar.LASVariableLengthRecord_1X; |
|
66 |
import com.dielmo.lidar.LASVariableLengthRecord_V10; |
|
67 |
import com.dielmo.lidar.LASVariableLengthRecord_V11; |
|
68 |
import com.dielmo.lidar.LidarHeader; |
|
69 |
import com.hardcode.gdbms.engine.values.DoubleValue; |
|
70 |
import com.hardcode.gdbms.engine.values.ValueFactory; |
|
71 |
import com.iver.utiles.GenericFileFilter; |
|
72 |
|
|
73 |
public class ObjectToLASVariableLengthRecord { |
|
74 |
|
|
75 |
public static void main(String[] args){ |
|
76 |
|
|
77 |
JFileChooser fileChooserLAS = new JFileChooser(); |
|
78 |
fileChooserLAS.addChoosableFileFilter(new GenericFileFilter("LAS Files", "*.las")); |
|
79 |
File fileLAS; |
|
80 |
|
|
81 |
int resultLAS = fileChooserLAS.showOpenDialog(null); |
|
82 |
|
|
83 |
if (resultLAS == JFileChooser.APPROVE_OPTION && (fileLAS = fileChooserLAS.getSelectedFile()) != null) { |
|
84 |
|
|
85 |
if(fileLAS.getAbsolutePath().toUpperCase().endsWith("LAS")){ |
|
86 |
try { |
|
87 |
|
|
88 |
LiDARDriver lidarDriver = new LiDARDriver(); |
|
89 |
lidarDriver.open(fileLAS); |
|
90 |
lidarDriver.initialize(); |
|
91 |
|
|
92 |
LASHeader_1X lasHeader = (LASHeader_1X) lidarDriver.getLidarHeader(); |
|
93 |
LASVariableLengthRecord_1X vlrLAS[] = lasHeader.getLASHeaderVLR(); |
|
94 |
LASVariableLengthRecord_1X newVlrLAS[] = new LASVariableLengthRecord_1X[vlrLAS.length+1]; |
|
95 |
int i; |
|
96 |
for(i=0;i<vlrLAS.length;i++){ |
|
97 |
newVlrLAS[i] = vlrLAS[i]; |
|
98 |
} |
|
99 |
|
|
100 |
// cualquier objeto serializable y que no pese mas de 8 megas es posible integrarlo en una VLR |
|
101 |
DoubleValue dd = ValueFactory.createValue(19.44); |
|
102 |
// convertimos el Objeto shpLayer en un vector de bytes |
|
103 |
ByteArrayOutputStream bsOut= new ByteArrayOutputStream(); |
|
104 |
ObjectOutputStream os = new ObjectOutputStream (bsOut); |
|
105 |
os.writeObject(dd); // solo acepta objetos serializables |
|
106 |
os.close(); |
|
107 |
byte[] byteVal = bsOut.toByteArray(); // devuelve byte[] |
|
108 |
|
|
109 |
|
|
110 |
// escribimos los datos en las varialbes length record |
|
111 |
int versionLAS = lasHeader.getVersion(); |
|
112 |
if(versionLAS==LidarHeader.LAS11F0 || versionLAS == LidarHeader.LAS11F1) { |
|
113 |
|
|
114 |
LASVariableLengthRecord_V11 vlrAux11; |
|
115 |
vlrAux11 = new LASVariableLengthRecord_V11(); |
|
116 |
vlrAux11.setUserID("Shp"); |
|
117 |
vlrAux11.setReserved(0); |
|
118 |
vlrAux11.setRecordID(1); |
|
119 |
vlrAux11.setDescription("Shp del area de interes de la zona de estudio"); |
|
120 |
vlrAux11.setRecordLengthAfterHeader(byteVal.length); |
|
121 |
vlrAux11.setData(byteVal); |
|
122 |
newVlrLAS[i] = vlrAux11; |
|
123 |
lasHeader.setLASHeaderVLR(newVlrLAS); |
|
124 |
|
|
125 |
} else if(versionLAS==LidarHeader.LAS10F0 || versionLAS == LidarHeader.LAS10F1) { |
|
126 |
|
|
127 |
LASVariableLengthRecord_V10 vlrAux10; |
|
128 |
vlrAux10 = new LASVariableLengthRecord_V10(); |
|
129 |
|
|
130 |
vlrAux10.setUserID("Shp"); |
|
131 |
vlrAux10.setRecordID(1); |
|
132 |
vlrAux10.setDescription("Shp del area de interes de la zona de estudio"); |
|
133 |
vlrAux10.setRecordLengthAfterHeader(byteVal.length); |
|
134 |
vlrAux10.setData(byteVal); |
|
135 |
newVlrLAS[i] = vlrAux10; |
|
136 |
|
|
137 |
lasHeader.setLASHeaderVLR(newVlrLAS); |
|
138 |
} |
|
139 |
|
|
140 |
// obtenemos la VLR que acabamos de guardar. |
|
141 |
LASVariableLengthRecord_1X vlrAux2; |
|
142 |
vlrAux2 = lasHeader.getLASHeaderVLRByIndex(i); |
|
143 |
|
|
144 |
try { |
|
145 |
byte bytes[] = vlrAux2.getData(); |
|
146 |
ByteArrayInputStream bsIn = new ByteArrayInputStream(bytes); // bytes es el byte[] |
|
147 |
ObjectInputStream is = new ObjectInputStream(bsIn); |
|
148 |
|
|
149 |
DoubleValue unObjetoSerializable = (DoubleValue)is.readObject(); |
|
150 |
is.close(); |
|
151 |
|
|
152 |
System.out.println(unObjetoSerializable.getValue()); |
|
153 |
|
|
154 |
} catch (ClassNotFoundException e) { |
|
155 |
// TODO Auto-generated catch block |
|
156 |
e.printStackTrace(); |
|
157 |
} |
|
158 |
|
|
159 |
|
|
160 |
} catch (FileNotFoundException e) { |
|
161 |
// TODO Auto-generated catch block |
|
162 |
e.printStackTrace(); |
|
163 |
} catch (IOException e) { |
|
164 |
// TODO Auto-generated catch block |
|
165 |
e.printStackTrace(); |
|
166 |
} |
|
167 |
} |
|
168 |
|
|
169 |
} else { |
|
170 |
|
|
171 |
// si no se eligio fichero LAS correctamente. |
|
172 |
if(resultLAS == JFileChooser.APPROVE_OPTION ) |
|
173 |
JOptionPane.showMessageDialog(null, "Selecciona un fichero Lidar en formato LAS"); |
|
174 |
} |
|
175 |
} |
|
176 |
|
|
177 |
} |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/src-test/com/dielmo/gvsig/lidar/test/LidarToXYZ.java | ||
---|---|---|
1 |
/* DielmoOpenLiDAR |
|
2 |
* |
|
3 |
* Copyright (C) 2008 DIELMO 3D S.L. (DIELMO) and Infrastructures |
|
4 |
* and Transports Department of the Valencian Government (CIT) |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
* For more information, contact: |
|
22 |
* |
|
23 |
* DIELMO 3D S.L. |
|
24 |
* Plaza Vicente Andr?s Estell?s 1 Bajo E |
|
25 |
* 46950 Xirivella, Valencia |
|
26 |
* SPAIN |
|
27 |
* |
|
28 |
* +34 963137212 |
|
29 |
* dielmo@dielmo.com |
|
30 |
* www.dielmo.com |
|
31 |
* |
|
32 |
* or |
|
33 |
* |
|
34 |
* Generalitat Valenciana |
|
35 |
* Conselleria d'Infraestructures i Transport |
|
36 |
* Av. Blasco Ib??ez, 50 |
|
37 |
* 46010 VALENCIA |
|
38 |
* SPAIN |
|
39 |
* |
|
40 |
* +34 963862235 |
|
41 |
* gvsig@gva.es |
|
42 |
* www.gvsig.gva.es |
|
43 |
*/ |
|
44 |
|
|
45 |
/* |
|
46 |
* AUTHORS (In addition to DIELMO and CIT): |
|
47 |
* |
|
48 |
*/ |
|
49 |
|
|
50 |
package com.dielmo.gvsig.lidar.test; |
|
51 |
|
|
52 |
import java.io.File; |
|
53 |
import java.io.FileNotFoundException; |
|
54 |
import java.io.FileWriter; |
|
55 |
import java.io.IOException; |
|
56 |
|
|
57 |
import javax.swing.JFileChooser; |
|
58 |
import javax.swing.JOptionPane; |
|
59 |
|
|
60 |
import org.cresques.cts.IProjection; |
|
61 |
|
|
62 |
import com.dielmo.gvsig.lidar.drivers.LiDARDriver; |
|
63 |
import com.hardcode.gdbms.engine.values.DoubleValue; |
|
64 |
import com.iver.cit.gvsig.fmap.crs.CRSFactory; |
|
65 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
66 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
|
67 |
import com.iver.cit.gvsig.fmap.layers.FLyrVect; |
|
68 |
import com.iver.cit.gvsig.fmap.layers.LayerFactory; |
|
69 |
import com.iver.cit.gvsig.fmap.layers.ReadableVectorial; |
|
70 |
import com.iver.cit.gvsig.fmap.layers.SelectableDataSource; |
|
71 |
|
|
72 |
/** |
|
73 |
* Crear un XYZ a partir de un fichero Lidar |
|
74 |
* |
|
75 |
* @author Oscar Garcia Gonzalez |
|
76 |
*/ |
|
77 |
public class LidarToXYZ{ |
|
78 |
|
|
79 |
public static void main(String[] args){ |
|
80 |
|
|
81 |
JFileChooser fileChooser = new JFileChooser(); |
|
82 |
//fileChooser.addChoosableFileFilter(new GenericFileFilter("Archivos lidar", "*.las;*.bin")); |
|
83 |
File file; |
|
84 |
|
|
85 |
int result = fileChooser.showOpenDialog(null); |
|
86 |
|
|
87 |
if (result == JFileChooser.APPROVE_OPTION && (file = fileChooser.getSelectedFile()) != null) { |
|
88 |
|
|
89 |
IProjection projection = CRSFactory.getCRS("EPSG:23030"); |
|
90 |
//IProjection projection = Project.getDefaultProjection(); |
|
91 |
createXYZByLidarFile(file, projection); |
|
92 |
|
|
93 |
} else { |
|
94 |
|
|
95 |
// si se eligio fichero correctamente. |
|
96 |
if(result == JFileChooser.APPROVE_OPTION ) |
|
97 |
JOptionPane.showMessageDialog(null, "Selecciona un fichero Lidar en formato LAS o BIN"); |
|
98 |
} |
|
99 |
} |
|
100 |
|
|
101 |
/** |
|
102 |
* escribe en formato XYZ un archivo lidar pasado por entrada. |
|
103 |
* @param file fichero lidar del que extraer la informacion. |
|
104 |
*/ |
|
105 |
public static void createXYZByLidarFile(File file, IProjection projection){ |
|
106 |
|
|
107 |
DoubleValue valueX, valueY, valueZ; |
|
108 |
int k, posTableX = 0, posTableY=1, posTableZ=2; |
|
109 |
|
|
110 |
if(file.getAbsolutePath().toUpperCase().endsWith("LAS") || file.getAbsolutePath().toUpperCase().endsWith("BIN")){ |
|
111 |
try { |
|
112 |
|
|
113 |
LiDARDriver lidarDriver = new LiDARDriver(); |
|
114 |
lidarDriver.open(file); |
|
115 |
lidarDriver.initialize(); |
|
116 |
|
|
117 |
FLayer lidarLayer; |
|
118 |
lidarLayer = LayerFactory.createLayer("lidarLayer", lidarDriver, projection); |
|
119 |
|
|
120 |
ReadableVectorial rvLidar = ((FLyrVect)lidarLayer).getSource(); |
|
121 |
SelectableDataSource dsLidar = rvLidar.getRecordset(); |
|
122 |
rvLidar.start(); |
|
123 |
|
|
124 |
String[] fd = dsLidar.getFieldNames(); |
|
125 |
for(k=0;k<fd.length;k++){ |
|
126 |
|
|
127 |
if(fd[k].equals("X")) |
|
128 |
posTableX = k; |
|
129 |
else if(fd[k].equals("Y")) |
|
130 |
posTableY = k; |
|
131 |
else if(fd[k].equals("Z")) |
|
132 |
posTableZ = k; |
|
133 |
} |
|
134 |
|
|
135 |
|
|
136 |
FileWriter out = new FileWriter(file+".xyz"); |
|
137 |
int rvlidarCount = rvLidar.getShapeCount(); |
|
138 |
for(k=0;k<rvlidarCount;k++){ |
|
139 |
|
|
140 |
valueX = (DoubleValue)dsLidar.getFieldValue(k, posTableX); |
|
141 |
valueY = (DoubleValue)dsLidar.getFieldValue(k, posTableY); |
|
142 |
valueZ = (DoubleValue)dsLidar.getFieldValue(k, posTableZ); |
|
143 |
|
|
144 |
out.write(valueX.getValue() + " " + valueY.getValue() + " " + valueZ.getValue() + "\n" ); |
|
145 |
} |
|
146 |
|
|
147 |
out.close(); |
|
148 |
rvLidar.stop(); |
|
149 |
|
|
150 |
} catch (DriverIOException e) { |
|
151 |
// TODO Auto-generated catch block |
|
152 |
e.printStackTrace(); |
|
153 |
} catch (com.hardcode.gdbms.engine.data.driver.DriverException e) { |
|
154 |
// TODO Auto-generated catch block |
|
155 |
e.printStackTrace(); |
|
156 |
} catch (FileNotFoundException e) { |
|
157 |
// TODO Auto-generated catch block |
|
158 |
e.printStackTrace(); |
|
159 |
} catch (IOException e) { |
|
160 |
// TODO Auto-generated catch block |
|
161 |
e.printStackTrace(); |
|
162 |
} |
|
163 |
} |
|
164 |
} |
|
165 |
|
|
166 |
} |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/config/text.properties | ||
---|---|---|
1 |
#Translations for language [es] |
|
2 |
#Thr Abril 3 16:06:24 CET 2008 |
|
3 |
Cabecera_inesperada=Cabecera no esperada |
|
4 |
Punto_inesperado=Punto no esperado |
|
5 |
Establecer_leyeda_lidar_por_altura=Leyenda por altura |
|
6 |
Establecer_leyeda_lidar_por_intensidad=Leyenda por intensidad |
|
7 |
Establecer_leyeda_lidar_por_defecto=Leyenda por defecto |
|
8 |
Establecer_leyeda_lidar_por_preferencia=Leyenda por clasificacion predefinida |
|
9 |
Establecer_leyeda_lidar_por_RGB=Pintar RGB |
|
10 |
LiDAR_preferences=DielmoOpenLiDAR |
|
11 |
PreferedLiDAR_Legend=Leyenda de clasificacion predefinida |
|
12 |
Class0=0 Creado, nunca clasificado |
|
13 |
Class1=1 Sin clasificar |
|
14 |
Class2=2 Suelo |
|
15 |
Class3=3 Vegetaci?n Baja |
|
16 |
Class4=4 Vegetaci?n Media |
|
17 |
Class5=5 Vegetaci?n Alta |
|
18 |
Class6=6 Edificios |
|
19 |
Class7=7 Punto Bajo (ruido) |
|
20 |
Class8=8 Model key-point (mass point) |
|
21 |
Class9=9 Agua |
|
22 |
Class12=12 Puntos de Solape |
|
23 |
calculoIncorrecto = Calculo de leyenda inadecuado, compruebe que la tabla tenga valores correctos |
|
24 |
PreferedLiDAR_PixelSize=Tama?o m?ximo de pixel. |
|
25 |
size=tama?o |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/config/text_en.properties | ||
---|---|---|
1 |
#Translations for language [en] |
|
2 |
#Thr Abril 3 16:06:24 CET 2008 |
|
3 |
Cabecera_inesperada=Header not expected |
|
4 |
Punto_inesperado=Point not expected |
|
5 |
Establecer_leyeda_lidar_por_altura=Legend by Z |
|
6 |
Establecer_leyeda_lidar_por_intensidad=Legend by intensity |
|
7 |
Establecer_leyeda_lidar_por_defecto=Default legend |
|
8 |
Establecer_leyeda_lidar_por_preferencia=Legend by favorite classification |
|
9 |
Establecer_leyeda_lidar_por_RGB=draw RGB |
|
10 |
LiDAR_preferences=DielmoOpenLiDAR |
|
11 |
PreferedLiDAR_Legend=Favorite classification legend |
|
12 |
Class0=0 Created, never classified |
|
13 |
Class1=1 Unclassified |
|
14 |
Class2=2 Ground |
|
15 |
Class3=3 Low Vegetation |
|
16 |
Class4=4 Medium Vegetation |
|
17 |
Class5=5 High Vegetation |
|
18 |
Class6=6 Building |
|
19 |
Class7=7 Low Point (noise) |
|
20 |
Class8=8 Model key-point (mass point) |
|
21 |
Class9=9 Water |
|
22 |
Class12=12 Overlap Points |
|
23 |
calculoIncorrecto = Calculate legend inadequate, check that the table is correct values |
|
24 |
PreferedLiDAR_PixelSize=Maximum size of pixel |
|
25 |
size=size |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/config/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<plugin-config> |
|
3 |
<libraries library-dir="."/> |
|
4 |
<depends plugin-name="com.iver.cit.gvsig"/> |
|
5 |
<resourceBundle name="text"/> |
|
6 |
<extensions> |
|
7 |
<extension class-name="com.dielmo.gvsig.lidar.extensions.LidarExtension" |
|
8 |
description="LiDAR" |
|
9 |
active="true"> |
|
10 |
<!-- Boton para altura --> |
|
11 |
<menu text="Vista/Establecer_leyeda_lidar_por_altura" tooltip="Establecer_leyeda_lidar_por_altura" |
|
12 |
action-command="Z_LEGEND" |
|
13 |
icon="images/z.png" /> |
|
14 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
15 |
<tool-bar name="Establecer_leyeda"> |
|
16 |
<action-tool icon="images/z.png" |
|
17 |
action-command="Z_LEGEND" tooltip="Establecer_leyeda_lidar_por_altura" |
|
18 |
enable-text="deber?a de estar activada" position="1"/> |
|
19 |
</tool-bar> |
|
20 |
<!-- Boton para intensidad --> |
|
21 |
<menu text="Vista/Establecer_leyeda_lidar_por_intensidad" tooltip="Establecer_leyeda_lidar_por_intensidad" |
|
22 |
action-command="INTENSITY_LEGEND" |
|
23 |
icon="images/intensidad.png" /> |
|
24 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
25 |
<tool-bar name="Establecer_leyeda"> |
|
26 |
<action-tool icon="images/intensidad.png" |
|
27 |
action-command="INTENSITY_LEGEND" tooltip="Establecer_leyeda_lidar_por_intensidad" |
|
28 |
enable-text="deber?a de estar activada" position="2"/> |
|
29 |
</tool-bar> |
|
30 |
<!-- Boton para preferencias --> |
|
31 |
<menu text="Vista/Establecer_leyeda_lidar_por_preferencia" tooltip="Establecer_leyeda_lidar_por_preferencia" |
|
32 |
action-command="PREFER_LEGEND" |
|
33 |
icon="images/preferences.png" /> |
|
34 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
35 |
<tool-bar name="Establecer_leyeda"> |
|
36 |
<action-tool icon="images/preferences.png" |
|
37 |
action-command="PREFER_LEGEND" tooltip="Establecer_leyeda_lidar_por_preferencia" |
|
38 |
enable-text="deber?a de estar activada" position="3"/> |
|
39 |
</tool-bar> |
|
40 |
<!-- Boton por defecto --> |
|
41 |
<menu text="Vista/Establecer_leyeda_lidar_por_defecto" tooltip="Establecer_leyeda_lidar_por_defecto" |
|
42 |
action-command="DEFAULT_LEGEND" |
|
43 |
icon="images/default.png" /> |
|
44 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
45 |
<tool-bar name="Establecer_leyeda"> |
|
46 |
<action-tool icon="images/default.png" |
|
47 |
action-command="DEFAULT_LEGEND" tooltip="Establecer_leyeda_lidar_por_defecto" |
|
48 |
enable-text="deber?a de estar activada" position="4"/> |
|
49 |
</tool-bar> |
|
50 |
</extension> |
|
51 |
<extension class-name="com.dielmo.gvsig.lidar.extensions.LidarColorRGBExtension" |
|
52 |
description="LiDAR" |
|
53 |
active="true"> |
|
54 |
<!-- Boton para color RGB --> |
|
55 |
<menu text="Vista/Establecer_leyeda_lidar_por_RGB" tooltip="Establecer_leyeda_lidar_por_RGB" |
|
56 |
action-command="DRAW_RGB" |
|
57 |
icon="images/preferences.png" /> |
|
58 |
<!--tool-bar name="com.iver.cit.gvsig.Herramientas"--> |
|
59 |
<tool-bar name="Establecer_leyeda"> |
|
60 |
<action-tool icon="images/color.png" |
|
61 |
action-command="DRAW_RGB" tooltip="Establecer_leyeda_lidar_por_RGB" |
|
62 |
enable-text="deber?a de estar activada" position="5"/> |
|
63 |
</tool-bar> |
|
64 |
</extension> |
|
65 |
</extensions> |
|
66 |
</plugin-config> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/build.number | ||
---|---|---|
1 |
#Build Number for ANT. Do not edit! |
|
2 |
#Thu Nov 27 19:54:43 CET 2008 |
|
3 |
build.number=5 |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<projectDescription> |
|
3 |
<name>install</name> |
|
4 |
<comment></comment> |
|
5 |
<projects> |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
</buildSpec> |
|
9 |
<natures> |
|
10 |
</natures> |
|
11 |
</projectDescription> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/install.xml | ||
---|---|---|
1 |
<installation version="1.0"> |
|
2 |
<info> |
|
3 |
<appname>DielmoOpenLiDAR</appname> |
|
4 |
<appversion>0.1</appversion> |
|
5 |
<authors> |
|
6 |
<author name="Oscar Garcia from Dielmo 3D S.L." email="oscarg@dielmo.com" /> |
|
7 |
</authors> |
|
8 |
<url>http://www.dielmo.com/</url> |
|
9 |
<javaversion>1.5</javaversion> |
|
10 |
</info> |
|
11 |
|
|
12 |
<guiprefs height="600" resizable="yes" width="800"> |
|
13 |
<laf name="liquid"> |
|
14 |
<os family="unix" /> |
|
15 |
</laf> |
|
16 |
<laf name="liquid"> |
|
17 |
<os family="windows" /> |
|
18 |
</laf> |
|
19 |
</guiprefs> |
|
20 |
|
|
21 |
<locale> |
|
22 |
<langpack iso3="spa"/> |
|
23 |
<langpack iso3="val"/> |
|
24 |
<langpack iso3="eng"/> |
|
25 |
<langpack iso3="cat"/> |
|
26 |
<langpack iso3="chn"/> |
|
27 |
<langpack iso3="cze"/> |
|
28 |
<langpack iso3="dan"/> |
|
29 |
<langpack iso3="deu"/> |
|
30 |
<langpack iso3="fin"/> |
|
31 |
<langpack iso3="fra"/> |
|
32 |
<langpack iso3="glg"/> |
|
33 |
<langpack iso3="hun"/> |
|
34 |
<langpack iso3="ita"/> |
|
35 |
<langpack iso3="jpn"/> |
|
36 |
<langpack iso3="mys"/> |
|
37 |
<langpack iso3="ned"/> |
|
38 |
<langpack iso3="nor"/> |
|
39 |
<langpack iso3="pol"/> |
|
40 |
<langpack iso3="por"/> |
|
41 |
<langpack iso3="rom"/> |
|
42 |
<langpack iso3="rus"/> |
|
43 |
<langpack iso3="scg"/> |
|
44 |
<langpack iso3="svk"/> |
|
45 |
<langpack iso3="swe"/> |
|
46 |
<langpack iso3="ukr"/> |
|
47 |
</locale> |
|
48 |
|
|
49 |
<resources> |
|
50 |
<res src="resources/gpl.txt" id="LicencePanel.licence"/> |
|
51 |
<res src="resources/LEEME.html" id="HTMLInfoPanel.info"/> |
|
52 |
<res src="resources/images/Logo_gvsig_gva.jpg" id="Installer.image"/> |
|
53 |
<res src="resources/userInputSpec.xml" id="userInputSpec.xml"/> |
|
54 |
<parsable targetfile="resources/userInputSpec.xml"/> |
|
55 |
<res src="resources/userInputLang.xml_val" id="userInputLang.xml_val" /> |
|
56 |
<res src="resources/userInputLang.xml_spa" id="userInputLang.xml_spa" /> |
|
57 |
</resources> |
|
58 |
|
|
59 |
<panels> |
|
60 |
<panel classname="HTMLInfoPanel"/> |
|
61 |
<panel classname="LicencePanel"/> |
|
62 |
<panel classname="PacksPanel"/> |
|
63 |
<panel classname="UserInputPanel"/> |
|
64 |
<panel classname="InstallPanel"/> |
|
65 |
<panel classname="SimpleFinishPanel"/> |
|
66 |
</panels> |
|
67 |
|
|
68 |
<packs> |
|
69 |
<pack name="extDielmoOpenLidar" required="yes"> <!--A SUSTITUIR POR LA EXTENSION, EJ: Extension VISOR_RUIDO--> |
|
70 |
<description>Soporte para manejar ficheros LiDAR (formatos soportados: LAS1.0, LAS1.1, LAS1.2 y BIN).</description> |
|
71 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.dielmo.gvsig.lidar" override="true"/> |
|
72 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib" src="../dist/LiDAR.jar" override="true"/> |
|
73 |
<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/com.iver.cit.gvsig/lib" src="../lib/jDielmoOpenLiDARlib.jar" override="true"/> |
|
74 |
</pack> |
|
75 |
</packs> |
|
76 |
</installation> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/build.properties | ||
---|---|---|
1 |
#SUSTITUIR POR EL DIRECTORIO DE EXTENSION, ej: com.iver.aytovalencia.visor1 |
|
2 |
MAIN_INSTALL_PLUGIN=com.dielmo.gvsig.lidar |
|
3 |
|
|
4 |
|
|
5 |
#VERIFICAR LOS NUMEROS DE VERSION |
|
6 |
EXTENSIONS=com.iver.cit.gvsig,${MAIN_INSTALL_PLUGIN} |
|
7 |
version=1.0 |
|
8 |
bversion=1.0 |
|
9 |
gvSIG.version=0.1.0 |
|
10 |
|
|
11 |
#SUSTITUIR POR EL NOMBRE DE PLUGIN, ej: visorRuido |
|
12 |
APPNAME=DielmoOpenLiDAR |
|
13 |
|
|
14 |
#SUSTITUIR POR EL DIRECTORIO DE SALIDA, ej: /tmp/myExtension |
|
15 |
OUTPUT_DIR=instalador |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputLang.xml_val | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Ruta a gvSIG:"/> |
|
3 |
</langpack> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputLang.xml_spa | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Ruta a gvSIG:"/> |
|
3 |
</langpack> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/configfile | ||
---|---|---|
1 |
#fichero ASCII, saltos de linea UNIX (ASCII 10) |
|
2 |
#comentarios en linea empezada con # |
|
3 |
#se aceptan lineas en blanco |
|
4 |
#Formato de parametros: |
|
5 |
#nombre de parametro en una linea, contenido en siguiente/s linea/s |
|
6 |
#si donde deberia haber "contenido del parametro" hay una linea en blanco, se entiende que se quiere parametro vacio |
|
7 |
#Si un parametro no se define, se supone vacio. |
|
8 |
|
|
9 |
#Parametro oldAndamiMD5 puede tener varios valores (se respetan todos, puede no haber ninguno) |
|
10 |
#MD5 de andami.jar v1.0 |
|
11 |
#oldAndamiMD5 |
|
12 |
#c5427c92842398101136818b66e7dbc8 |
|
13 |
|
|
14 |
#MD5 de andami.jar v1.0.1 |
|
15 |
#oldAndamiMD5 |
|
16 |
#b5bba7f20d0c2f3faed511c0b66039ef |
|
17 |
|
|
18 |
#Parametro oldVersion contiene un STRING con el que decir al usuario las versiones actualizables (sera igual en todos los idiomas!) |
|
19 |
#puede estar vacio |
|
20 |
#oldVersion |
|
21 |
#1.0 / 1.0.1 |
|
22 |
|
|
23 |
#Parametro newName contiene nuevo nombre para bundle actualizado (sin extension) |
|
24 |
#si vacio, no se cambiara el nombre (util para instalar extensiones, que no tienen por que modificar el nombre del gvSIG) |
|
25 |
#newName |
|
26 |
#gvSIG 1.0.2 build 891 |
|
27 |
|
|
28 |
#Parametro newSuffix contiene nuevo sufijo para bundle "actualizado" (autoinstaller y/o normal) |
|
29 |
#si vacio, no se cambiara el nombre |
|
30 |
#si se especifica newName y newSuffix, se aplica primero newName y luego newSuffix |
|
31 |
#newSuffix |
|
32 |
#SEXTANTE |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputLang.xml_cat | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Ruta a gvSIG:"/> |
|
3 |
</langpack> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputLang.xml_fra | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputLang.xml_eng | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputSpec.xml | ||
---|---|---|
1 |
<userInput> |
|
2 |
<panel order="0"> |
|
3 |
<field type="search" |
|
4 |
variable="INSTALL_PATH" |
|
5 |
size="45"> |
|
6 |
<description align="left" /> |
|
7 |
<spec txt="Path to gvSIG:" |
|
8 |
id="text.label" |
|
9 |
checkfilename="bin/andami.jar" |
|
10 |
type="directory" |
|
11 |
result="directory"> |
|
12 |
<choice value="/usr/local/gvSIG_1.0" os="unix" /> |
|
13 |
<choice value="/opt/gvSIG_1.0" os="unix" /> |
|
14 |
<choice value="$USER_HOME/gvSIG_1.0" os="unix" /> |
|
15 |
<choice value="C:\Archivos de Programa\gvSIG_1.0" os="windows" /> |
|
16 |
<choice value="C:\Program Files\gvSIG_1.0" os="windows" /> |
|
17 |
</spec> |
|
18 |
</field> |
|
19 |
</panel> |
|
20 |
</userInput> |
|
21 |
|
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/LEEME.html | ||
---|---|---|
1 |
<html> |
|
2 |
<head> |
|
3 |
<style type="text/css"> |
|
4 |
html, body, h1, h2, h3, h4, div, p, ul, li, input { |
|
5 |
font-family: Arial, Helvetica, sans-serif; |
|
6 |
} |
|
7 |
|
|
8 |
h1 { |
|
9 |
font-size: large; |
|
10 |
} |
|
11 |
|
|
12 |
h2 { |
|
13 |
font-size: large; |
|
14 |
} |
|
15 |
|
|
16 |
h3 { |
|
17 |
font-size: medium; |
|
18 |
} |
|
19 |
</style> |
|
20 |
</head> |
|
21 |
<body> |
|
22 |
<h1>DielmoOpenLidar</h1> |
|
23 |
|
|
24 |
<h2>Autores:</h2> |
|
25 |
<ul> |
|
26 |
<li>Generalitat Valenciana (Conselleria d'Infraestructures i Transport).</li> |
|
27 |
<li>DIELMO 3D S.L.</li> |
|
28 |
</ul> |
|
29 |
|
|
30 |
<p>Software con licencia GNU/GPL |
|
31 |
(http://www.fsf.org/licensing/licenses/gpl.html)</p> |
|
32 |
|
|
33 |
<p>Informaci?n y soporte: |
|
34 |
http://www.dielmo.com/<p> |
|
35 |
|
|
36 |
<h2>Requisitos de la aplicación:</h2> |
|
37 |
<h3>Sistema</h3> |
|
38 |
<ul> |
|
39 |
<li>Mínimos: Pentium III / 256 MB RAM.</li> |
|
40 |
<li>Recomendables: Pentium IV / 512 MB RAM.</li> |
|
41 |
<li>Sistemas operativos: plataformas Windows y Linux.</li> |
|
42 |
</ul> |
|
43 |
|
|
44 |
<h3>Software instalado</h3> (disponible en http://www.gvsig.gva.es o en http://java.sun.com) |
|
45 |
<ul> |
|
46 |
<li>gvSIG-1.1</li> |
|
47 |
</ul> |
|
48 |
|
|
49 |
<h2>Más información y soporte sobre gvSIG en:</h2> |
|
50 |
<h3> Web oficial del proyecto:</h3> |
|
51 |
http://www.gvsig.gva.es |
|
52 |
|
|
53 |
<h3>Listas de distribución:</h3> |
|
54 |
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</span> (soporte para usuarios). |
|
55 |
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</span> (soporte para desarrolladores). |
|
56 |
<span style="monospace"> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</span> (soporte para desarrolladores o usuarios de habla no hispana). |
|
57 |
|
|
58 |
</body> |
|
59 |
</html> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputLang.xml_deu | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputLang.xml_ita | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/userInputLang.xml_por | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Path to gvSIG:"/> |
|
3 |
</langpack> |
tags/DielmoOpenLiDAR-0.1.0-1015_5/DielmoOpenLidar/install/resources/gpl.txt | ||
---|---|---|
1 |
GNU GENERAL PUBLIC LICENSE |
|
2 |
Version 2, June 1991 |
|
3 |
|
|
4 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. |
|
5 |
|
|
6 |
Preamble |
|
7 |
|
|
8 |
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. |
|
9 |
|
|
10 |
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. |
|
11 |
|
|
12 |
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. |
|
13 |
|
|
14 |
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their |
|
15 |
rights. |
|
16 |
|
|
17 |
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. |
|
18 |
|
|
19 |
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. |
|
20 |
|
|
21 |
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. |
|
22 |
|
|
23 |
The precise terms and conditions for copying, distribution and modification follow. |
|
24 |
|
|
25 |
GNU GENERAL PUBLIC LICENSE |
|
26 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|
27 |
|
|
28 |
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". |
|
29 |
|
|
30 |
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. |
|
31 |
|
|
32 |
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. |
|
33 |
|
|
34 |
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. |
|
35 |
|
|
36 |
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: |
|
37 |
|
|
38 |
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. |
|
39 |
|
Also available in: Unified diff