public class CoordinateSystem extends Object
Constructor and Description |
---|
CoordinateSystem() |
Modifier and Type | Method and Description |
---|---|
static CoordinateSystem |
create()
Creates a new instance for CoordinateSystem, with default values.
|
boolean |
equals(Object o)
Checks equality between two CoordinateSystems
|
Map<String,String> |
getProperties()
Retrieve CoordinateSystem properties
|
String |
getType()
Retrieve CoordinateSystem type
|
int |
hashCode()
Returns hash code for Coordinate System
|
boolean |
isValid()
Ensures that the values are valid as "crs" field in the GeoPoint for the Azure Cognitive Search service:
\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"EPSG:4326\"}}
|
CoordinateSystem |
setProperties(Map<String,String> properties)
Set CoordinateSystem properties
|
CoordinateSystem |
setType(String type)
Set CoordinateSystem type
|
String |
toString() |
public static CoordinateSystem create()
public boolean isValid()
public String toString()
public boolean equals(Object o)
public int hashCode()
public String getType()
public CoordinateSystem setType(String type)
type
- Stringpublic Map<String,String> getProperties()
public CoordinateSystem setProperties(Map<String,String> properties)
properties
- mapCopyright © 2020 Microsoft Corporation. All rights reserved.