[Chameleon] LayerLabels Widget + Postgis Layer
Bart van den Eijnden
BEN at Syncera-ITSolutions.NL
Tue Sep 6 07:42:13 EDT 2005
Hi,
this is correct, I don't know how the rest of the Chameleon code deals with this but I'll check. This is probably also true for OGR datasources.
I have opened up a bug report and will try to fix this soon.
http://bugzilla.maptools.org/show_bug.cgi?id=1138
Thanks for reportiing the issue.
Best regards,
Bart
Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG DELFT
tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> Geodata Analysis <info at e-geodata.gr> 09/06/05 1:23 pm >>>
Hi list,
I was trying to use the the LayerLabels widget to add labels to a
postgis layer and i was getting the following error :*
Warning*: array_keys(): The first argument should be an array in
*C:\ms4w\apps\chameleon\htdocs\widgets\LayerLabels\LayerLabelsPopup.phtml*
on line *178
*The problem was at line 179 of
C:\ms4w\apps\chameleon\htdocs\widgets\LayerAttributes.php
$oShape = $oLayer->getShape($nTile, 0 );
I changed that to: $oShape = $oLayer->getShape($nTile, 1 ); and
everything works fine now,
It seems that the index begins from 1 with postgis layers. Is that correct ?
_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon
More information about the Chameleon
mailing list