[mapserver-commits] r11143 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Mar 10 17:10:03 EST 2011
Author: jmckenna
Date: 2011-03-10 14:10:03 -0800 (Thu, 10 Mar 2011)
New Revision: 11143
Modified:
trunk/mapserver/MIGRATION_GUIDE.TXT
Log:
try to use trac formatting, for nicer display of examples
Modified: trunk/mapserver/MIGRATION_GUIDE.TXT
===================================================================
--- trunk/mapserver/MIGRATION_GUIDE.TXT 2011-03-10 18:44:54 UTC (rev 11142)
+++ trunk/mapserver/MIGRATION_GUIDE.TXT 2011-03-10 22:10:03 UTC (rev 11143)
@@ -47,6 +47,7 @@
As a result the parameters BACKGROUNDCOLOR, BACKGROUNDSHADOWCOLOR, BACKGROUNDSHADOWSIZE
are no more. To draw a label "box" in 6.0 you'd do:
+{{{
LABEL
...
STYLE # a shadow
@@ -60,6 +61,7 @@
OUTLINECOLOR 0 0 0
END
END
+}}}
More verbose but *much* more flexible in the long run.
@@ -167,6 +169,7 @@
refactored getShape method to access layer shapes. That method takes a resultObj and returns
a shapeObj. Typical use would be (in Perl):
+{{{
$layer->queryByRect($map, $map->{extent}); # layer is still open
for($i=0; $i<$layer->getNumResults(); $i++) {
@@ -175,6 +178,7 @@
}
$layer->close();
+}}}
A resultObj encapsulates the data used to manage a result set.
More information about the mapserver-commits
mailing list