The LAYER_INFO from an ArcIMS GET_SERVICE_INFO request. More...
#include <soa/arcimsserviceinfo.h>
Public Types | |
| enum | TYPE { TYPE_PointFeature, TYPE_LineFeature, TYPE_PolygonFeature, TYPE_Image, TYPE_Acetate } |
Public Member Functions | |
| LAYER () | |
| ~LAYER () | |
| ERRVALUE | ComputeSubRegion (const SPATREF::COORDREFSYS &CoordRefSys, SUBREGION2D &SubRegion) const |
| const DRECT2D & | GetBoundingBox () const |
| const MISTRING & | GetID () const |
| double | GetMaxScale () const |
| double | GetMaxScaleDenominator () const |
| double | GetMinScale () const |
| double | GetMinScaleDenominator () const |
| const MISTRING & | GetName () const |
| TYPE | GetType () const |
| bool | HasMaxScale () const |
| bool | HasMinScale () const |
| bool | IsVisible () const |
| ERRVALUE | ParseXML (SERVICEINFO *pParent, const XMLNODE *xmlnode) |
The LAYER_INFO from an ArcIMS GET_SERVICE_INFO request.
| SOA::ARCIMS::LAYER::LAYER | ( | ) |
Constructor.
| SOA::ARCIMS::LAYER::~LAYER | ( | ) |
Destructor.
| ERRVALUE SOA::ARCIMS::LAYER::ComputeSubRegion | ( | const SPATREF::COORDREFSYS & | CoordRefSys, | |
| SUBREGION2D & | SubRegion | |||
| ) | const |
Compute subregion for this layer in specified CRS.
| const DRECT2D& SOA::ARCIMS::LAYER::GetBoundingBox | ( | ) | const |
Get the bounding box for the layer.
The bounding box is in the CRS of the service.
| const MISTRING& SOA::ARCIMS::LAYER::GetID | ( | ) | const [inline] |
Get Layer ID.
The Layer ID is not meant to be shown to the user.
| double SOA::ARCIMS::LAYER::GetMaxScale | ( | ) | const [inline] |
Get maximum scale in meters/pixel.
ArcIMS gives scales in different units depending on the CRS used. For this method, it's always converted to meters/pixel.
| double SOA::ARCIMS::LAYER::GetMaxScaleDenominator | ( | ) | const |
Get the maximum scale denominator.
| double SOA::ARCIMS::LAYER::GetMinScale | ( | ) | const [inline] |
Get minimum scale in meters/pixel ArcIMS gives scales in different units depending on the CRS used.
For this method, it's always converted to meters/pixel.
| double SOA::ARCIMS::LAYER::GetMinScaleDenominator | ( | ) | const |
Get the minimum scale denominator.
| const MISTRING& SOA::ARCIMS::LAYER::GetName | ( | ) | const [inline] |
Get Name.
| TYPE SOA::ARCIMS::LAYER::GetType | ( | ) | const [inline] |
Get the layer type.
| bool SOA::ARCIMS::LAYER::HasMaxScale | ( | ) | const [inline] |
Return whether or not the layer has a MaxScale.
| bool SOA::ARCIMS::LAYER::HasMinScale | ( | ) | const [inline] |
Return whether or not the layer has a MinScale.
| bool SOA::ARCIMS::LAYER::IsVisible | ( | ) | const [inline] |
Return the default visibillity of the layer.
| ERRVALUE SOA::ARCIMS::LAYER::ParseXML | ( | SERVICEINFO * | pParent, | |
| const XMLNODE * | xmlnode | |||
| ) |
Parse values from XMLNODE.
1.6.1