java.lang.Object
org.apache.sis.internal.referencing.provider.EPSGName

public final class EPSGName extends Object
Placeholder for the name of an operation method or a parameter defined in the EPSG database. We use this placeholder for remembering where to manage IdentifiedObject version. Future implementation may also be able to read the remarks from the database if requested.
Since:
0.6
Version:
0.6
Author:
Martin Desruisseaux (Geomatys)
  • Method Details

    • create

      public static NamedIdentifier create(String code)
      Creates an EPSG name or alias.
      Parameters:
      code - the EPSG name to be returned by ImmutableIdentifier.getCode().
      Returns:
      an EPSG name or alias for the given string.
    • identifier

      public static org.opengis.metadata.Identifier identifier(int code)
      Creates an EPSG identifier.
      Parameters:
      code - the EPSG code.
      Returns:
      the EPSG identifier for the given numerical value.
    • properties

      public static Map<String,Object> properties(int identifier, String name, String nameOGC)
      Creates a map of properties to be given to the construction of an operation method. The returned map is modifiable - callers can add or remove entries after this method call.
      Parameters:
      identifier - the EPSG code.
      name - the EPSG name.
      nameOGC - the OGC name, or null if none.
      Returns:
      a map of properties for building the operation method.
    • properties

      public static Map<String,Object> properties(int identifier, String name, org.opengis.util.GenericName nameOGC)
      Creates a map of properties to be given to the construction of an operation method. The returned map is modifiable - callers can add or remove entries after this method call.
      Parameters:
      identifier - the EPSG code.
      name - the EPSG name.
      nameOGC - the OGC name, or null if none.
      Returns:
      a map of properties for building the operation method.