Class EPSGName
java.lang.Object
org.apache.sis.internal.referencing.provider.EPSGName
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 Summary
Modifier and TypeMethodDescriptionstatic NamedIdentifierCreates an EPSG name or alias.static org.opengis.metadata.Identifieridentifier(int code) Creates an EPSG identifier.properties(int identifier, String name, String nameOGC) Creates a map of properties to be given to the construction of an operation method.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.
-
Method Details
-
create
Creates an EPSG name or alias.- Parameters:
code- the EPSG name to be returned byImmutableIdentifier.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
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, ornullif 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, ornullif none.- Returns:
- a map of properties for building the operation method.
-