I will see for the final 3.0.0 to include buffering.
armin
> Hi,
>
> this is a problem in ver. 2 and 3 with point layers:
>
> when I open the map with
> &zoomLayer=my_point_layer&[EMAIL PROTECTED]@[EMAIL PROTECTED]@0
>
> The server issue a
> Fatal error: <i>[MapServer Error]: setExtent(): Given map extent is
> invalid.
> Check that it is in the form: minx, miny, maxx, maxy
>
> That's because the extent is set to the point itself (that obviously has
> no
> dimension).
>
> I thought that the pointBuffer was applied here too, but it isn't.
>
> Are there any workaround or maybe a patch in initmap.php applying
> pointBuffer
> to the extent is a better solution in this case?
>
> // Apply buffer (in units of features)
> //$buffer = 20000; // <<<<<<<<<<<<<<<<<<<<<< ADAPT VALUE
> <<<<<<<<<<<<<<<<<
> // ABP: set buffer for points
> if ($this->qLayerType == 0) {
> $buffer = $_SESSION["pointBuffer"];
> } else {
> $buffer = 0.05 * ((($mExtMaxx - $mExtMinx) + ($mExtMaxy -
> $mExtMiny)) / 2);
> }
>
>
> --
> Alessandro Pasotti
> itOpen - "Open Solutions for the Net Age"
> w3: www.itopen.it
> Linux User# 167502
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users