[mapserver-commits] r8391 - in trunk/docs/mapscript: . php
svn at osgeo.org
svn at osgeo.org
Tue Jan 6 13:27:51 EST 2009
Author: aboudreault
Date: 2009-01-06 13:27:50 -0500 (Tue, 06 Jan 2009)
New Revision: 8391
Modified:
trunk/docs/mapscript/mapscript.txt
trunk/docs/mapscript/php/index.txt
Log:
Update the projectionObj in Mapscript documentation.
Modified: trunk/docs/mapscript/mapscript.txt
===================================================================
--- trunk/docs/mapscript/mapscript.txt 2009-01-06 16:50:51 UTC (rev 8390)
+++ trunk/docs/mapscript/mapscript.txt 2009-01-06 18:27:50 UTC (rev 8391)
@@ -2112,6 +2112,9 @@
Create new instance of projectionObj. Input parameter *proj4* is a
PROJ.4 definition string such as "init=EPSG:4269".
+getUnits() : int
+ Returns the units of a projection object. Returns -1 on error.
+
------------------------------------------------------------------------------
rectObj
------------------------------------------------------------------------------
Modified: trunk/docs/mapscript/php/index.txt
===================================================================
--- trunk/docs/mapscript/php/index.txt 2009-01-06 16:50:51 UTC (rev 8390)
+++ trunk/docs/mapscript/php/index.txt 2009-01-06 18:27:50 UTC (rev 8391)
@@ -230,6 +230,7 @@
string fontsetfilename (read-only, set by setFontSet())
labelcacheObj labelcache (no members. Used only to be able to free the
the label cache (ex : map->labelcache->free())
+projectionObj projection
int transparent (deprecated, use outputFormatObj)
int interlace (deprecated, use outputFormatObj)
int imagetype (deprecated, use outputFormatObj)
@@ -696,6 +697,7 @@
string requires
string labelrequires
hashTableObj metadata
+projectionObj projection
=============== ====================================================================
@@ -1789,7 +1791,12 @@
$poPoint->setXY(-92.0, 62.0);
$poPoint->project($projInObj, $projOutObj);
+Methods
+...............................................................................
+int getUnits()
+ Returns the units of a projection object. Returns -1 on error.
+
ScalebarObj Class
------------------
More information about the mapserver-commits
mailing list