# Uses of Class
com.microsoft.sqlserver.jdbc.Geography

Packages that use Geography
Package | Description
--- | ---
com.microsoft.sqlserver.jdbc |

## Uses of Geography in com.microsoft.sqlserver.jdbc

Methods in com.microsoft.sqlserver.jdbc that return Geography
Modifier and Type | Method | Description
--- | --- | ---
`static Geography` | Geography.`deserialize​(byte[] clr)` | Constructor for a Geography instance from an internal SQL Server format for spatial data.
`Geography` | ISQLServerResultSet.`getGeography​(int columnIndex)` | Returns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geography object in the Java programming language.
`Geography` | ISQLServerResultSet.`getGeography​(java.lang.String columnName)` | Returns the value of the designated column in the current row of this ResultSet object as a com.microsoft.sqlserver.jdbc.Geography object in the Java programming language.
`Geography` | SQLServerResultSet.`getGeography​(int columnIndex)` |
`Geography` | SQLServerResultSet.`getGeography​(java.lang.String columnName)` |
`static Geography` | Geography.`parse​(java.lang.String wkt)` | Constructor for a Geography instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation.
`static Geography` | Geography.`point​(double lat, double lon, int srid)` | Constructor for a Geography instance that represents a Point instance from its latitude and longitude values and a Spatial Reference Identifier.
`static Geography` | Geography.`STGeomFromText​(java.lang.String wkt, int srid)` | Constructor for a Geography instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.
`static Geography` | Geography.`STGeomFromWKB​(byte[] wkb)` | Constructor for a Geography instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.

Methods in com.microsoft.sqlserver.jdbc with parameters of type Geography
Modifier and Type | Method | Description
--- | --- | ---
`void` | ISQLServerPreparedStatement.`setGeography​(int parameterIndex, Geography x)` | Sets the designated parameter to the given `microsoft.sql.Geography` Class object.
`void` | SQLServerPreparedStatement.`setGeography​(int n, Geography x)` |