Package s3 :: Module s3validators :: Class IS_LAT
[frames] | no frames]

Class IS_LAT

source code

gluon.validators.Validator --+
                             |
                            IS_LAT


example:

INPUT(_type="text", _name="name", requires=IS_LAT())

Latitude has to be in decimal degrees between -90 & 90
- we attempt to convert DMS format into decimal degrees

Instance Methods
 
__init__(self, error_message="Latitude/Northing should be between -90 & 90!") source code
 
__call__(self, value) source code
Method Details

__init__(self, error_message="Latitude/Northing should be between -90 & 90!")
(Constructor)

source code 

__call__(self, value)
(Call operator)

source code