-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved; documentation in TestTools. Converted; geometric fixtures t…
…o JML format.
- Loading branch information
Showing
15 changed files
with
359 additions
and
48 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<JCSDataFile xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" > | ||
<JCSGMLInputTemplate> | ||
<CollectionElement>featureCollection</CollectionElement> | ||
<FeatureElement>feature</FeatureElement> | ||
<GeometryElement>geometry</GeometryElement> | ||
<ColumnDefinitions> | ||
<column> | ||
<name>LABEL</name> | ||
<type>STRING</type> | ||
<valueElement elementName="property" attributeName="name" attributeValue="LABEL"/> | ||
<valueLocation position="body"/> | ||
</column> | ||
</ColumnDefinitions> | ||
</JCSGMLInputTemplate> | ||
|
||
<featureCollection> | ||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>220.0,900.0 | ||
220.0,960.0 | ||
280.0,960.0 | ||
280.0,900.0 | ||
220.0,900.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
<property name="LABEL">A</property> | ||
</feature> | ||
|
||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>260.0,860.0 | ||
260.0,920.0 | ||
320.0,920.0 | ||
320.0,860.0 | ||
260.0,860.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
<property name="LABEL">A</property> | ||
</feature> | ||
|
||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>360.0,880.0 | ||
360.0,940.0 | ||
420.0,940.0 | ||
420.0,880.0 | ||
360.0,880.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
<property name="LABEL">B</property> | ||
</feature> | ||
|
||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>420.0,880.0 | ||
420.0,940.0 | ||
480.0,940.0 | ||
480.0,880.0 | ||
420.0,880.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
<property name="LABEL">B</property> | ||
</feature> | ||
|
||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>260.0,780.0 | ||
260.0,840.0 | ||
320.0,840.0 | ||
320.0,780.0 | ||
260.0,780.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
<property name="LABEL">A</property> | ||
</feature> | ||
|
||
</featureCollection> | ||
</JCSDataFile> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<JCSDataFile xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" > | ||
<JCSGMLInputTemplate> | ||
<CollectionElement>featureCollection</CollectionElement> | ||
<FeatureElement>feature</FeatureElement> | ||
<GeometryElement>geometry</GeometryElement> | ||
<ColumnDefinitions> | ||
</ColumnDefinitions> | ||
</JCSGMLInputTemplate> | ||
|
||
<featureCollection> | ||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>220.0,600.0 | ||
220.0,760.0 | ||
380.0,760.0 | ||
440.0,760.0 | ||
440.0,600.0 | ||
220.0,600.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
<gml:innerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>380.0,760.0 | ||
280.0,740.0 | ||
280.0,640.0 | ||
380.0,640.0 | ||
380.0,760.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:innerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
</feature> | ||
|
||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>220.0,580.0 | ||
380.0,580.0 | ||
280.0,560.0 | ||
280.0,460.0 | ||
380.0,460.0 | ||
380.0,580.0 | ||
440.0,580.0 | ||
440.0,420.0 | ||
220.0,420.0 | ||
220.0,580.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
</feature> | ||
|
||
</featureCollection> | ||
</JCSDataFile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<JCSDataFile xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" > | ||
<JCSGMLInputTemplate> | ||
<CollectionElement>featureCollection</CollectionElement> | ||
<FeatureElement>feature</FeatureElement> | ||
<GeometryElement>geometry</GeometryElement> | ||
<ColumnDefinitions> | ||
</ColumnDefinitions> | ||
</JCSGMLInputTemplate> | ||
|
||
<featureCollection> | ||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>220.0,600.0 | ||
220.0,760.0 | ||
440.0,760.0 | ||
440.0,600.0 | ||
220.0,600.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
</feature> | ||
|
||
<feature> | ||
<geometry> | ||
<gml:Polygon> | ||
<gml:outerBoundaryIs> | ||
<gml:LinearRing> | ||
<gml:coordinates>280.0,740.0 | ||
280.0,640.0 | ||
380.0,640.0 | ||
380.0,760.0 | ||
280.0,740.0 </gml:coordinates> | ||
</gml:LinearRing> | ||
</gml:outerBoundaryIs> | ||
</gml:Polygon> | ||
</geometry> | ||
</feature> | ||
|
||
</featureCollection> | ||
</JCSDataFile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* The Unified Mapping Platform (JUMP) is an extensible, interactive GUI for | ||
* visualizing and manipulating spatial features with geometry and attributes. | ||
* Copyright (C) 2012 The JUMP/OpenJUMP contributors | ||
* | ||
* This program is free software: you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation, either version 2 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along | ||
* with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
/** | ||
* Plugins from the tools menu. | ||
*/ | ||
package org.openjump.tools.plugin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.