Hello Jukka,

Yes exactly. When I see the IMGBOX and NQUERY variables, both refer to a box. How are we suppose to define it? With a form probably, but drawing a rectangle would be better for me. I will look at this IMGBOX variable to try to catch it in JS.

When you speak about WMS, I am not familiar with it, but I guess that it's only a limitation for some sort of data? I'm only using a Tiff background image with Mapinfo format vectors and all are stored locally.

Thanks
Arthur


Le 10/01/2019 à 15:36, Rahkonen Jukka (MML) a écrit :

Hi,

I guess that Arthur is after some Mapvserver specific CGI queries https://mapserver.org/cgi/controls.html like NQUERY with a box, which is something that WMS does not support.

-Jukka Rahkonen-

*Lähettäjä:*mapserver-users [mailto:[email protected]] *Puolesta *Yves Jacolin
*Lähetetty:* 10. tammikuuta 2019 16:20
*Vastaanottaja:* Arthur Delorme <[email protected]>
*Kopio:* mapserver-users <[email protected]>
*Aihe:* Re: [mapserver-users] mapserver queries and java / javascript

Hello Arthur

You can find such features in two main projects:

* OpenLayers: http://www.openlayers.org/

* leaflet: https://leafletjs.com/

Regards,

Y.

Le jeu. 10 janv. 2019 à 15:03, Arthur Delorme <[email protected] <mailto:[email protected]>> a écrit :

    Hello,

    Years ago there was a Java code called JBox, which were very nice to
    make multiple queries by drawing a box on the map (which you could
    also
    use in browse mode to zoom).

    With the restrictions on Java in modern web browsers, I would like to
    replace JBox with something else, maybe some Javascript, but I can't
    find help about this by myself, so I come to you!

    I'm not super familiar with JS, even though I can write some
    stuff. Do
    you know about some examples / libraries to have this box tool?

    Thanks!
    Arthur
    _______________________________________________
    mapserver-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.osgeo.org/mailman/listinfo/mapserver-users



--

Yves Jacolin

Training and support manager - Team Manager
Camptocamp

Tel (France) : +33 4 58 48 20 43
Tel (Switzerland) : +41 21 619 10 43
Mob. : +33 6 18 75 42 21

email : [email protected] <mailto:[email protected]>
http://www.camptocamp.com


--

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

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to