Revision 23494

View differences:

tags/v2_0_0_Build_2000/extensions/extGeoProcessing/build.xml
1
<!--REHACERLO PARA QUE SE COPIEN BIEN LAS LIBRERIAS-->
2

  
3
<project name="Geoprocessing" default="generate-without-source" basedir=".">
4
    <description>
5
        Instala el plugin de GeoProcessing en Andami.
6
    </description>
7
  <!-- set global properties for this build -->
8
  <property name="src" location="src"/>
9
  <property name="build" location="bin"/>
10
  <property name="src-test" location="src-test"/>
11
  <property name="build-test" location="bin-test"/>
12
  <property name="doc"  location="doc"/>
13
  <property name="dist"  location="dist"/>
14
  <property name="without_src"  location="without_src"/>
15
  <property name="plugin" value="com.iver.cit.gvsig.geoprocess"/>
16

  
17

  
18
	<property name="lib" value="lib"/>
19
	<property name="andami" value="../_fwAndami"/>
20
	<property name="jarName" value="${plugin}.jar"/>
21
	<property name="extensionsDir" location="${andami}/gvSIG/extensiones"/>
22
	<property name="andamiJar" location="${andami}/andami.jar"/>
23
	<property name="gvsigJar" location="${extensionsDir}/com.iver.cit.gvsig/lib/com.iver.cit.gvsig.jar"/>
24
	<property name="andamiLibs" location="${andami}/lib"/>
25
	<property name="fmapLibs" location="../libFMap/lib" />
26
	<property name="fmapJar" location="../libFMap/dist/lib/fmap.jar"/>
27
	<!--<property name="compile-classpath" value="${andamiJar}:${gvsigJar}:${andamiLibs}/beans.jar:${fmapLibs}/cms.jar:${fmapLibs}/driver-manager-1.1.jar:${lib}/ehcache-1.2beta4.jar:${fmapJar}:${fmapLibs}/gdbms-0.8-SNAPSHOT.jar:${fmapLibs}/gvsig-exceptions.jar:${andamiLibs}/iver-utiles.jar:${fmapLibs}/jts-1.7.jar:${lib}/spatialindex.jar"/>-->
28
	<import file="../binaries/ant/utilities.xml"/>
29

  
30

  
31
  <target name="init">
32
    <!-- Create the time stamp -->
33
    <tstamp/>
34
	<echo>
35
		Compiling ${ant.project.name}...</echo>
36
  </target>
37

  
38

  
39
  <target name="dist" depends="init"
40
	description="generate the distribution" >
41
    <!-- Remove previous distribution directory -->
42
    <delete dir="${dist}"/>
43
    <!-- Create the distribution directory structure -->
44
    <mkdir dir="${dist}"/>
45
<!--    <mkdir dir="${dist}/src"/> -->
46
<!--    <mkdir dir="${dist}/doc"/> -->
47
    <mkdir dir="${dist}/bin"/>
48
    <mkdir dir="${dist}/bin/com"/>
49
    <mkdir dir="${dist}/bin/com/iver"/>
50
    <mkdir dir="${dist}/bin/com/iver/gvsig"/>
51
    <mkdir dir="${dist}/bin/com/iver/gvsig/geoprocessing"/>
52
    <mkdir dir="${dist}/bin/com/iver/gvsig/geoprocessing/images"/>
53
    <mkdir dir="${dist}/images"/>
54
    <mkdir dir="${dist}/config"/>
55
    <mkdir dir="${dist}/lib"/>
56
    <!-- Copy necessary distribution files to dist dir -->
57
    <!-- <copy todir="${dist}/src">
58
      <fileset dir="${src}"/>
59
    </copy>
60
    <copy todir="${dist}/doc">
61
      <fileset dir="${doc}"/>
62
    </copy> -->
63
    <copy todir="${dist}/images">
64
      <fileset dir="images"/>
65
    </copy>
66
     <copy todir="${dist}/lib">
67
    	<fileset dir="lib" includes="*.*"/>
68
    </copy>
69
    <copy file="config/config.xml" todir="${dist}/config"/>
70
  	<copy file="build.number" todir="${dist}"/>
71
    <copy file="build.xml" todir="${dist}"/>
72
    <copy todir="${dist}">
73
    	<fileset dir="config" includes="text*.properties"/>
74
    </copy>
75
    <jar jarfile="${dist}/bin/com/iver/gvsig/geoprocessing/${plugin}.jar" basedir="${build}"/>
76
    <copy file="config/config.xml" todir="${dist}/bin/com/iver/gvsig/geoprocessing"/>
77
  	<copy file="build.number" todir="${dist}/bin/com/iver/gvsig/geoprocessing"/>
78
    <copy todir="${dist}/bin/com/iver/gvsig/geoprocessing/images">
79
      <fileset dir="images"/>
80
    </copy>
81
    <!-- Zip distribution -->
82
    <!--<zip destfile="${dist}/gvSIGGeoProcessingPlugin.zip"
83
         basedir="${dist}"
84
         update="true"
85
    /> -->
86
  </target>
87

  
88
  <target name="clean-orig"
89
		description="clean dist directory" >
90
    <!-- Clean the distribution directory -->
91
    <delete dir="${dist}" />
92
  </target>
93

  
94
  <target name="generate-without-source" depends="clean-orig" description="generate the distribution without the source file" >
95
    <!-- Create the distribution directory -->
96
    <mkdir dir="${without_src}"/>
97
    <mkdir dir="${without_src}/lib"/>
98

  
99
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
100
    <jar jarfile="${without_src}/lib/${plugin}.jar" basedir="${build}"/>
101
    <copy file="config/config.xml" todir="${without_src}"/>
102
  	<copy file="build.number" todir="${without_src}"/>
103
    <copy todir="${without_src}">
104
    	<fileset dir="config" includes="text*.properties"/>
105
    </copy>
106
	<copy todir="${without_src}/docs">
107
	  	<fileset dir="config/docs" includes="**/*.*"/>
108
    </copy>
109
  	<copy todir="${without_src}/lib">
110
  	    	<fileset dir="lib" includes="*.*"/>
111
  	    </copy>
112
    <copy todir="${without_src}/images">
113
    	<fileset dir="images/" includes="*"/>
114
    </copy>
115
    <move todir="${extensionsDir}/${plugin}/">
116
    	<fileset dir="${without_src}" includes="**/**"/>
117
    </move>
118
  </target>
119

  
120
	<target name="batch-build"
121
			description="compile the sources, create the jar file"
122
			depends="init,compile,create-jar,copy-data-files,copy-libs,move-to-andami">
123
	</target>
124

  
125
	<target name="compile" description="compile the source" >
126
		<antcall target="gvSIG-import-build-number"/>
127
		<!-- Compile the Java code from ${src} to ${build} -->
128
		<mkdir dir="${build}" />
129
		<loadEclipseClasspath project="${basedir}"/>
130
		<gvSIG-javac
131
			classpath="${eclipseClasspath}"
132
		/>
133

  
134
		<copy todir="${build}">
135
			<fileset dir="${src}" excludes="**/*.java" casesensitive="false"/>
136
		</copy>
137
	</target>
138

  
139
	<target name="create-jar"
140
			description="Creates the plugin jar">
141
		<mkdir dir="${dist}/lib"/>
142
	    <jar jarfile="${dist}/lib/${jarName}" basedir="${build}"/>
143
	</target>
144

  
145
	<target name="copy-data-files">
146
	    <copy file="config/config.xml" todir="${dist}"/>
147
		<copy file="build.number" todir="${dist}"/>
148
		<copy todir="${dist}">
149
			<fileset dir="config" includes="text*.properties"/>
150
		</copy>
151
		<copy todir="${dist}/images">
152
			<fileset dir="images/" includes="*"/>
153
		</copy>
154
		<copy todir="${dist}/docs">
155
		  	<fileset dir="config/docs" includes="**/*.*"/>
156
	    </copy>
157
	</target>
158

  
159
	<target name="copy-libs">
160
	  	<copy todir="${dist}/lib">
161
	  	    	<fileset dir="lib" includes="*.*"/>
162
	  	</copy>
163
	</target>
164

  
165
	<target name="move-to-andami">
166
	    <move todir="${extensionsDir}/${plugin}/">
167
	    	<fileset dir="${dist}" includes="**/**"/>
168
    	</move>
169
	</target>
170

  
171
	<target name="clean"
172
	        description="clean up" >
173
		<delete dir="${build}"/>
174
		<delete dir="${dist}"/>
175
	</target>
176

  
177
	<target name="run-tests" depends="batch-build,compile-tests">
178
		<antcall target="generic-run-tests">
179
			<param name="TestSuite.Name" value="com.iver.cit.gvsig.geoprocess.AllTests"/>
180
		</antcall>
181
	</target>
182

  
183
</project>
184

  
0 185

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="src" output="bin-test" path="src-test"/>
5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
6
	<classpathentry kind="src" path="/libFMap"/>
7
	<classpathentry kind="lib" path="/libFMap/lib/gdbms-0.8-SNAPSHOT.jar"/>
8
	<classpathentry kind="lib" path="/libFMap/lib/driver-manager-1.1.jar"/>
9
	<classpathentry kind="lib" path="lib/ehcache-1.2beta4.jar"/>
10
	<classpathentry kind="lib" path="lib/spatialindex.jar"/>
11
	<classpathentry combineaccessrules="false" kind="src" path="/_fwAndami"/>
12
	<classpathentry combineaccessrules="false" kind="src" path="/libIverUtiles"/>
13
	<classpathentry combineaccessrules="false" kind="src" path="/appgvSIG"/>
14
	<classpathentry kind="var" path="JUNIT_HOME/junit.jar"/>
15
	<classpathentry kind="lib" path="/libFMap/lib/org.cresques.cts.jar"/>
16
	<classpathentry kind="lib" path="/_fwAndami/lib/org.gvsig.ui.jar"/>
17
	<classpathentry kind="lib" path="/libFMap/lib/jts-1.8.jar"/>
18
	<classpathentry kind="lib" path="/_fwAndami/lib/org.gvsig.exceptions.jar"/>
19
	<classpathentry kind="output" path="bin"/>
20
</classpath>
0 21

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>extGeoProcessing</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>
0 25

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/src-test/com/iver/cit/gvsig/geoprocess/impl/dissolve/DissolveTest.java
1
/*
2
 * Created on 25/08/2007
3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 *
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
21
 *
22
 * For more information, contact:
23
 *
24
 *  Generalitat Valenciana
25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
27
 *   46010 VALENCIA
28
 *   SPAIN
29
 *
30
 *      +34 963862235
31
 *   gvsig@gva.es
32
 *      www.gvsig.gva.es
33
 *
34
 *    or
35
 *
36
 *   IVER T.I. S.A
37
 *   Salamanca 50
38
 *   46005 Valencia
39
 *   Spain
40
 *
41
 *   +34 963163400
42
 *   dac@iver.es
43
 */
44
/* CVS MESSAGES:
45
*
46
* $Id$
47
* $Log$
48
* Revision 1.1  2007-09-14 15:10:34  azabala
49
* *** empty log message ***
50
*
51
*
52
*/
53
package com.iver.cit.gvsig.geoprocess.impl.dissolve;
54

  
55
import junit.framework.TestCase;
56

  
57
public class DissolveTest extends TestCase {
58
	public void testSpureusLines(){
59
		
60
	}
61
}
62

  
0 63

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/src-test/com/iver/cit/gvsig/geoprocess/impl/buffer/BufferTest.java
1
/*
2
 * Created on 25-abr-2007
3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 *
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
21
 *
22
 * For more information, contact:
23
 *
24
 *  Generalitat Valenciana
25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
27
 *   46010 VALENCIA
28
 *   SPAIN
29
 *
30
 *      +34 963862235
31
 *   gvsig@gva.es
32
 *      www.gvsig.gva.es
33
 *
34
 *    or
35
 *
36
 *   IVER T.I. S.A
37
 *   Salamanca 50
38
 *   46005 Valencia
39
 *   Spain
40
 *
41
 *   +34 963163400
42
 *   dac@iver.es
43
 */
44
/* CVS MESSAGES:
45
*
46
* $Id$
47
* $Log$
48
* Revision 1.1  2007-08-07 16:21:00  azabala
49
* new version in cvs.
50
*
51
* Revision 1.1  2007/07/12 11:33:24  azabala
52
* *** empty log message ***
53
*
54
*
55
*/
56
package com.iver.cit.gvsig.geoprocess.impl.buffer;
57

  
58
import java.io.File;
59
import java.net.URL;
60
import java.util.HashMap;
61

  
62
import junit.framework.TestCase;
63

  
64
import org.cresques.cts.IProjection;
65

  
66
import com.hardcode.gdbms.driver.exceptions.InitializeWriterException;
67
import com.iver.cit.gvsig.exceptions.layers.LoadLayerException;
68
import com.iver.cit.gvsig.fmap.crs.CRSFactory;
69
import com.iver.cit.gvsig.fmap.drivers.SHPLayerDefinition;
70
import com.iver.cit.gvsig.fmap.edition.IWriter;
71
import com.iver.cit.gvsig.fmap.edition.ShpSchemaManager;
72
import com.iver.cit.gvsig.fmap.edition.writers.shp.MultiShpWriter;
73
import com.iver.cit.gvsig.fmap.edition.writers.shp.ShpWriter;
74
import com.iver.cit.gvsig.fmap.layers.FLayer;
75
import com.iver.cit.gvsig.fmap.layers.FLyrVect;
76
import com.iver.cit.gvsig.fmap.layers.LayerFactory;
77
import com.iver.cit.gvsig.geoprocess.core.fmap.GeoprocessException;
78
import com.iver.cit.gvsig.geoprocess.core.fmap.XTypes;
79
import com.iver.cit.gvsig.geoprocess.impl.buffer.fmap.BufferGeoprocess;
80
import com.iver.cit.gvsig.geoprocess.impl.buffer.fmap.BufferVisitor;
81

  
82

  
83
//TODO All geoprocessing test classes must hava a common abstract base class
84
//(a lot of code is repeated)
85
//
86

  
87
public class BufferTest extends TestCase {
88

  
89
	static final String fwAndamiDriverPath = "../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/drivers";
90
	private static File baseDataPath;
91
	private static File baseDriversPath;
92
	public static String SHP_DRIVER_NAME = "gvSIG shp driver";
93

  
94
	static IProjection PROJECTION_DEFAULT = CRSFactory.getCRS("EPSG:23030");
95
	
96
	
97
	protected void setUp() throws Exception {
98
		URL url = BufferTest.class.getResource("testdata");
99
		if (url == null)
100
			throw new Exception("No se encuentra el directorio con datos de prueba");
101

  
102
		baseDataPath = new File(url.getFile());
103
		if (!baseDataPath.exists())
104
			throw new Exception("No se encuentra el directorio con datos de prueba");
105

  
106
		baseDriversPath = new File(fwAndamiDriverPath);
107
		if (!baseDriversPath.exists())
108
			throw new Exception("Can't find drivers path: " + fwAndamiDriverPath);
109

  
110
		LayerFactory.setDriversPath(baseDriversPath.getAbsolutePath());
111
		LayerFactory.setWritersPath(baseDriversPath.getAbsolutePath());
112
		if (LayerFactory.getDM().getDriverNames().length < 1)
113
			throw new Exception("Can't find drivers in path: " + fwAndamiDriverPath);
114
		
115
	}
116

  
117

  
118
	public static  FLayer newLayer(String fileName,
119
									   String driverName)
120
								throws LoadLayerException {
121
		File file = new File(baseDataPath, fileName);
122
		return LayerFactory.createLayer(fileName,
123
										driverName,
124
										file, PROJECTION_DEFAULT);
125
	}
126
	
127
	
128
	
129
	public void test1() throws LoadLayerException, InitializeWriterException, GeoprocessException {
130
		FLyrVect inputLayer = (FLyrVect) newLayer("parcelas.shp", SHP_DRIVER_NAME);
131
		File outputFile = new File(baseDataPath+"/test1result.shp");
132
		BufferGeoprocess geoprocess = new BufferGeoprocess(inputLayer);
133
		
134
		HashMap params = new HashMap();
135
		//buffer all features (onlySelection = false)
136
		//buffer distance = 10m, buffer type = outside, number of radial polygons = 1
137
		params.put("layer_selection", new Boolean(false));
138
		params.put("dissolve_buffers", new Boolean(true));
139
		params.put("buffer_distance", new Double(10d));
140
		params.put("strategy_flag", new Byte(BufferGeoprocess.CONSTANT_DISTANCE_STRATEGY));
141
		params.put("numRings", new Integer(1));
142
		params.put("typePolBuffer", new Byte(BufferVisitor.BUFFER_OUTSIDE_POLY));
143
		params.put("cap", new Byte(BufferVisitor.CAP_ROUND));
144
		params.put("projection", PROJECTION_DEFAULT);
145
		params.put("distanceunits", new Integer(1));
146
		params.put("mapunits", new Integer(1));
147
		
148
		geoprocess.setParameters(params);
149
		
150
		
151
		SHPLayerDefinition definition = (SHPLayerDefinition) geoprocess.createLayerDefinition();
152
		definition.setFile(outputFile);
153
		ShpSchemaManager schemaManager = new ShpSchemaManager(outputFile.getAbsolutePath());
154
		IWriter writer = null;
155
		int shapeType = definition.getShapeType();
156
		if(shapeType != XTypes.MULTI){
157
			writer = new ShpWriter();
158
			((ShpWriter) writer).setFile(definition.getFile());
159
			writer.initialize(definition);
160
		}else{
161
			writer = new MultiShpWriter();
162
			((MultiShpWriter) writer).setFile(definition.getFile());
163
			writer.initialize(definition);
164
		}
165
		geoprocess.setResultLayerProperties(writer, schemaManager);
166
		
167
		geoprocess.checkPreconditions();
168
		geoprocess.process();
169
			
170
	}	
171
	
172
}
173

  
0 174

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/src-test/com/iver/cit/gvsig/geoprocess/impl/difference/DifferenceTest.java
1
/*
2
 * Created on 25-abr-2007
3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 *
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
21
 *
22
 * For more information, contact:
23
 *
24
 *  Generalitat Valenciana
25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
27
 *   46010 VALENCIA
28
 *   SPAIN
29
 *
30
 *      +34 963862235
31
 *   gvsig@gva.es
32
 *      www.gvsig.gva.es
33
 *
34
 *    or
35
 *
36
 *   IVER T.I. S.A
37
 *   Salamanca 50
38
 *   46005 Valencia
39
 *   Spain
40
 *
41
 *   +34 963163400
42
 *   dac@iver.es
43
 */
44
/* CVS MESSAGES:
45
*
46
* $Id$
47
* $Log$
48
* Revision 1.1  2007-07-12 11:33:24  azabala
49
* *** empty log message ***
50
*
51
*
52
*/
53
package com.iver.cit.gvsig.geoprocess.impl.difference;
54

  
55
import java.io.File;
56
import java.net.URL;
57

  
58
import junit.framework.TestCase;
59

  
60
import org.cresques.cts.IProjection;
61

  
62
import com.iver.cit.gvsig.exceptions.layers.LoadLayerException;
63
import com.iver.cit.gvsig.fmap.crs.CRSFactory;
64
import com.iver.cit.gvsig.fmap.layers.FLayer;
65
import com.iver.cit.gvsig.fmap.layers.LayerFactory;
66

  
67
public class DifferenceTest extends TestCase {
68

  
69
	static final String fwAndamiDriverPath = "../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig/drivers";
70
	private File baseDataPath;
71
	private File baseDriversPath;
72
	
73
	private String SHP_DRIVER_NAME = "gvSIG shp driver";
74
	private String DXF_DRIVER_NAME = "gvSIG DXF Memory Driver";
75
	
76
	private IProjection PROJECTION_DEFAULT = 
77
		CRSFactory.getCRS("EPSG:23030");
78
	private IProjection newProjection = 
79
		CRSFactory.getCRS("EPSG:23029");
80
	
81
	protected void setUp() throws Exception {
82
		super.setUp();
83
		URL url = this.getClass().getResource("testdata");
84
		if (url == null)
85
			throw new Exception("No se encuentra el directorio con datos de prueba");
86

  
87
		baseDataPath = new File(url.getFile());
88
		if (!baseDataPath.exists())
89
			throw new Exception("No se encuentra el directorio con datos de prueba");
90

  
91
		baseDriversPath = new File(fwAndamiDriverPath);
92
		if (!baseDriversPath.exists())
93
			throw new Exception("Can't find drivers path: " + fwAndamiDriverPath);
94

  
95
		LayerFactory.setDriversPath(baseDriversPath.getAbsolutePath());
96
		if (LayerFactory.getDM().getDriverNames().length < 1)
97
			throw new Exception("Can't find drivers in path: " + fwAndamiDriverPath);
98
	}
99

  
100

  
101
	private FLayer newLayer(String fileName, 
102
									   String driverName) 
103
								throws LoadLayerException {
104
		File file = new File(baseDataPath, fileName);
105
		return LayerFactory.createLayer(fileName, 
106
										driverName, 
107
										file, PROJECTION_DEFAULT);
108
	}
109
	
110
	
111
	public void test1() {
112
//		try {
113
//			//pruebas de reproyeccion y seleccion de numero de campos
114
//			FLyrVect lyr = (FLyrVect) newLayer("Cantabria.shp", SHP_DRIVER_NAME);
115
//			lyr.setAvailable(true);
116
			
117
	}	
118
	
119
}
120

  
0 121

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/src-test/com/iver/cit/gvsig/geoprocess/AllTests.java
1
package com.iver.cit.gvsig.geoprocess;
2

  
3
import junit.framework.Test;
4
import junit.framework.TestSuite;
5

  
6
import com.iver.cit.gvsig.geoprocess.impl.buffer.BufferTest;
7
import com.iver.cit.gvsig.geoprocess.impl.difference.DifferenceTest;
8

  
9
public class AllTests {
10

  
11
	public static Test suite() {
12
		TestSuite suite = new TestSuite(
13
				"Test for com.iver.cit.gvsig.geoprocess");
14
		//$JUnit-BEGIN$
15
		suite.addTestSuite(BufferTest.class);
16
		suite.addTestSuite(DifferenceTest.class);
17
		//$JUnit-END$
18
		return suite;
19
	}
20

  
21
}
0 22

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<libraries library-dir="./lib">
4
	</libraries>
5
	<depends plugin-name="com.iver.cit.gvsig"/>
6
		<resourceBundle name="text"/>
7
	<extensions>
8
		<extension class-name="com.iver.cit.gvsig.geoprocess.manager.GeoprocessManagerExtension"
9
			description="Gestor de geoprocesos extensible mediante plugins"
10
			active="true">
11
			<menu text="Vista/Gestor_de_Geoprocesos" tooltip="Gestor_de_Geoprocesos" 
12
				action-command="GEOPROCESSING_MANAGER" 
13
				icon="gp-manager" />
14
			<tool-bar name="GeoProcessing Manager">
15
				<action-tool icon="gp-manager"
16
					action-command="GEOPROCESSING_MANAGER" tooltip="Gestor_de_Geoprocesos"
17
					enable-text="deber?a de estar activada" last="true" position="1"/>
18
			</tool-bar>
19
		</extension>
20
		
21
		<extension class-name="com.iver.cit.gvsig.geoprocess.wizard.GeoProcessingExtension"
22
			description="Extensi?n para geoprocesamiento similar al GeoProcessing Wizard de Arcview."
23
			active="false">
24
			<menu text="Vista/Asistente_de_geoprocesamiento" tooltip="Asistente_de_geoprocesamiento" 
25
				action-command="GEOPROCESSING" 
26
				icon="geo-process" />
27
			
28
			<tool-bar name="GeoProcessing">
29
				<action-tool icon="geo-process"
30
					action-command="GEOPROCESSING" tooltip="Asistente_de_geoprocesamiento"
31
					enable-text="deber?a de estar activada" last="true" position="1"/>
32
					
33
<!--					
34
				<action-tool icon="images/buffericon.png"
35
					action-command="BUFFER" tooltip="Area_de_influencia"
36
					last="true" position="2"/>
37
				<action-tool icon="images/dissolve.png"
38
					action-command="DISSOLVE" tooltip="Disolver"
39
					last="true" position="3"/>
40
					
41
				<action-tool icon="images/intersecticon.png"
42
					action-command="INTERSECT" tooltip="Interseccion"
43
					last="true" position="4"/>
44
					
45
				<action-tool icon="images/difference.png"
46
					action-command="DIFFERENCE" tooltip="Diferencia"
47
					last="true" position="5"/>
48
					
49
				<action-tool icon="images/union.png"
50
					action-command="UNION" tooltip="Union"
51
					last="true" position="6"/>
52
					
53
				<action-tool icon="images/convexhull.png"
54
					action-command="CONVEXHULL" tooltip="Convex_Hull"
55
					last="true" position="7"/>
56
					
57
				<action-tool icon="images/merge.png"
58
					action-command="MERGE" tooltip="Juntar"
59
					last="true" position="8"/>
60
					
61
				<action-tool icon="images/clip.png"
62
					action-command="CLIP" tooltip="Recortar"
63
					last="true" position="9"/>
64
					
65
				<action-tool icon="images/spatialjoin.png"
66
					action-command="SPATIAL_JOIN" tooltip="Enlace_espacial"
67
					last="true" position="10"/>	
68
-->					
69
			</tool-bar>
70
		</extension>
71
	</extensions>
72
</plugin-config>
0 73

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/text_cs.properties
1
#Translations for language [cs]
2
#Mon Nov 06 09:04:31 CET 2006
3
Abrir=Otev\u0159\u00edt
4
Abrir_Geoproceso=Otev\u0159i Geoprocesing
5
Aceptar=Budi\u017e
6
Agregacion=Agregace
7
Agregacion_Desc=Funkce, kter\u00e1 transformuje detailn\u00ed data na hrub\u00e1 data.
8
Analisis=Anal\u00fdzy
9
Analisis_Desc=
10
Anterior=P\u0159edchoz\u00ed
11
Area_de_influencia=Buffer
12
Area_de_influencia_definida_por_un_campo=Obalov\u00e1 z\u00f3na definovan\u00e1 atributem
13
Area_de_influencia_definida_por_una_distancia=Obalov\u00e1 z\u00f3na definovan\u00e1 vzd\u00e1lenosti
14
Areas_de_influencia._Introduccion_de_datos=Obalov\u00e1 z\u00f3na. Vstup dat
15
Asistente_de_geoprocesamiento=Geoprocesing pr\u016fvodce
16
Atributos_Numericos=\u010c\u00edseln\u00fd atribut
17
Campo_para_disolver=Atribut pro dissolve
18
Capas_del_directorio=Vrstvy v adres\u00e1\u0159i
19
Cerrar=Zav\u0159\u00edt
20
Cobertura_de_datos=Pokryt\u00ed dat
21
Cobertura_de_entrada=Vstupn\u00ed pokryt\u00ed
22
Cobertura_de_recorte=Vyst\u0159ihnout pokryt\u00ed
23
Cobertura_de_salida=V\u00fdstupn\u00ed pokryt\u00ed
24
Coberturas_de_entrada=Vstupn\u00ed mno\u017eina pokryt\u00ed
25
Conversion_de_datos=Konverze dat
26
Conversion_de_datos_Desc=Funkce kter\u00e1 transformuje data (form\u00e1ty, projekce, atd.)
27
Convex_Hull=Convex Hull
28
Convex_Hull._Introduccion_de_datos=
29
Crear_Buffer=
30
Crear_Indice=Vytvo\u0159en\u00ed prostorov\u00e9ho indexu...
31
Crear_Indice_Pregunta_1=P\u0159ejete si vytvo\u0159it prostorov\u00fd index pro vrstvu
32
Crear_Indice_Pregunta_2=?
33
De=of
34
Dentro=inside de polygon
35
Dentro_y_fuera=Uvnit\u0159 a v\u0148\u011b polygonu
36
Diferencia=Difference
37
Diferencia_Introduccion_de_datos=Nesoulad. Vypl\u0148te data
38
Disolver=Dissolve
39
Disolver._Introduccion_de_datos=Zmizen\u00ed. Vstup dat
40
Disolver_entidades=Zmizel\u00e9 prvky
41
Elija_una_herramienta_de_analisis=Vyber analytick\u00fd n\u00e1stroj
42
Enlace_espacial=Prostorov\u00e9 propojen\u00ed
43
Enlace_espacial._Introduccion_de_datos=Prostorov\u00e9 propojen\u00ed. Vstup dat
44
Error_atributo_no_numerico=Vybran\u00e1 hodnota pro vytvo\u0159en\u00ed obalov\u00e9 z\u00f3ny nen\u00ed \u010d\u00edslo 
45
Error_capa_vacia=
46
Error_chequeando_precondiciones=Zkontrolujte chybu v p\u0159edpokladech
47
Error_chequeo_tipo_geometria=Chyba p\u0159i kontrole typu geometrie
48
Error_distancia_buffer=Mus\u00edte vlo\u017e\u00edt hodnotu vzd\u00e1lenosti pro obalovou z\u00f3nu.
49
Error_ejecucion=Chyba p\u0159i vykon\u00e1n\u00ed
50
Error_entrada_datos=Chyba ve vstupu
51
Error_escritura_resultados=Chyba p\u0159i z\u00e1pisu
52
Error_fallo_geoproceso=Chyba b\u011bhem vykon\u00e1v\u00e1n\u00ed funkce
53
Error_preparar_escritura_resultados=Chyba b\u011bhem p\u0159\u00edpravy v\u00fdsledn\u00e9 vrstvy 
54
Error_seleccionar_capas_merge=Mus\u00edte vybrat vrstvy, kter\u00e9 maj\u00ed b\u00fdt spojeny.
55
Error_seleccionar_esquema_merge=
56
Error_seleccionar_gp=
57
Error_seleccionar_gp_desc=
58
Error_seleccionar_resultado=Mus\u00edte zvolit v\u00fdsledn\u00fd soubor
59
Error_spjoinmn_sin_funcion=P\u0159i prostorov\u00e9m spojen\u00ed 1-N mus\u00edte specifikovat sou\u010dtov\u00e9 funkce
60
Escoger_Fun_Resumen=<-
61
Ficheros_de_cartografia=Soubory vrstev
62
Ficheros_SHP=SHP soubory
63
Fuera=V\u0148\u011b polygonu
64
Funciones_Sumarizacion=Seskupit podle funkc\u00ed
65
GC=V\u00fdpo\u010detn\u00ed Geometrie
66
GC_Desc=Geoproces, kter\u00fd pracuje s v\u00fdpo\u010detn\u00ed geometri\u00ed.
67
Geoprocesos=Geoproces
68
Gestor_de_Geoprocesos=Panel n\u00e1stroj\u016f pro geoprocesing
69
Herramientas_de_analisis=Analytick\u00e9 n\u00e1stroje
70
Interseccion=Pr\u016fse\u010d\u00edk
71
Interseccion._Introduccion_de_datos=Pr\u016fnik. Vstup dat.
72
Juntar=Spojen\u00ed
73
Juntar._Introduccion_de_datos=Spojen\u00ed. Vstup dat
74
Maximo=Maximum
75
Media=V\u00fdznam
76
Mensaje_buffer=Po\u010d\u00edt\u00e1m obalovou z\u00f3ny
77
Mensaje_clip=Funkce o\u0159ez\u00e1v\u00e1n\u00ed...
78
Mensaje_convexhull=Funkce konvexn\u00ed ob\u00e1lka
79
Mensaje_difference=Funkce od\u010d\u00edt\u00e1n\u00ed...
80
Mensaje_dissolve=Funkce prol\u00edn\u00e1n\u00ed...
81
Mensaje_enlace_espacial=Funkce prostorov\u00e9ho spojen\u00ed...
82
Mensaje_interseccion=Funkce pr\u016fse\u010d\u00edku...
83
Mensaje_juntar=Funkce slou\u010den\u00ed...
84
Mensaje_primera_pasada_union=Po\u010d\u00edt\u00e1m pr\u016fse\u010d\u00edk...
85
Mensaje_procesando_buffer=Zpracov\u00e1v\u00e1m obalov\u00e9 z\u00f3ny
86
Mensaje_procesando_buffer2=Spojuj\u00ed obalov\u00e9 z\u00f3ny...
87
Mensaje_procesando_clip_primero=Po\u010d\u00edt\u00e1m o\u0159ez\u00e1vac\u00ed polyg\u00f3n...
88
Mensaje_procesando_clip_segundo=O\u0159ez\u00e1v\u00e1m geoprvky...
89
Mensaje_procesando_convexhull=Po\u010d\u00edt\u00e1m konvexn\u00ed ob\u00e1lku...
90
Mensaje_procesando_diferencia=Po\u010d\u00edt\u00e1m rozd\u00edly...
91
Mensaje_procesando_dissolves=Prol\u00edn\u00e1m geoprvky...
92
Mensaje_procesando_enlace_espacial=Spojuji geoprvky...
93
Mensaje_procesando_interseccion=V\u00fdpo\u010det pr\u016fnik\u016f...
94
Mensaje_procesando_juntar=Spojov\u00e1n\u00ed geometri\u00ed...
95
Mensaje_segunda_pasada_union=V\u00fdpo\u010det A-B rozd\u00edl\u016f...
96
Mensaje_tercera_pasada_union=V\u00fdpo\u010det B-A rozd\u00edl\u016f...
97
Mensaje_union=Spojen\u00ed geoprocesu...
98
Minimo=Minimum
99
No_usar_buffer_redondeado=Konec obdeln\u00edku
100
Numero_anillos_concentricos=Po\u010det radi\u00e1ln\u00edch obalov\u00fdch z\u00f3n
101
Numero_de_elementos_seleccionados=Po\u010det vybran\u00fdch geoprvk\u016f
102
Obtener_mas_proximo=Pou\u017e\u00edt nejbli\u017e\u0161\u00ed geometrii
103
Operacion_de_overlay=Operace p\u0159ekryvu
104
Overlay=P\u0159ekryj
105
Overlay_Desc=Funkce, kter\u00e1 extrahuje nov\u00e9 informace z p\u0159ekryvu dvou vrtev.
106
Proximidad=
107
Proximidad_Desc=
108
Recortar=Clip
109
Recortar._Introduccion_de_datos=O\u0159e\u017e. Vstup dat
110
Se_han_encontrado_capas_erroneas_en=
111
Seleccionar_Directorio=Cesta k vrstv\u00e1m...
112
Siguiente=Dal\u0161\u00ed
113
Sobreescribir_fichero=P\u0159epi\u0161 soubor
114
Sobreescribir_fichero_Pregunta_1=
115
Sobreescribir_fichero_Pregunta_2=
116
Solo_disolver_adyacentes=Spoj jen p\u0159ilehl\u00e9.
117
Sum=Summatory
118
Terminar=Dokon\u010dit
119
Union=Union
120
Union._Introduccion_de_datos=Sjednoceni. Vstup dat
121
Usar_los_campos_de_la_capa=Pou\u017e\u00edt polo\u017eky z pokryt\u00ed
122
Usar_solamente_los_elementos_seleccionados=Pou\u017eij jen vybran\u00e9 prvky
123
Vista=Pohled
0 124

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/text_fr.properties
1
#Translations for language [fr]
2
#Mon Oct 30 09:38:21 CET 2006
3
Abrir=S\u00e9lectionner
4
Abrir_Geoproceso=
5
Aceptar=Accepter
6
Agregacion=
7
Agregacion_Desc=
8
Analisis=
9
Analisis_Desc=
10
Anterior=Pr\u00e9c\u00e9dent
11
Area_de_influencia=Zone tampon
12
Area_de_influencia_definida_por_un_campo=Zone tampon d\u00e9finie par un champ
13
Area_de_influencia_definida_por_una_distancia=Zone tampon d\u00e9finie selon une distance
14
Areas_de_influencia._Introduccion_de_datos=Zone tampon. Introduction des donn\u00e9es.
15
Asistente_de_geoprocesamiento=
16
Atributos_Numericos=Attributs num\u00e9riques
17
Campo_para_disolver=Champ de regroupement.
18
Capas_del_directorio=
19
Cerrar=Fermer
20
Cobertura_de_datos=Couche g\u00e9ographique
21
Cobertura_de_entrada=Couche d'entr\u00e9e
22
Cobertura_de_recorte=Couche de d\u00e9coupage
23
Cobertura_de_salida=Couche de sortie
24
Coberturas_de_entrada=Couches d'entr\u00e9e
25
Conversion_de_datos=
26
Conversion_de_datos_Desc=
27
Convex_Hull=Convex Hull
28
Convex_Hull._Introduccion_de_datos=Convex Hull. Introduction des donn\u00e9es
29
Crear_Buffer=Cr\u00e9er une zone tampon
30
Crear_Indice=Cr\u00e9er un index spatial
31
Crear_Indice_Pregunta_1=Voulez-vous cr\u00e9er un index spatial pour cette couche ?
32
Crear_Indice_Pregunta_2=?
33
De=de
34
Dentro=int\u00e9rieur du polygone
35
Dentro_y_fuera=int\u00e9rieur et exterieur du polygone
36
Diferencia=Diff\u00e9rence
37
Diferencia_Introduccion_de_datos=Diff\u00e9rence. Introduction des donn\u00e9es
38
Disolver=Regrouper
39
Disolver._Introduccion_de_datos=Regrouper. Introduction des donn\u00e9es.
40
Disolver_entidades=Regrouper des entit\u00e9s
41
Elija_una_herramienta_de_analisis=Choisissez un outil d'analyse.
42
Enlace_espacial=Jointure spatiale
43
Enlace_espacial._Introduccion_de_datos=Jointure spatiale. Introduction des donn\u00e9es.
44
Error_atributo_no_numerico=Les valeurs doivent \u00eatre de format num\u00e9rique.
45
Error_capa_vacia=
46
Error_chequeando_precondiciones=Les conditions ne sont pas remplies.
47
Error_chequeo_tipo_geometria=Erreur au niveau de la g\u00e9om\u00e9trie.
48
Error_distancia_buffer=Vous devez saisir une distance pour la zone tampon.
49
Error_ejecucion=Erreur d'ex\u00e9cution. 
50
Error_entrada_datos=Erreur au niveau des donn\u00e9es
51
Error_escritura_resultados=Erreur lors de l'\u00e9criture du r\u00e9sultat.
52
Error_fallo_geoproceso=Erreur lors du g\u00e9otraitement.
53
Error_preparar_escritura_resultados=Erreur lors de l'\u00e9criture des donn\u00e9es.
54
Error_seleccionar_capas_merge=
55
Error_seleccionar_esquema_merge=
56
Error_seleccionar_gp=
57
Error_seleccionar_gp_desc=
58
Error_seleccionar_resultado=Vous devez sp\u00e9cifier un fichier de resultat.
59
Error_spjoinmn_sin_funcion=Vous devez s\u00e9lectionner une fonction d'aggr\u00e9gation pour les attributs num\u00e9riques.
60
Escoger_Fun_Resumen=<-
61
Ficheros_de_cartografia=Fichiers de donn\u00e9es cartographiques.
62
Ficheros_SHP=Fichiers SHP.
63
Fuera=exterieur du polygon
64
Funciones_Sumarizacion=Fonctions d'aggr\u00e9gation.
65
GC=
66
GC_Desc=
67
Geoprocesos=
68
Gestor_de_Geoprocesos=
69
Herramientas_de_analisis=Outils d'analyse
70
Interseccion=Intersection
71
Interseccion._Introduccion_de_datos=Intersection. Introduction des donn\u00e9es.
72
Juntar=Joindre
73
Juntar._Introduccion_de_datos=Joindre. Introduction des donn\u00e9es.
74
Maximo=Maximum
75
Media=Moyenne
76
Mensaje_buffer=Calcul des zones tampons
77
Mensaje_clip=G\u00e9otraitement en cours...
78
Mensaje_convexhull=G\u00e9otraitement en cours...
79
Mensaje_difference=G\u00e9otraitement en cours...
80
Mensaje_dissolve=G\u00e9otraitement en cours...
81
Mensaje_enlace_espacial=G\u00e9otraitement en cours...
82
Mensaje_interseccion=G\u00e9otraitement en cours...
83
Mensaje_juntar=G\u00e9otraitement en cours...
84
Mensaje_primera_pasada_union=Calcul des intersections...
85
Mensaje_procesando_buffer=Calcul des zones tampons...
86
Mensaje_procesando_buffer2=Regroupement des zones tampons
87
Mensaje_procesando_clip_primero=Calcul du polygon de d\u00e9coupage
88
Mensaje_procesando_clip_segundo=D\u00e9coupage des g\u00e9om\u00e9tries.
89
Mensaje_procesando_convexhull=Calcul du convex hull...
90
Mensaje_procesando_diferencia=Calcul des diff\u00e9rences...
91
Mensaje_procesando_dissolves=Regroupement des g\u00e9om\u00e9tries...
92
Mensaje_procesando_enlace_espacial=Jointure des \u00e9l\u00e9ments...
93
Mensaje_procesando_interseccion=Calcul des intersections...
94
Mensaje_procesando_juntar=Jointure des g\u00e9om\u00e9tries...
95
Mensaje_segunda_pasada_union=Calcul des diff\u00e9rences entre A et B...
96
Mensaje_tercera_pasada_union=Calcul des diff\u00e9rences entre A et B...
97
Mensaje_union=G\u00e9otraitement...
98
Minimo=Minimum
99
No_usar_buffer_redondeado=Ne pas utiliser les zones tampons dupliqu\u00e9es.
100
Numero_anillos_concentricos=Nombre de points concentriques.
101
Numero_de_elementos_seleccionados=Nombre d'\u00e9l\u00e9ments s\u00e9lectionn\u00e9s.
102
Obtener_mas_proximo=Utiliser le plus proche.
103
Operacion_de_overlay=Op\u00e9rations de superposition.
104
Overlay=
105
Overlay_Desc=
106
Proximidad=
107
Proximidad_Desc=
108
Recortar=D\u00e9couper
109
Recortar._Introduccion_de_datos=D\u00e9couper. Introduction des donn\u00e9es.
110
Se_han_encontrado_capas_erroneas_en=
111
Seleccionar_Directorio=Repertoire contenant les couches.
112
Siguiente=Suivant
113
Sobreescribir_fichero=
114
Sobreescribir_fichero_Pregunta_1=
115
Sobreescribir_fichero_Pregunta_2=
116
Solo_disolver_adyacentes=Regrouper uniquement les entit\u00e9s adjacentes.
117
Sum=Somme
118
Terminar=Terminer
119
Union=Union
120
Union._Introduccion_de_datos=Union. Introduction des donn\u00e9es.
121
Usar_los_campos_de_la_capa=Utiliser les champs de la couche.
122
Usar_solamente_los_elementos_seleccionados=Utiliser uniquement les \u00e9l\u00e9ments s\u00e9lectionn\u00e9s.
123
Vista=Vue
0 124

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/text_de.properties
1
#Translations for language [de]
2
#Mon Oct 30 09:38:21 CET 2006
3
Abrir=Choose
4
Abrir_Geoproceso=
5
Aceptar=OK
6
Agregacion=
7
Agregacion_Desc=
8
Analisis=
9
Analisis_Desc=
10
Anterior=Zur\u00fcck
11
Area_de_influencia=Buffer
12
Area_de_influencia_definida_por_un_campo=
13
Area_de_influencia_definida_por_una_distancia=
14
Areas_de_influencia._Introduccion_de_datos=
15
Asistente_de_geoprocesamiento=
16
Atributos_Numericos=
17
Campo_para_disolver=
18
Capas_del_directorio=
19
Cerrar=Schlie\u00dfen
20
Cobertura_de_datos=
21
Cobertura_de_entrada=
22
Cobertura_de_recorte=
23
Cobertura_de_salida=
24
Coberturas_de_entrada=
25
Conversion_de_datos=
26
Conversion_de_datos_Desc=
27
Convex_Hull=Convex Hull
28
Convex_Hull._Introduccion_de_datos=
29
Crear_Buffer=
30
Crear_Indice=
31
Crear_Indice_Pregunta_1=
32
Crear_Indice_Pregunta_2=?
33
De=of
34
Dentro=inside de polygon
35
Dentro_y_fuera=
36
Diferencia=Difference
37
Diferencia_Introduccion_de_datos=
38
Disolver=Dissolve
39
Disolver._Introduccion_de_datos=
40
Disolver_entidades=
41
Elija_una_herramienta_de_analisis=
42
Enlace_espacial=
43
Enlace_espacial._Introduccion_de_datos=
44
Error_atributo_no_numerico=
45
Error_capa_vacia=
46
Error_chequeando_precondiciones=
47
Error_chequeo_tipo_geometria=
48
Error_distancia_buffer=
49
Error_ejecucion=
50
Error_entrada_datos=
51
Error_escritura_resultados=
52
Error_fallo_geoproceso=
53
Error_preparar_escritura_resultados=
54
Error_seleccionar_capas_merge=
55
Error_seleccionar_esquema_merge=
56
Error_seleccionar_gp=
57
Error_seleccionar_gp_desc=
58
Error_seleccionar_resultado=
59
Error_spjoinmn_sin_funcion=
60
Escoger_Fun_Resumen=
61
Ficheros_de_cartografia=
62
Ficheros_SHP=
63
Fuera=
64
Funciones_Sumarizacion=
65
GC=
66
GC_Desc=
67
Geoprocesos=
68
Gestor_de_Geoprocesos=
69
Herramientas_de_analisis=
70
Interseccion=
71
Interseccion._Introduccion_de_datos=
72
Juntar=
73
Juntar._Introduccion_de_datos=
74
Maximo=
75
Media=
76
Mensaje_buffer=
77
Mensaje_clip=
78
Mensaje_convexhull=
79
Mensaje_difference=
80
Mensaje_dissolve=
81
Mensaje_enlace_espacial=
82
Mensaje_interseccion=
83
Mensaje_juntar=
84
Mensaje_primera_pasada_union=
85
Mensaje_procesando_buffer=
86
Mensaje_procesando_buffer2=
87
Mensaje_procesando_clip_primero=
88
Mensaje_procesando_clip_segundo=
89
Mensaje_procesando_convexhull=
90
Mensaje_procesando_diferencia=
91
Mensaje_procesando_dissolves=
92
Mensaje_procesando_enlace_espacial=
93
Mensaje_procesando_interseccion=
94
Mensaje_procesando_juntar=
95
Mensaje_segunda_pasada_union=
96
Mensaje_tercera_pasada_union=
97
Mensaje_union=
98
Minimo=
99
No_usar_buffer_redondeado=
100
Numero_anillos_concentricos=
101
Numero_de_elementos_seleccionados=
102
Obtener_mas_proximo=
103
Operacion_de_overlay=
104
Overlay=
105
Overlay_Desc=
106
Proximidad=
107
Proximidad_Desc=
108
Recortar=Clip
109
Recortar._Introduccion_de_datos=
110
Se_han_encontrado_capas_erroneas_en=
111
Seleccionar_Directorio=
112
Siguiente=N\u00e4chster
113
Sobreescribir_fichero=
114
Sobreescribir_fichero_Pregunta_1=
115
Sobreescribir_fichero_Pregunta_2=
116
Solo_disolver_adyacentes=
117
Sum=Summatory
118
Terminar=
119
Union=Union
120
Union._Introduccion_de_datos=
121
Usar_los_campos_de_la_capa=
122
Usar_solamente_los_elementos_seleccionados=
123
Vista=Ansicht
0 124

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/docs/com.iver.cit.gvsig.geoprocess.impl.spatialjoin.SpatialJoinGeoprocessPlugin/description_de.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML>
3
<HEAD>
4
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
5
	<TITLE>Enlace Espacial</TITLE>
6
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.0  (Win32)">
7
	<META NAME="CREATED" CONTENT="20080128;12053357">
8
	<META NAME="CHANGED" CONTENT="20080128;12060578">
9
</HEAD>
10
<BODY LANG="es-ES" DIR="LTR">
11
<P LANG="en-GB" ALIGN=JUSTIFY STYLE="margin-bottom: 0cm"><FONT COLOR="#800000"><B>R&auml;umliche
12
Verbindung (Spatial Join)</B></FONT></P>
13
<P LANG="de-DE" ALIGN=JUSTIFY STYLE="margin-bottom: 0cm"><FONT COLOR="#000000">Diese
14
Funktion &uuml;bertr&auml;gt &ndash; &auml;hnlich zur
15
alphanumerischen Join-Funktion bei Tabellen - Attribute von einem
16
Quellthema auf eine Zielthema. Der Unterschied zum alphanumerischen
17
Join besteht darin, dass als &Uuml;bertragungskriterium nicht der
18
Wert eines (oder mehrerer) gegebener Attribute, sondern ein
19
r&auml;umliches Kriterium  herangezogen wird.</FONT></P>
20
<P LANG="de-DE" ALIGN=JUSTIFY STYLE="margin-top: 0.49cm; margin-bottom: 0.49cm">
21
<FONT COLOR="#000000">Der Benutzer kann dabei ausw&auml;hlen,
22
ob die r&auml;umliche Verbindung eine 1-1-Beziehung oder eine
23
1-N-Beziehung zwischen beiden Eingabethemen abbildeen soll (durch
24
Aktivierung bzw. Deaktivierung der Schaltfl&auml;che &bdquo;Use
25
nearest geometry&ldquo;). Bei 1-N-Beziehungen kann der Benutzer
26
zwischen mehreren Funktionen zur Zusammenfassung der Werte aus dem
27
Quellthema w&auml;hlen (Mittelwert, Maximum, Minimum und Summe)</FONT></P>
28
<P><IMG SRC="spatialjoindesc.png" NAME="Imagen1" ALIGN=LEFT BORDER=0><BR><BR>
29
</P>
30
</BODY>
31
</HTML>
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/docs/com.iver.cit.gvsig.geoprocess.impl.spatialjoin.SpatialJoinGeoprocessPlugin/description_eu.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML>
3
<HEAD>
4
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
5
	<TITLE>Enlace Espacial</TITLE>
6
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.0  (Linux)">
7
	<META NAME="CREATED" CONTENT="20070719;12361000">
8
	<META NAME="CHANGED" CONTENT="20070719;12390100">
9
	<STYLE TYPE="text/css">
10
	<!--
11
		@page { size: 21cm 29.7cm }
12
	-->
13
	</STYLE>
14
</HEAD>
15
<BODY LANG="es-ES" DIR="LTR">
16
<P><FONT COLOR="#800000">Espazio-Lotura</FONT></P>
17
<P ALIGN=JUSTIFY STYLE="margin-bottom: 0cm; widows: 0; orphans: 0">Geoprozesu
18
honek, geruza baten taula datuak beste geruza batera kopiatzea
19
ahalbidetzen du. 
20
</P>
21
<P>Espazio-lotura egiteko bi irizpide espazial erabili daitezke: 
22
</P>
23
<UL>
24
	<LI><P ALIGN=JUSTIFY STYLE="margin-bottom: 0cm; widows: 0; orphans: 0">
25
	<B>Gertuena (1 =&gt;
26
	1 erlazioa).</B> Lehenengo geruzako elementu bakoitzari, bigarren
27
	geruzako elementu gertuenaren taula datuak ezarriko zaizkio.
28
	Bigarren geruzako elementu aukeratua bat baino gehiago izan
29
	daitekenean, prozesua, taulan aurkitzen duen lehenengo
30
	elementuarekin egingo du.</P>
31
</UL>
32
<P ALIGN=JUSTIFY STYLE="margin-bottom: 0cm; widows: 0; orphans: 0"><BR>
33
</P>
34
<UL>
35
	<LI><P><B>Barnekoa (1 =&gt;
36
	M erlazioa).</B> Lehenengo geruzako elementu bakoitza, bigarren
37
	geruzako elementu bat baino gehiagorekin erlazionatzen du
38
	(gainjartzen diren guztiekin). Erlazionatutako M elementuren
39
	zenbakizko datuen funtzio bat (batazbestekoa, txikiena, handiena,
40
	batura) aukeratu beharko du erabiltzaileak eta funtzio honen emaitza
41
	izango da irteera datuetan agertuko dena. 
42
	</P>
43
</UL>
44
<P ALIGN=CENTER STYLE="margin-bottom: 0cm; line-height: 150%"><IMG SRC="spatialjoindesc.png" NAME="Imagen1" ALIGN=LEFT WIDTH=271 HEIGHT=285 BORDER=0><BR>
45
</P>
46
</BODY>
47
</HTML>
0 48

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/docs/com.iver.cit.gvsig.geoprocess.impl.spatialjoin.SpatialJoinGeoprocessPlugin/description_pl.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML>
3
<HEAD>
4
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
5
	<TITLE>Enlace Espacial</TITLE>
6
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.0  (Linux)">
7
	<META NAME="CREATED" CONTENT="20070803;10283000">
8
	<META NAME="CHANGED" CONTENT="20070803;10285200">
9
	<STYLE TYPE="text/css">
10
	<!--
11
		@page { size: 21cm 29.7cm }
12
	-->
13
	</STYLE>
14
</HEAD>
15
<BODY LANG="es-ES" DIR="LTR">
16
<P LANG="pl-PL" ALIGN=JUSTIFY STYLE="margin-top: 0.49cm; margin-bottom: 0.49cm">
17
<FONT COLOR="#800000"><B>Przestrzenne złączenie</B></FONT></P>
18
<P LANG="pl-PL" ALIGN=JUSTIFY STYLE="margin-top: 0.49cm; margin-bottom: 0.49cm">
19
Geoproces ten przenosi atrybuty z warstwy źr&oacute;dłowej do
20
docelowej (podobnie jak w złączeniu atrybutowym). R&oacute;żnica
21
między tradycyjnym złączeniem polega na kryteriach złączenia,
22
kt&oacute;rymi nie są wartości atrybut&oacute;w, lecz kryteria
23
przestrzenne: przecięcie lub sąsiedztwo. 
24
</P>
25
<P LANG="pl-PL" ALIGN=JUSTIFY STYLE="margin-top: 0.49cm; margin-bottom: 0.49cm">
26
Jeśli użytkownik wybierze przecięcie jako kryterium złączenia,
27
każdy obiekt warstwy docelowej może przecinać wiele obiekt&oacute;w
28
warstwy źr&oacute;dłowej (relacja 1-N). Jeśli użytkownik wybierze
29
sąsiedztwo powstaje relacja 1-1.</P>
30
<P><IMG SRC="spatialjoindesc.png" NAME="Imagen1" ALIGN=LEFT WIDTH=271 HEIGHT=285 BORDER=0><BR><BR>
31
</P>
32
</BODY>
33
</HTML>
0 34

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/docs/com.iver.cit.gvsig.geoprocess.impl.spatialjoin.SpatialJoinGeoprocessPlugin/description_zh.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML>
3
<HEAD>
4
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
5
	<TITLE>Enlace Espacial</TITLE>
6
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.2  (Linux)">
7
	<META NAME="CREATED" CONTENT="20070831;13031500">
8
	<META NAME="CHANGED" CONTENT="20070831;13035300">
9
	<STYLE TYPE="text/css">
10
	<!--
11
		@page { size: 21cm 29.7cm }
12
	-->
13
	</STYLE>
14
</HEAD>
15
<BODY LANG="es-ES" DIR="LTR">
16
<P ALIGN=JUSTIFY STYLE="margin-top: 0.1cm; margin-bottom: 0.1cm; widows: 2; orphans: 2">
17
<FONT COLOR="#800000"><FONT FACE="宋体"><FONT SIZE=3><SPAN LANG="zh-CN"><B>空间连接(</B></SPAN></FONT></FONT><FONT FACE="宋体"><FONT SIZE=3><B>Spatial
18
Join</B></FONT></FONT><FONT FACE="宋体"><FONT SIZE=3><SPAN LANG="zh-CN"><B>)</B></SPAN></FONT></FONT></FONT></P>
19
<P LANG="en-GB" ALIGN=JUSTIFY STYLE="margin-top: 0.1cm; margin-bottom: 0.1cm; font-weight: medium; widows: 2; orphans: 2">
20
<FONT COLOR="#000000"><FONT FACE="宋体"><FONT SIZE=3><SPAN LANG="zh-CN">该空间数据分析工具与表格文档的联接一样,可以根据特征属性表的字段实现联接。与表格的联接不同的是,空间联接过程中除了数据记录之间的匹配,还要处理数据记录所对应的主题地物特征之间的空间关系,并将这种关系存贮在联接中。</SPAN></FONT></FONT></FONT></P>
21
<P LANG="en-GB" ALIGN=JUSTIFY STYLE="margin-top: 0.1cm; margin-bottom: 0.1cm; font-weight: medium; widows: 2; orphans: 2">
22
<BR><BR>
23
</P>
24
<P><IMG SRC="spatialjoindesc.png" NAME="Imagen1" ALIGN=LEFT WIDTH=271 HEIGHT=285 BORDER=0><BR><BR>
25
</P>
26
</BODY>
27
</HTML>
0 28

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/docs/com.iver.cit.gvsig.geoprocess.impl.spatialjoin.SpatialJoinGeoprocessPlugin/description_en.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML>
3
<HEAD>
4
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
5
	<TITLE>Spatial Join</TITLE>
6
</HEAD>
7
<BODY LANG="es-ES" DIR="LTR">
8
<P>
9
<FONT COLOR="#800000">
10
<B>Spatial Join</B>
11
</FONT>
12
</P>
13
<P>
14
This geoprocess transfer attributes from a source layer to a target layer (very similar to an
15
alphanumerical join). The difference with a traditional join is that the transfer criteria is not
16
the value of one (or many) given attributes. The criteria to transfer attribute values is spatial: intersection or proximity.
17
</P>
18
<P>
19
If users select intersection like transfer criteria, each feature of the target layer could intersect
20
many features of the source layer (a 1-N spatial relationship).
21
<br>
22
If users select proximity (nearest neighbour) we have a 1-N spatial relationship.
23
</P>
24

  
25
<P>
26
<IMG SRC="spatialjoindesc.png" NAME="Imagen1" ALIGN=LEFT BORDER=0>
27
</P>
28

  
29
</BODY>
30
</HTML>
0 31

  
tags/v2_0_0_Build_2000/extensions/extGeoProcessing/config/docs/com.iver.cit.gvsig.geoprocess.impl.spatialjoin.SpatialJoinGeoprocessPlugin/description_ca.html
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML>
3
<HEAD>
4
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
5
	<TITLE>Enlace Espacial</TITLE>
6
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.0  (Linux)">
7
	<META NAME="CREATED" CONTENT="20070803;10333200">
8
	<META NAME="CHANGED" CONTENT="20070803;10371600">
9
	<STYLE TYPE="text/css">
10
	<!--
11
		@page { size: 21cm 29.7cm }
12
	-->
13
	</STYLE>
14
</HEAD>
15
<BODY LANG="es-ES" DIR="LTR">
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff