DatabaseQueryDataSourceBuilder.UseExternalSrsFromQuery
Contents
[
Hide
]DatabaseQueryDataSourceBuilder.UseExternalSrsFromQuery method
Allows you to configure the data source to use third-party spatial reference system data, bypassing the pre-installed data in the Aspose.GIS library.
public DatabaseExternalSrsSettingsBuilder UseExternalSrsFromQuery(string srsQuery)
Parameter | Type | Description |
---|---|---|
srsQuery | String | Query to retrieve information about additional spatial coordinate systems used in the main query to retrieve features. |
Return Value
DatabaseExternalSrsSettingsBuilder
Remarks
It is important to know that in case of absence in the list of spatial reference systems extracted in advance from the database but used in the main query, the library will try to use the built-in srs. The query example: SELECT auth_srid, srtext FROM spatial_ref_sys WHERE srid = 4284
See Also
- class DatabaseExternalSrsSettingsBuilder
- class DatabaseQueryDataSourceBuilder
- namespace Aspose.Gis.Formats.Database
- assembly Aspose.GIS