All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opengis.feature.type.GeometryDescriptor Maven / Gradle / Ivy

/*
 *    GeoTools - The Open Source Java GIS Toolkit
 *    http://geotools.org
 *
 *    (C) 2011, Open Source Geospatial Foundation (OSGeo)
 *    (C) 2004-2007 Open Geospatial Consortium Inc.
 *
 *    All Rights Reserved. http://www.opengis.org/legal/
 */
package org.opengis.feature.type;

import org.opengis.referencing.crs.CoordinateReferenceSystem;

/**
 * Describes an instance of a geometry attribute.
 *
 * 

This interface adds no additional methods, the point of it is convenience to type narrow * {@link #getType()} to {@link GeometryType}. * * @author Justin Deoliveira, The Open Planning Project */ public interface GeometryDescriptor extends AttributeDescriptor { /** * Override of {@link AttributeDescriptor#getType()} which type narrows to {@link GeometryType}. */ GeometryType getType(); /** * The coordinate reference system in which these geometries are defined. * *

This method may return null, but this should only occur in cases where the * actual crs is not known. A common case is when a shapefile does not have an accompanied .prj * file. */ CoordinateReferenceSystem getCoordinateReferenceSystem(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy