|
dmBridge PHP API
|
Encapsulates a "spatially enabled" point DMObject. To "spatialize" a given DMObject, call spatializeObject().
Note that this class neither extends nor composes DMObject. Instead, its methods will be "added" to those in the DMObject class when the addAssociatedModel() method is called on the DMObject instance, with an instance of this class supplied as a parameter. (See the user's manual for an explanation of how dmBridge module models work.)
Definition at line 22 of file UNLVSpatialObjectFactory.php.
| static UNLVSpatialObjectFactory::spatializeObject | ( | DMObject $ | obj | ) | [static] |
"Spatializes" the given object by associating a UNLVSpatialObject instance with it, backed by either the local data store or the given object's DCMI Point/Box data (which takes precedence).
If no data can be found, no UNLVSpatialObject will be associated with it.
| DMObject | obj |
| float | lat_n North latitude, returned by reference |
| float | lat_s South latitude, returned by reference |
| float | long_e East longitude, returned by reference |
| float | long_w West longitude, returned by reference |
Definition at line 37 of file UNLVSpatialObjectFactory.php.
Referenced by UNLVSpatialTemplateHelper::getSpatialObject(), UNLVSpatialTemplateHelper::getSpatialObjects(), and UNLVSpatialIndexer::reindex().