<div dir="ltr">Hi Thomas, <div><br></div><div>Thanks for the swift response!</div><div><br></div><div>Ok cool, I shall find out if funding may be available for fix, will contact Tamas if there is.</div><div><br></div><div>Cheers</div><div><br></div><div>Andrew</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 April 2016 at 11:13, tbonfort [via OSGeo.org] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5261850&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">

        <div dir="ltr">Andy: It's a known issue: <a href="https://github.com/mapserver/mapserver/issues/5205" rel="nofollow" link="external" target="_blank">https://github.com/mapserver/mapserver/issues/5205</a>, that requires some non trivial amount of work to fix. Funding may help to get this fixed faster, you could contact Tamas if you wanted to go in that direction.<div>Regards,</div><div>Thomas<br><div><br></div></div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 19 April 2016 at 12:07, AndyC79 <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=5261840&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br></div></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div><div class="h5">Hi,<br>
<br>
Upgraded to MS 7 from 6.4.1 recently - getfeatinfo requests that used to<br>
work against clustered layers, now return 500s with Apache logs detailing:<br>
<br>
End of script output before headers: mapserv<br>
<br>
Which as far as I understand means the mapserv process crashed?<br>
<br>
request e.g:<br>
<br>
http://<server>/cgi-bin/mapserv?map=/path/to/mapfile.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&FORMAT=png8&TRANSPARENT=true&QUERY_LAYERS=TEST&LAYERS=TEST&TILED=true&INFO_FORMAT=application%2Fjson&X=50&Y=50&SRS=EPSG%3A3031&STYLES=&WIDTH=101&HEIGHT=101&BBOX=-925990.5180299012%2C195459.73995354102%2C-432454.67464720976%2C688995.5833362325<br>
<br>
I tried also using PHP mapscript to assemble a point query against the<br>
cluster layer, however that also does not seem to work in MS 7. It fails at<br>
the layerObj->queryByPoint method.<br>
<br>
Makes me think there's either something fundamentally problematic with<br>
querying CLUSTER layers in MS 7. Or perhaps the way I've had my mapfile<br>
configured is now causing an issue.<br>
<br>
** Can anyone confirm that getfeatureinfo / php mapscript queryByPoint is<br>
working against CLUSTER layers in MS 7 ? **<br>
<br>
The CLUSTERs draw fine. Just the querying that seems an issue.<br>
<br>
Below extract from mapfile. I can provide further details if necessary.<br>
<br>
<br>
        LAYER<br>
                NAME 'rsr_sites'<br>
                TEMPLATE "../templates/rsr_sites_info_template.js"<br>
                TYPE POINT<br>
                INCLUDE "includes/connection.inc"<br>
                DATA "the_geom FROM (SELECT gid, the_geom, id AS site_id, url, lon, lat<br>
FROM data.rsr_sites) AS query USING UNIQUE gid USING srid=3031"<br>
                INCLUDE 'includes/proj_3031.inc'<br>
                METADATA<br>
                        "ows_name" "rsr_sites"<br>
                        "ows_title"     "RSR"<br>
                        INCLUDE 'includes/default_layer_metadata.inc'<br>
                END<br>
                TOLERANCE 8<br>
                CLUSTER<br>
                                MAXDISTANCE 22<br>
                                REGION "ellipse"<br>
                END<br>
                PROCESSING 'ITEMS=site_id,url,lon,lat'<br>
                PROCESSING "CLUSTER_GET_ALL_SHAPES=ON"<br>
                LABELITEM "Cluster_FeatureCount"<br>
                CLASSITEM "Cluster_FeatureCount"<br>
                CLASS<br>
                        NAME "Multiple Sites - proportional symbol"<br>
                        EXPRESSION ("[Cluster_FeatureCount]" != "1")<br>
                        STYLE<br>
                                MINSIZE 25<br>
                                MAXSIZE 50<br>
                                SIZE [Cluster_FeatureCount]<br>
                                SYMBOL "Circle"<br>
                                COLOR '#885e49'<br>
                        END<br>
                        LABEL<br>
                                FONT ATTriumMou-Cond<br>
                                TYPE TRUETYPE<br>
                                SIZE 7<br>
                                MAXSIZE 8<br>
                                MINSIZE 7<br>
                                COLOR 255 255 255<br>
                                ALIGN CENTER<br>
                                PRIORITY 10<br>
                                PARTIALS TRUE<br>
                                FORCE TRUE<br>
                                POSITION cc<br>
                         END<br>
                END<br>
                CLASS<br>
                        NAME 'Single Site'<br>
                        EXPRESSION '1'<br>
                        STYLE<br>
                                SYMBOL 'Square'<br>
                                SIZE 8<br>
                                MINSIZE 8<br>
                                MAXSIZE 8<br>
                                COLOR '#953d38'<br>
                        END<br>
                END<br>
        END<br>
<br>
Cheers<br>
<br>
Andrew<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Mapserver-7-CLUSTER-layer-getfeatureinfo-php-mapscript-queryByPoint-broken-tp5261838.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1560.x6.nabble.com/Mapserver-7-CLUSTER-layer-getfeatureinfo-php-mapscript-queryByPoint-broken-tp5261838.html</a><br>
Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
</div></div><a href="http:///user/SendEmail.jtp?type=node&node=5261840&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div><br></div>
<br>_______________________________________________
<br>mapserver-users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=5261840&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Mapserver-7-CLUSTER-layer-getfeatureinfo-php-mapscript-queryByPoint-broken-tp5261838p5261840.html" target="_blank" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Mapserver-7-CLUSTER-layer-getfeatureinfo-php-mapscript-queryByPoint-broken-tp5261838p5261840.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Mapserver 7 - CLUSTER layer getfeatureinfo / php mapscript queryByPoint broken?, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Mapserver-7-CLUSTER-layer-getfeatureinfo-php-mapscript-queryByPoint-broken-tp5261838p5261850.html">Re: Mapserver 7 - CLUSTER layer getfeatureinfo / php mapscript queryByPoint broken?</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html">Mapserver - User mailing list archive</a> at Nabble.com.<br/>