// Copyright 2005, 2006 - Morten Nielsen (www.iter.dk)
//
// This file is part of SharpMap.
// SharpMap is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// SharpMap 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 Lesser General Public License for more details.
// You should have received a copy of the GNU Lesser General Public License
// along with SharpMap; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
namespace GeoAPI.CoordinateSystems
{
///
/// The ISpatialReferenceInfo interface defines the standard
/// information stored with spatial reference objects. This
/// interface is reused for many of the spatial reference
/// objects in the system.
///
public interface IInfo
{
///
/// Gets or sets the name of the object.
///
string Name { get; }
///
/// Gets or sets the authority name for this object, e.g., “POSC”,
/// is this is a standard object with an authority specific
/// identity code. Returns “CUSTOM” if this is a custom object.
///
string Authority { get; }
///
/// Gets or sets the authority specific identification code of the object
///
long AuthorityCode { get; }
///
/// Gets or sets the alias of the object.
///
string Alias { get; }
///
/// Gets or sets the abbreviation of the object.
///
string Abbreviation { get; }
///
/// Gets or sets the provider-supplied remarks for the object.
///
string Remarks { get; }
///
/// Returns the Well-known text for this spatial reference object
/// as defined in the simple features specification.
///
string WKT { get; }
///
/// Gets an XML representation of this object.
///
string XML { get; }
///
/// PROJ.4 representation (if any).
///
string PROJ4 { get; }
///
/// Checks whether the values of this instance is equal to the values of another instance.
/// Only parameters used for coordinate system are used for comparison.
/// Name, abbreviation, authority, alias and remarks are ignored in the comparison.
///
///
/// True if equal
bool EqualParams(object obj);
}
}