<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I think I definitely need help with this :)<br>
    <br>
    I did some cleaning to reduce the interface to a very basic example.
    The "box" button was used to activate selection with jbox (either
    for zooming or nquerying) -- without jbox anymore it generates a JS
    error of course.<br>
    <br>
    There is only 1 layer here, with 2 objects. They are represented as
    points in the default view and after zooming in once. Zoom in once
    more and they will turn to 2 overlapping polygons (nquery possible
    on the overlapping part then).<br>
    <br>
    I uploaded the files here: <a class="moz-txt-link-freetext" href="https://dl.ipgp.fr/60lwa2p">https://dl.ipgp.fr/60lwa2p</a><br>
    <br>
    Tested with the last mapserver version available from the ubuntugis
    stable repository:<br>
    MapServer version 7.0.4 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML
    SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO
    SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI
    SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
    SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
    SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG
    INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<br>
    <br>
    And the URL I use to access it (replace [host] with your server's):<br>
http://[host]/cgi-bin/mapserv?map=/var/www/html/test/test.map&mode=browse&program=/cgi-bin/mapserv&map_web=TEMPLATE+test.html<br>
    <br>
    If you have any advice about a simple way to do the same as jbox
    did, i.e. nquerying by drawing a box, it would be great! Just which
    direction to take and I hope I can manage to do it then.<br>
    <br>
    Thanks!<br>
    Arthur<br>
    <br>
    <div class="moz-cite-prefix">Le 10/01/2019 à 20:23, Lime, Steve D
      (MNIT) a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:DM5PR0901MB2310530EE41FCAFAAFB3B034DA840@DM5PR0901MB2310.namprd09.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">It’s
            certainly possible to execute native MapServer queries via
            OpenLayers or Leaflet. I originally wrote jbox (and dbox, a
            pure JavaScript implementation) but abandoned those long ago
            for OpenLayers and Leaflet. I’d have to see your app to
            comment on appropriateness of each.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">--Steve<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
                mapserver-users
                [<a class="moz-txt-link-freetext" href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</a>]
                <b>On Behalf Of </b>Arthur Delorme<br>
                <b>Sent:</b> Thursday, January 10, 2019 8:44 AM<br>
                <b>To:</b> mapserver-users
                <a class="moz-txt-link-rfc2396E" href="mailto:mapserver-users@lists.osgeo.org"><mapserver-users@lists.osgeo.org></a><br>
                <b>Subject:</b> Re: [mapserver-users] mapserver queries
                and java / javascript<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Thanks for
          your answer Yves.<br>
          <br>
          I didn't know about lealet, which seems interesting: I will
          probably give it a try, for another application at least! And
          I know about OpenLayers. But if I'm not wrong, this implies to
          develop a new interface, where I would prefer to keep my
          MapServer app.<br>
          <br>
          Besides, do they allow to make queries like MapServer does?
          The way MapServer does is perfect for my interface: select
          multiple georeferenced objects and browse through the results
          to download the ones of interest.<br>
          <br>
          Thanks again<br>
          Arthur<o:p></o:p></p>
        <div>
          <p class="MsoNormal">Le 10/01/2019 à 15:20, Yves Jacolin a
            écrit :<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <p class="MsoNormal">Hello Arthur<o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">You can find such features in
                      two main projects:<o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">* OpenLayers: <a
                        href="http://www.openlayers.org/"
                        moz-do-not-send="true">http://www.openlayers.org/</a><o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">* leaflet: <a
                        href="https://leafletjs.com/"
                        moz-do-not-send="true">https://leafletjs.com/</a><o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">Regards,<o:p></o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><o:p> </o:p></p>
                  </div>
                  <div>
                    <p class="MsoNormal">Y.<o:p></o:p></p>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <div>
              <p class="MsoNormal">Le jeu. 10 janv. 2019 à 15:03, Arthur
                Delorme <<a href="mailto:delorme@ipgp.fr"
                  moz-do-not-send="true">delorme@ipgp.fr</a>> a
                écrit :<o:p></o:p></p>
            </div>
            <blockquote style="border:none;border-left:solid #CCCCCC
              1.0pt;padding:0in 0in 0in
              6.0pt;margin-left:4.8pt;margin-right:0in">
              <p class="MsoNormal">Hello,<br>
                <br>
                Years ago there was a Java code called JBox, which were
                very nice to <br>
                make multiple queries by drawing a box on the map (which
                you could also <br>
                use in browse mode to zoom).<br>
                <br>
                With the restrictions on Java in modern web browsers, I
                would like to <br>
                replace JBox with something else, maybe some Javascript,
                but I can't <br>
                find help about this by myself, so I come to you!<br>
                <br>
                I'm not super familiar with JS, even though I can write
                some stuff. Do <br>
                you know about some examples / libraries to have this
                box tool?<br>
                <br>
                Thanks!<br>
                Arthur<br>
                _______________________________________________<br>
                mapserver-users mailing list<br>
                <a href="mailto:mapserver-users@lists.osgeo.org"
                  target="_blank" moz-do-not-send="true">mapserver-users@lists.osgeo.org</a><br>
                <a
                  href="https://lists.osgeo.org/mailman/listinfo/mapserver-users"
                  target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p>
            </blockquote>
          </div>
          <p class="MsoNormal"><br clear="all">
            <br>
            -- <o:p></o:p></p>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <div>
                                        <p class="MsoNormal">Yves
                                          Jacolin<o:p></o:p></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal">Training
                                          and support manager - Team
                                          Manager<br>
                                          Camptocamp<br>
                                          <br>
                                          Tel (France) : +33 4 58 48 20
                                          43<br>
                                          Tel (Switzerland) : +41 21 619
                                          10 43<br>
                                          Mob. : +33 6 18 75 42 21<br>
                                          <br>
                                          email : <a
                                            href="mailto:yves.jacolin@camptocamp.com"
                                            target="_blank"
                                            moz-do-not-send="true">yves.jacolin@camptocamp.com</a><br>
                                          <a
                                            href="http://www.camptocamp.com"
                                            target="_blank"
                                            moz-do-not-send="true">http://www.camptocamp.com</a><o:p></o:p></p>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </blockquote>
        <p class="MsoNormal"><br>
          <br>
          <o:p></o:p></p>
        <pre>-- <o:p></o:p></pre>
        <pre><o:p> </o:p></pre>
        <pre>Arthur Delorme<o:p></o:p></pre>
        <pre>Institut de Physique du Globe de Paris<o:p></o:p></pre>
        <pre>Bureau 219<o:p></o:p></pre>
        <pre>1 rue Jussieu 75238 Paris Cedex 05<o:p></o:p></pre>
        <pre>Tél. : 01 83 95 76 13<o:p></o:p></pre>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 

Arthur Delorme
Institut de Physique du Globe de Paris
Bureau 219
1 rue Jussieu 75238 Paris Cedex 05
Tél. : 01 83 95 76 13</pre>
  </body>
</html>