Reduced the geometries due to https://support.d4science.org/issues/13074#note-6
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@179004 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3a3ecfa66a
commit
9e215c82ae
|
@ -172,9 +172,17 @@ public class GeoJsonAreaSelectionDialog extends AreaSelectionDialog{
|
|||
*/
|
||||
public static ListBox getGeometries() {
|
||||
ListBox geometries = new ListBox();
|
||||
for (GeometryType geometry : GeometryType.values()) {
|
||||
geometries.addItem(geometry.name(),geometry.name());
|
||||
}
|
||||
|
||||
//see Feature #13074
|
||||
// for (GeometryType geometry : GeometryType.values()) {
|
||||
// geometries.addItem(geometry.name(),geometry.name());
|
||||
// }
|
||||
|
||||
geometries.addItem(GeometryType.Point.name(), GeometryType.Point.name());
|
||||
geometries.addItem(GeometryType.LineString.name(), GeometryType.LineString.name());
|
||||
geometries.addItem(GeometryType.Triangle.name(), GeometryType.Triangle.name());
|
||||
geometries.addItem(GeometryType.Square.name(), GeometryType.Square.name());
|
||||
geometries.addItem(GeometryType.Pentagon.name(), GeometryType.Pentagon.name());
|
||||
return geometries;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue