Revision 35
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.reproject/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.reproject</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.reproject</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Reproject Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 |
<groupId>es.unex</groupId> |
|
80 |
<artifactId>sextante</artifactId> |
|
81 |
<version>0.55.0</version> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
|
19 |
<version>0.55.0-SNAPSHOT</version> |
|
82 | 20 |
</dependency> |
83 |
<dependency> |
|
84 |
<groupId>es.unex</groupId> |
|
85 |
<artifactId>sextante_gui</artifactId> |
|
86 |
<version>0.55.0</version> |
|
87 |
</dependency> |
|
88 | 21 |
</dependencies> |
89 | 22 |
</project> |
90 | 23 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.spatialjoin/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.spatialjoin</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.spatialjoin</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Spatial Join Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 |
<groupId>es.unex</groupId> |
|
80 |
<artifactId>sextante</artifactId> |
|
81 |
<version>0.55.0</version> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
|
19 |
<version>0.55.0-SNAPSHOT</version> |
|
82 | 20 |
</dependency> |
83 |
<dependency> |
|
84 |
<groupId>es.unex</groupId> |
|
85 |
<artifactId>sextante_gui</artifactId> |
|
86 |
<version>0.55.0</version> |
|
87 |
</dependency> |
|
88 | 21 |
</dependencies> |
89 | 22 |
</project> |
90 | 23 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.xyshift/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.xyshift</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.xyshift</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>XYShift Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 |
<groupId>es.unex</groupId> |
|
80 |
<artifactId>sextante</artifactId> |
|
81 |
<version>0.55.0</version> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
|
19 |
<version>0.55.0-SNAPSHOT</version> |
|
82 | 20 |
</dependency> |
83 |
<dependency> |
|
84 |
<groupId>es.unex</groupId> |
|
85 |
<artifactId>sextante_gui</artifactId> |
|
86 |
<version>0.55.0</version> |
|
87 |
</dependency> |
|
88 | 21 |
</dependencies> |
89 | 22 |
</project> |
90 | 23 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.merge/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.merge</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.merge</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Merge Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 |
<groupId>es.unex</groupId> |
|
80 |
<artifactId>sextante</artifactId> |
|
81 |
<version>0.55.0</version> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
|
19 |
<version>0.55.0-SNAPSHOT</version> |
|
82 | 20 |
</dependency> |
83 |
<dependency> |
|
84 |
<groupId>es.unex</groupId> |
|
85 |
<artifactId>sextante_gui</artifactId> |
|
86 |
<version>0.55.0</version> |
|
87 |
</dependency> |
|
88 | 21 |
</dependencies> |
89 | 22 |
</project> |
90 | 23 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.intersection/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.intersection</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.intersection</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Intersection Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 | 17 |
<groupId>org.gvsig</groupId> |
80 | 18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
81 | 19 |
<version>0.55.0-SNAPSHOT</version> |
82 |
</dependency>
|
|
20 |
</dependency> |
|
83 | 21 |
</dependencies> |
84 | 22 |
</project> |
85 | 23 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.clip/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.clip</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.clip</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Clip Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 | 17 |
<groupId>org.gvsig</groupId> |
80 | 18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
81 | 19 |
<version>0.55.0-SNAPSHOT</version> |
82 |
</dependency>
|
|
20 |
</dependency> |
|
83 | 21 |
</dependencies> |
84 | 22 |
</project> |
85 | 23 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.convexhull/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.convexhull</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.convexhull</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Convex Hull Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 | 17 |
<groupId>org.gvsig</groupId> |
80 | 18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
81 | 19 |
<version>0.55.0-SNAPSHOT</version> |
82 | 20 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.dissolve/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.dissolve</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.dissolve</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Dissolve Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 | 17 |
<groupId>org.gvsig</groupId> |
80 | 18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
81 | 19 |
<version>0.55.0-SNAPSHOT</version> |
82 |
</dependency>
|
|
20 |
</dependency> |
|
83 | 21 |
</dependencies> |
84 | 22 |
</project> |
85 | 23 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.dissolve/src/main/java/org/gvsig/sextante/app/algorithm/dissolve/DissolveAlgorithm.java | ||
---|---|---|
20 | 20 |
*/ |
21 | 21 |
package org.gvsig.sextante.app.algorithm.dissolve; |
22 | 22 |
|
23 |
import java.util.ArrayList; |
|
24 |
import java.util.Arrays; |
|
25 |
import java.util.Iterator; |
|
26 |
|
|
27 |
import org.gvsig.fmap.dal.exception.DataException; |
|
28 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
|
29 |
import org.gvsig.fmap.dal.feature.FeatureSet; |
|
30 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
31 |
import org.gvsig.fmap.dal.feature.FeatureType; |
|
32 |
import org.gvsig.sextante.app.extension.core.gvGeoAlgorithm; |
|
33 |
import org.gvsig.sextante.app.extension.core.gvVectorLayer; |
|
34 |
|
|
23 | 35 |
import es.unex.sextante.additionalInfo.AdditionalInfoNumericalValue; |
24 |
import es.unex.sextante.core.GeoAlgorithm; |
|
25 | 36 |
import es.unex.sextante.core.Sextante; |
26 | 37 |
import es.unex.sextante.dataObjects.IVectorLayer; |
27 | 38 |
import es.unex.sextante.exceptions.GeoAlgorithmExecutionException; |
28 | 39 |
import es.unex.sextante.exceptions.RepeatedParameterNameException; |
40 |
import es.unex.sextante.exceptions.UnsupportedOutputChannelException; |
|
29 | 41 |
import es.unex.sextante.outputs.OutputVectorLayer; |
30 | 42 |
|
31 | 43 |
/** |
32 | 44 |
* Dissolve algorithm |
33 | 45 |
* @author <a href="mailto:nachobrodin@gmail.com">Nacho Brodin</a> |
34 | 46 |
*/ |
35 |
public class DissolveAlgorithm extends GeoAlgorithm { |
|
36 |
public static final String RESULT = "RESULT"; |
|
37 |
public static final String LAYER = "LAYER"; |
|
38 |
public static final String FIELD = "FIELD"; |
|
39 |
public static final String FUNCTIONS = "FUNCTIONS"; |
|
40 |
public static final String SELECTED_GEOM = "SELECTED_GEOM"; |
|
41 |
public static final String DISSOLV_ADJ = "DISSOLV_ADJ"; |
|
42 |
public static final String FUNCTION_LIST = "FUNCTION_LIST"; |
|
43 |
public static final String Summary[] = {"Min", "Max", "Sum", "Avg"}; |
|
44 |
|
|
47 |
public class DissolveAlgorithm extends gvGeoAlgorithm { |
|
48 |
public static final String RESULT = "RESULT"; |
|
49 |
public static final String LAYER = "LAYER"; |
|
50 |
public static final String FIELD = "FIELD"; |
|
51 |
public static final String FUNCTIONS = "FUNCTIONS"; |
|
52 |
public static final String SELECTED_GEOM = "SELECTED_GEOM"; |
|
53 |
public static final String DISSOLV_ADJ = "DISSOLV_ADJ"; |
|
54 |
public static final String FUNCTION_LIST = "FUNCTION_LIST"; |
|
55 |
public static final String Summary[] = {"Min", "Max", "Sum", "Avg"}; |
|
56 |
private boolean funcList[] = new boolean[Summary.length]; |
|
57 |
|
|
45 | 58 |
/* |
46 | 59 |
* (non-Javadoc) |
47 | 60 |
* @see es.unex.sextante.core.GeoAlgorithm#defineCharacteristics() |
... | ... | |
65 | 78 |
Sextante.getText("Field"), |
66 | 79 |
0, |
67 | 80 |
AdditionalInfoNumericalValue.NUMERICAL_VALUE_INTEGER); |
68 |
m_Parameters.addString(FUNCTION_LIST, |
|
69 |
Sextante.getText("Function_list")); |
|
81 |
m_Parameters.addString(FUNCTION_LIST, Sextante.getText("Function_list")); |
|
70 | 82 |
addOutputVectorLayer(RESULT, |
71 | 83 |
Sextante.getText( "Dissolve"), |
72 | 84 |
OutputVectorLayer.SHAPE_TYPE_POLYGON); |
... | ... | |
81 | 93 |
* @see es.unex.sextante.core.GeoAlgorithm#processAlgorithm() |
82 | 94 |
*/ |
83 | 95 |
public boolean processAlgorithm() throws GeoAlgorithmExecutionException { |
84 |
IVectorLayer clip = m_Parameters.getParameterValueAsVectorLayer(LAYER);
|
|
96 |
IVectorLayer layer = m_Parameters.getParameterValueAsVectorLayer(LAYER);
|
|
85 | 97 |
int indexField = m_Parameters.getParameterValueAsInt(FIELD); |
86 | 98 |
boolean selectedGeom = m_Parameters.getParameterValueAsBoolean(SELECTED_GEOM); |
87 | 99 |
boolean dissolvAdj = m_Parameters.getParameterValueAsBoolean(DISSOLV_ADJ); |
88 | 100 |
String functionList = m_Parameters.getParameterValueAsString(FUNCTION_LIST); |
101 |
loadSummary(functionList); |
|
89 | 102 |
|
90 |
System.out.println(functionList); |
|
103 |
FeatureStore storeLayer = null; |
|
104 |
if(layer instanceof gvVectorLayer) |
|
105 |
storeLayer = ((gvVectorLayer)layer).getFeatureStore(); |
|
106 |
else |
|
107 |
return false; |
|
91 | 108 |
|
109 |
FeatureSet features = null; |
|
110 |
FeatureType featureType = null; |
|
111 |
try { |
|
112 |
features = storeLayer.getFeatureSet(); |
|
113 |
featureType = features.getDefaultFeatureType(); |
|
114 |
} catch (DataException e) { |
|
115 |
Sextante.addErrorToLog(e); |
|
116 |
return false; |
|
117 |
} |
|
118 |
FeatureStore outFeatStore = buildDissolvedOutPutStore(featureType, indexField, layer.getShapeType(), |
|
119 |
Sextante.getText("Dissolve"), RESULT); |
|
120 |
DissolveOperation op = new DissolveOperation(); |
|
121 |
try { |
|
122 |
op.computesOperation(storeLayer, outFeatStore, attrNames, selectedGeom, true); |
|
123 |
} catch (DataException e) { |
|
124 |
Sextante.addErrorToLog(e); |
|
125 |
return false; |
|
126 |
} |
|
92 | 127 |
return true; |
93 | 128 |
} |
94 |
|
|
129 |
|
|
130 |
/** |
|
131 |
* Checks if the parameter is in Summary list |
|
132 |
* @param it |
|
133 |
* @return the position in the list |
|
134 |
*/ |
|
135 |
private int isInList(String it) { |
|
136 |
for (int i = 0; i < Summary.length; i++) { |
|
137 |
if(Summary[i].compareTo(it) == 0) |
|
138 |
return i; |
|
139 |
} |
|
140 |
return -1; |
|
141 |
} |
|
142 |
|
|
143 |
/** |
|
144 |
* Loads the list of functions to use |
|
145 |
* @param functionList |
|
146 |
*/ |
|
147 |
private void loadSummary(String functionList) { |
|
148 |
String[] attrList = functionList.split(";"); |
|
149 |
for (int i = 0; i < attrList.length; i++) { |
|
150 |
String[] func = attrList[i].split(","); |
|
151 |
for (int j = 1; j < func.length; j++) { |
|
152 |
int pos = isInList(func[j]); |
|
153 |
if(pos != -1) |
|
154 |
funcList[pos] = true; |
|
155 |
} |
|
156 |
} |
|
157 |
} |
|
158 |
|
|
159 |
/** |
|
160 |
* Builds the output FeatureStore |
|
161 |
* @param featureType |
|
162 |
* @return FeatureStore |
|
163 |
*/ |
|
164 |
@SuppressWarnings("unchecked") |
|
165 |
protected FeatureStore buildDissolvedOutPutStore(FeatureType featureType1, |
|
166 |
int indexField, |
|
167 |
int shapeType, |
|
168 |
String sextanteLayerName, |
|
169 |
String sextanteLayerLabel) { |
|
170 |
ArrayList<Class> typesList = new ArrayList<Class>(); |
|
171 |
ArrayList<String> attr = new ArrayList<String>(); |
|
172 |
attr.add("FID"); |
|
173 |
typesList.add(Integer.class); |
|
174 |
FeatureAttributeDescriptor desc = featureType1.getAttributeDescriptor(indexField); |
|
175 |
attr.add(desc.getName()); |
|
176 |
typesList.add(desc.getObjectClass()); |
|
177 |
for (int i = 0; i < funcList.length; i++) |
|
178 |
if(funcList[i]) |
|
179 |
attr.add(Summary[i]); |
|
180 |
|
|
181 |
attrNames = new String[attr.size()]; |
|
182 |
attr.toArray(attrNames); |
|
183 |
Class[] types = new Class[typesList.size()]; |
|
184 |
typesList.toArray(types); |
|
185 |
|
|
186 |
try { |
|
187 |
IVectorLayer output = getNewVectorLayer(sextanteLayerLabel, |
|
188 |
sextanteLayerName, |
|
189 |
shapeType, types, attrNames); |
|
190 |
return ((gvVectorLayer)output).getFeatureStore(); |
|
191 |
} catch (UnsupportedOutputChannelException e) { |
|
192 |
Sextante.addErrorToLog(e); |
|
193 |
} |
|
194 |
return null; |
|
195 |
} |
|
95 | 196 |
} |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.dissolve/src/main/java/org/gvsig/sextante/app/algorithm/dissolve/DissolveOperation.java | ||
---|---|---|
1 |
/* |
|
2 |
|
|
3 |
* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
4 |
* |
|
5 |
* Copyright (C) 2010 Generalitat Valenciana. |
|
6 |
* |
|
7 |
* This program is free software; you can redistribute it and/or |
|
8 |
* modify it under the terms of the GNU General Public License |
|
9 |
* as published by the Free Software Foundation; either version 2 |
|
10 |
* of the License, or (at your option) any later version. |
|
11 |
* |
|
12 |
* This program is distributed in the hope that it will be useful, |
|
13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
* GNU General Public License for more details. |
|
16 |
* |
|
17 |
* You should have received a copy of the GNU General Public License |
|
18 |
* along with this program; if not, write to the Free Software |
|
19 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
20 |
*/ |
|
21 |
|
|
22 |
package org.gvsig.sextante.app.algorithm.dissolve; |
|
23 |
|
|
24 |
import java.util.ArrayList; |
|
25 |
|
|
26 |
import org.gvsig.fmap.dal.exception.DataException; |
|
27 |
import org.gvsig.fmap.dal.feature.EditableFeature; |
|
28 |
import org.gvsig.fmap.dal.feature.Feature; |
|
29 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
30 |
import org.gvsig.fmap.geom.operation.GeometryOperationException; |
|
31 |
import org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException; |
|
32 |
import org.gvsig.fmap.geom.operation.tojts.ToJTS; |
|
33 |
import org.gvsig.sextante.app.algorithm.base.core.DALFeaturePersister; |
|
34 |
import org.gvsig.sextante.app.algorithm.base.core.GeometryOperation; |
|
35 |
|
|
36 |
import com.vividsolutions.jts.geom.Geometry; |
|
37 |
|
|
38 |
import es.unex.sextante.core.Sextante; |
|
39 |
/** |
|
40 |
* Dissolve operation |
|
41 |
* @author <a href="mailto:nachobrodin@gmail.com">Nacho Brodin</a> |
|
42 |
*/ |
|
43 |
public class DissolveOperation extends GeometryOperation { |
|
44 |
private EditableFeature lastEditFeature = null; |
|
45 |
|
|
46 |
/** |
|
47 |
* Sets the output FeatureType |
|
48 |
* @param out |
|
49 |
* @throws DataException |
|
50 |
*/ |
|
51 |
public void setFeatureStore(FeatureStore out, String[] attrNames) throws DataException { |
|
52 |
persister = new DALFeaturePersister(out, attrNames); |
|
53 |
} |
|
54 |
|
|
55 |
/** |
|
56 |
* clips feature's geometry with the clipping geometry, preserving |
|
57 |
* feature's original attributes. |
|
58 |
* If feature's geometry doesn't touch clipping geometry, it will be |
|
59 |
* ignored. |
|
60 |
*/ |
|
61 |
public EditableFeature invoke(org.gvsig.fmap.geom.Geometry g, Feature feature) { |
|
62 |
if(g == null) |
|
63 |
return lastEditFeature; |
|
64 |
|
|
65 |
com.vividsolutions.jts.geom.Geometry jtsGeom = null; |
|
66 |
try { |
|
67 |
jtsGeom = (Geometry)g.invokeOperation(ToJTS.CODE, null); |
|
68 |
} catch (GeometryOperationNotSupportedException e1) { |
|
69 |
Sextante.addErrorToLog(e1); |
|
70 |
return lastEditFeature; |
|
71 |
} catch (GeometryOperationException e1) { |
|
72 |
Sextante.addErrorToLog(e1); |
|
73 |
return lastEditFeature; |
|
74 |
} |
|
75 |
|
|
76 |
ArrayList<Geometry> geometries = new ArrayList<Geometry>(); |
|
77 |
geometries.add(jtsGeom); |
|
78 |
return lastEditFeature; |
|
79 |
} |
|
80 |
|
|
81 |
/** |
|
82 |
* clips feature's geometry with the clipping geometry, preserving |
|
83 |
* feature's original attributes. |
|
84 |
* If feature's geometry doesn't touch clipping geometry, it will be |
|
85 |
* ignored. |
|
86 |
*/ |
|
87 |
public void invoke(org.gvsig.fmap.geom.Geometry g, EditableFeature feature) { |
|
88 |
if(g == null) |
|
89 |
return; |
|
90 |
|
|
91 |
com.vividsolutions.jts.geom.Geometry jtsGeom = null; |
|
92 |
try { |
|
93 |
jtsGeom = (Geometry)g.invokeOperation(ToJTS.CODE, null); |
|
94 |
} catch (GeometryOperationNotSupportedException e1) { |
|
95 |
Sextante.addErrorToLog(e1); |
|
96 |
} catch (GeometryOperationException e1) { |
|
97 |
Sextante.addErrorToLog(e1); |
|
98 |
} |
|
99 |
|
|
100 |
|
|
101 |
} |
|
102 |
|
|
103 |
/* |
|
104 |
* (non-Javadoc) |
|
105 |
* @see org.gvsig.sextante.app.algorithm.base.core.IOperation#getResult() |
|
106 |
*/ |
|
107 |
public Object getResult() { |
|
108 |
return lastEditFeature; |
|
109 |
} |
|
110 |
} |
|
111 |
|
|
0 | 112 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.dissolve/src/main/java/org/gvsig/sextante/app/algorithm/dissolve/DissolveParametersPanel.java | ||
---|---|---|
280 | 280 |
params.getParameter(DissolveAlgorithm.DISSOLV_ADJ).setParameterValue(getAdjacentCheck().isSelected()); |
281 | 281 |
|
282 | 282 |
SummaryTableModel model = (SummaryTableModel)summaryTable.getModel(); |
283 |
params.getParameter(DissolveAlgorithm.FUNCTION_LIST).setParameterValue(model.getAsString());
|
|
283 |
params.getParameter(DissolveAlgorithm.FUNCTION_LIST).setParameterValue(model.getValues());
|
|
284 | 284 |
|
285 | 285 |
OutputObjectsSet ooSet = m_Algorithm.getOutputObjects(); |
286 | 286 |
Output out = ooSet.getOutput(DissolveAlgorithm.RESULT); |
... | ... | |
370 | 370 |
return String.class; |
371 | 371 |
} |
372 | 372 |
|
373 |
public String getAsString() { |
|
374 |
StringBuffer sb = new StringBuffer(); |
|
375 |
boolean bFirst = true; |
|
373 |
public String getValues() { |
|
374 |
String str = ""; |
|
376 | 375 |
for (int i = 0; i < m_Data.length; i++) { |
377 |
for (int j = 1; j < 5; j++) { |
|
378 |
Boolean b = (Boolean) m_Data[i][j]; |
|
379 |
if (b) { |
|
380 |
if (!bFirst) |
|
381 |
sb.append(","); |
|
382 |
else |
|
383 |
bFirst = false; |
|
384 |
sb.append(Integer.toString(i)); |
|
385 |
sb.append(","); |
|
386 |
sb.append(Integer.toString(j - 1)); |
|
387 |
} |
|
388 |
} |
|
376 |
str = str + (String)m_Data[i][0] + ","; |
|
377 |
for (int j = 1; j < getColumnCount(); j++) |
|
378 |
if(((Boolean)getValueAt(i, j)).booleanValue()) |
|
379 |
str = str + DissolveAlgorithm.Summary[j - 1] + ","; |
|
380 |
str = str.substring(0, str.length() - 1) + ";"; |
|
389 | 381 |
} |
390 |
return sb.toString();
|
|
382 |
return str.substring(0, str.length() - 1);
|
|
391 | 383 |
} |
392 |
} |
|
384 |
|
|
385 |
} |
|
393 | 386 |
} |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.union/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.union</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.union</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Union Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 | 17 |
<groupId>org.gvsig</groupId> |
80 | 18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
81 | 19 |
<version>0.55.0-SNAPSHOT</version> |
82 | 20 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/pom.xml | ||
---|---|---|
5 | 5 |
|
6 | 6 |
<modelVersion>4.0.0</modelVersion> |
7 | 7 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
8 |
<groupId>org.gvsig</groupId> |
|
9 |
<version>0.55.0-SNAPSHOT</version> |
|
10 | 8 |
<packaging>pom</packaging> |
11 | 9 |
<name>org.gvsig.sextante.app.algorithm</name> |
12 |
<description>gvSIG algorithms</description> |
|
13 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
14 | 10 |
|
15 | 11 |
<parent> |
16 | 12 |
<groupId>org.gvsig</groupId> |
17 |
<artifactId>gvsig-base-library-pom</artifactId>
|
|
18 |
<version>2.0-SNAPSHOT</version>
|
|
13 |
<artifactId>org.gvsig.sextante.app</artifactId>
|
|
14 |
<version>0.55.0-SNAPSHOT</version>
|
|
19 | 15 |
</parent> |
20 | 16 |
|
21 |
<scm> |
|
22 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
23 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
24 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
25 |
</scm> |
|
26 |
|
|
27 |
<distributionManagement> |
|
28 |
<site> |
|
29 |
<id>gvsig-repository</id> |
|
30 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
31 |
</site> |
|
32 |
</distributionManagement> |
|
33 |
|
|
34 |
<repositories> |
|
35 |
<repository> |
|
36 |
<id>gvsig-public-http-repository</id> |
|
37 |
<name>gvSIG maven public HTTP repository</name> |
|
38 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
39 |
<releases> |
|
40 |
<enabled>true</enabled> |
|
41 |
<updatePolicy>daily</updatePolicy> |
|
42 |
<checksumPolicy>warn</checksumPolicy> |
|
43 |
</releases> |
|
44 |
<snapshots> |
|
45 |
<enabled>true</enabled> |
|
46 |
<updatePolicy>daily</updatePolicy> |
|
47 |
<checksumPolicy>warn</checksumPolicy> |
|
48 |
</snapshots> |
|
49 |
</repository> |
|
50 |
</repositories> |
|
51 |
|
|
52 |
<build> |
|
53 |
<plugins> |
|
54 |
<plugin> |
|
55 |
<groupId>org.apache.maven.plugins</groupId> |
|
56 |
<artifactId>maven-release-plugin</artifactId> |
|
57 |
<configuration> |
|
58 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
59 |
</configuration> |
|
60 |
</plugin> |
|
61 |
</plugins> |
|
62 |
</build> |
|
63 |
|
|
64 |
<dependencyManagement> |
|
65 |
<dependencies> |
|
66 |
<dependency> |
|
67 |
<groupId>org.gvsig</groupId> |
|
68 |
<artifactId>org.gvsig.i18n</artifactId> |
|
69 |
<version>2.0-SNAPSHOT</version> |
|
70 |
</dependency> |
|
71 |
</dependencies> |
|
72 |
</dependencyManagement> |
|
73 |
|
|
74 | 17 |
<dependencies> |
75 | 18 |
<dependency> |
76 | 19 |
<groupId>org.gvsig</groupId> |
77 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
78 |
<version>2.0.0</version> |
|
79 |
</dependency> |
|
80 |
<dependency> |
|
81 |
<groupId>org.gvsig</groupId> |
|
82 | 20 |
<artifactId>org.gvsig.sextante.app.extension</artifactId> |
83 | 21 |
<version>0.55.0-SNAPSHOT</version> |
84 | 22 |
</dependency> |
85 |
<dependency> |
|
86 |
<groupId>es.unex</groupId> |
|
87 |
<artifactId>sextante</artifactId> |
|
88 |
</dependency> |
|
89 |
<dependency> |
|
90 |
<groupId>es.unex</groupId> |
|
91 |
<artifactId>sextante_gui</artifactId> |
|
92 |
</dependency> |
|
93 |
<dependency> |
|
94 |
<groupId>com.vividsolutions</groupId> |
|
95 |
<artifactId>jts</artifactId> |
|
96 |
<version>1.9</version> |
|
97 |
</dependency> |
|
98 |
<dependency> |
|
99 |
<groupId>org.gvsig</groupId> |
|
100 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
|
101 |
<version>2.0-SNAPSHOT</version> |
|
102 |
</dependency> |
|
103 | 23 |
</dependencies> |
104 | 24 |
|
105 | 25 |
<modules> |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.buffer/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
1 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 |
<modelVersion>4.0.0</modelVersion> |
4 | 5 |
<artifactId>org.gvsig.sextante.app.algorithm.buffer</artifactId> |
5 | 6 |
<packaging>jar</packaging> |
6 | 7 |
<name>org.gvsig.sextante.app.algorithm.buffer</name> |
7 |
<groupId>org.gvsig</groupId> |
|
8 |
<version>0.55.0-SNAPSHOT</version> |
|
9 |
<description>Buffer Geoprocess</description> |
|
10 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
11 | 8 |
|
12 | 9 |
<parent> |
13 | 10 |
<groupId>org.gvsig</groupId> |
14 | 11 |
<artifactId>org.gvsig.sextante.app.algorithm</artifactId> |
15 | 12 |
<version>0.55.0-SNAPSHOT</version> |
16 | 13 |
</parent> |
17 |
|
|
18 |
<scm> |
|
19 |
<connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</connection> |
|
20 |
<developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/trunk</developerConnection> |
|
21 |
<url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/org.gvsig.sextante/extension/trunk/?root=gvsig-sextante</url> |
|
22 |
</scm> |
|
23 | 14 |
|
24 |
<distributionManagement> |
|
25 |
<site> |
|
26 |
<id>gvsig-repository</id> |
|
27 |
<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.sextante.app/${pom.version}</url> |
|
28 |
</site> |
|
29 |
</distributionManagement> |
|
30 |
|
|
31 |
<repositories> |
|
32 |
<repository> |
|
33 |
<id>gvsig-public-http-repository</id> |
|
34 |
<name>gvSIG maven public HTTP repository</name> |
|
35 |
<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url> |
|
36 |
<releases> |
|
37 |
<enabled>true</enabled> |
|
38 |
<updatePolicy>daily</updatePolicy> |
|
39 |
<checksumPolicy>warn</checksumPolicy> |
|
40 |
</releases> |
|
41 |
<snapshots> |
|
42 |
<enabled>true</enabled> |
|
43 |
<updatePolicy>daily</updatePolicy> |
|
44 |
<checksumPolicy>warn</checksumPolicy> |
|
45 |
</snapshots> |
|
46 |
</repository> |
|
47 |
</repositories> |
|
48 |
|
|
49 |
<build> |
|
50 |
<plugins> |
|
51 |
<plugin> |
|
52 |
<groupId>org.apache.maven.plugins</groupId> |
|
53 |
<artifactId>maven-release-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<tagBase>https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/extension/tags</tagBase> |
|
56 |
</configuration> |
|
57 |
</plugin> |
|
58 |
</plugins> |
|
59 |
|
|
60 |
</build> |
|
61 |
|
|
62 |
<dependencyManagement> |
|
63 |
<dependencies> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.i18n</artifactId> |
|
67 |
<version>2.0-SNAPSHOT</version> |
|
68 |
</dependency> |
|
69 |
</dependencies> |
|
70 |
</dependencyManagement> |
|
71 |
|
|
72 | 15 |
<dependencies> |
73 | 16 |
<dependency> |
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
76 |
<version>2.0.0</version> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 | 17 |
<groupId>org.gvsig</groupId> |
80 | 18 |
<artifactId>org.gvsig.sextante.app.algorithm.base</artifactId> |
81 | 19 |
<version>0.55.0-SNAPSHOT</version> |
82 | 20 |
org.gvsig.sextante/trunk/org.gvsig.sextante.app/org.gvsig.sextante.app.algorithm/org.gvsig.sextante.app.algorithm.base/src/main/java/org/gvsig/sextante/app/algorithm/base/panel/AlgorithmOutputPanel.java | ||
---|---|---|
16 | 16 |
|
17 | 17 |
import org.gvsig.fmap.dal.DALLocator; |
18 | 18 |
import org.gvsig.fmap.dal.DataManager; |
19 |
import org.gvsig.fmap.dal.DataParameters; |
|
19 | 20 |
import org.gvsig.fmap.dal.DataServerExplorer; |
20 | 21 |
import org.gvsig.fmap.dal.DataServerExplorerParameters; |
21 | 22 |
import org.gvsig.fmap.dal.DataStoreParameters; |
23 |
import org.gvsig.fmap.dal.NewDataStoreParameters; |
|
24 |
import org.gvsig.fmap.dal.exception.DataException; |
|
22 | 25 |
import org.gvsig.fmap.dal.exception.InitializeException; |
23 | 26 |
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException; |
24 | 27 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
28 |
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters; |
|
25 | 29 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.swing.DynObjectEditor; |
26 | 30 |
import org.gvsig.sextante.app.extension.core.OutputParameters; |
27 |
import org.gvsig.tools.dynobject.DynObject; |
|
28 | 31 |
|
29 | 32 |
import es.unex.sextante.core.GeoAlgorithm; |
30 | 33 |
import es.unex.sextante.core.Sextante; |
... | ... | |
40 | 43 |
private JComboBox cProvider = null; |
41 | 44 |
private JComboBox cExplorer = null; |
42 | 45 |
private JButton button = null; |
43 |
private ArrayList<DataStoreParameters> listProvider = new ArrayList<DataStoreParameters>(); |
|
44 | 46 |
private ArrayList<DataServerExplorer> listExplorer = new ArrayList<DataServerExplorer>(); |
45 | 47 |
private DynObjectEditor editor = null; |
46 | 48 |
|
47 | 49 |
public AlgorithmOutputPanel() { |
48 | 50 |
super(); |
49 | 51 |
initGUI(); |
50 |
loadProviderList(getCProvider(), listProvider);
|
|
51 |
loadExplorerList(getCExplorer(), listExplorer);
|
|
52 |
loadProviderList(getCProvider()); |
|
53 |
loadExplorerList(getCExplorer()); |
|
52 | 54 |
} |
53 | 55 |
|
54 | 56 |
public void init(GeoAlgorithm algorithm) { |
... | ... | |
66 | 68 |
gbc.gridx = 0; |
67 | 69 |
gbc.gridy = 0; |
68 | 70 |
gbc.insets = new Insets(0, 2, 0, 0); |
69 |
this.add(getCProvider(), gbc);
|
|
71 |
this.add(getCExplorer(), gbc);
|
|
70 | 72 |
|
71 | 73 |
gbc.gridx = 1; |
72 |
this.add(getCExplorer(), gbc); |
|
74 |
this.add(getCProvider(), gbc); |
Also available in: Unified diff