I think it is due setExtent and setSize order calls...

Le 24/07/2013 14:51, Chris forum a écrit :
> Point 2) is a weird one!
> I just found out the problem only appears when the browser window is
> reduced.
>
> Queries work fine on both IE and Firefox on a full screen window. But when
> the window is shrinked to a certain size, the following PHP error shows up:
> PHP Warning:  mapObj::queryByPoint(): [MapServer Error]: msQueryByPoint():
> No matching record(s) found.
>
> Same behaviour on different machines and different pmapper solutions.
>
> No clue what is happening...
>
>
> On Mon, Jul 22, 2013 at 3:36 PM, Chris forum <bak.fo...@gmail.com> wrote:
>
>> 1)
>> Cool, I will try that!
>>
>> 2)
>> I checked with the following test layer:
>> LAYER
>>     NAME "batiments_test"
>>     TYPE POLYGON
>>     DATA "gc_data/BATI_POL"
>>     METADATA
>>        "DESCRIPTION" "Bâtiments TEST"
>>        "RESULT_FIELDS" "NO_ECA, TYPE, ID_GO"
>>     END
>>     TEMPLATE void
>>     #MAXSCALEDENOM 4990
>>     OPACITY 50
>>     CLASS
>>        NAME "bati_test"
>>        STYLE
>>           OUTLINECOLOR 40 40 40
>>           COLOR 172 172 172
>>           MAXWIDTH 3
>>        END
>>     END
>> END
>>
>> But as soon as I uncomment the MAXSCADENOM line, I can not get an info any
>> more until I scale down to 3100.
>> I also tried with another layer which initially didn't use a MAXSCALDENOM
>> tag. Same behaviour when I add one.
>>
>> I finally added the Identify tool, but same story...
>>
>>
>> On Mon, Jul 22, 2013 at 2:35 PM, Thomas RAFFIN <traf...@sirap.fr> wrote:
>>
>>> Le 22/07/2013 14:28, Chris forum a écrit :
>>>> Hey Thomas,
>>>>
>>>> Thx for your reply!
>>>>
>>>> 1)
>>>> Here is what I've found in my php.ini
>>>>
>>>> ; After this number of seconds, stored data will be seen as 'garbage'
>>> and
>>>> ; cleaned up by the garbage collection process.
>>>> ; http://php.net/session.gc-maxlifetime
>>>> session.gc_maxlifetime = 1440
>>>>
>>>> Will raise this value to see how it works, but I am confident you
>>>> pointed out the right setting.
>>>>
>>> You can try to use the "timingmap" plugin to refresh the map every X
>>> minutes ( < 1440 seconds ) to keep the sessions alive while the browser
>>> is open (call an home made PHP page through AJAX to do something like
>>> that).
>>>
>>>
>>>> 2)
>>>> I should have mentionned the problem occurs with polygon layers, i. e.
>>>> buildings.
>>>> I don't think it has something to do with the TOLERANCE. At a scale of
>>>> 3100 even a very small polygon (3-4px long) responds to the query,
>>>> while at 4500 a big polygon (100px long) can not be selected.
>>>> Oh, I realise now I am actually not using the Identfy tool, but
>>>> graphicalqueries_point tool instead. The problem happens also with the
>>>> graphicalqueries_polygon tool.
>>> Are you able to try on a new layer copy from the one that is grouped?
>>>
>>>>
>>>> On Mon, Jul 22, 2013 at 11:38 AM, Thomas RAFFIN <traf...@sirap.fr
>>>> <mailto:traf...@sirap.fr>> wrote:
>>>>
>>>>      Le 22/07/2013 10:34, Chris forum a écrit :
>>>>      > Hi all,
>>>>      >
>>>>      > I am very glad to annonce that pmapper 4.3.1 has officially
>>>>      replaced  the
>>>>      > old Cartoweb solution here in my local city administation! \o/
>>>>      >
>>>>      > It so much pleasant to work with pmapper, thanx a lot to Armin,
>>>>      Thomas and
>>>>      > all who built this tool and helped me got it working!
>>>>      >
>>>>      > However, here under some little things that could still be
>>>>      improved, if you
>>>>      > have any idea how to solve them...
>>>>
>>>>      Hi,
>>>>
>>>>      Nice to have good feedback ;-)
>>>>
>>>>
>>>>      >
>>>>      > pmapper 4.3 (Plainlayout4 / swap legend tab)
>>>>      > mapserver 6.2
>>>>      > php 5.3.3-7
>>>>      > Debian server
>>>>      >
>>>>      > 1)
>>>>      > When not used during some time (x minutes?) and then an action
>>>>      is done,
>>>>      > pmapper stops responding and get stuck at the "Loading" image in
>>>>      front of
>>>>      > the map.
>>>>      > Is there a session duration or something?
>>>>
>>>>      Yes, it should be the PHP Session duration. As I remember, wioth
>>>>      Debian,
>>>>      you have to modify gc_maxlifetime in your PHP.ini because a cron
>>> task
>>>>      will delete too old session files.
>>>>
>>>>
>>>>      >
>>>>      > 2)
>>>>      > At a scale of 4500, even though all layers from a group are
>>>>      visible on the
>>>>      > main map (MAXSCALEDENOM 4990), the query (identify) tool doesn't
>>>>      retrieve
>>>>      > any information.
>>>>      > I have to zoom closer, at a scale of 3100, to get some results
>>>>      with the
>>>>      > query tool.
>>>>
>>>>      If you are talking about point layers, maybe you have a "mouse
>>>>      capture"
>>>>      problem. Try to increase the MAP\LAYER\TOLERANCE (and choose a good
>>>>      TOLERANCEUNITS)
>>>>
>>>>
>>>>      >
>>>>      > 3)
>>>>      > As Pedro said some days earlier, an '@' in an attribute value is
>>>>      replaced
>>>>      > by an 'Email' in the result of a query.
>>>>      > It happens on my project with two shapefile layers.
>>>>      >
>>>>      > 4) The generated URL window stays open even when an action is
>>>>      done (pan,
>>>>      > zoom, new layer displayed, ...). An thus the proposed link is no
>>>>      more
>>>>      > representing the displayed map.
>>>>      >
>>>>      > 5)
>>>>      > The mouse right click to pan the map is great.
>>>>      > But if the Zoom out tool is selected (minus magnifier) when
>>>>      doing so, the
>>>>      > map is also zoomed out.
>>>>      > Is that on purpose?
>>>>      >
>>>>      > 6)
>>>>      > Plugin LocateXY only accepts a 'circle' symbol. When I try to
>>>>      display a
>>>>      > cross symbol, a square or any other symbols (defined in the
>>>>      template.map),
>>>>      > I get a triangle (?!) symbol on the map.
>>>>      >
>>>>      > 7)
>>>>      > Plugin Drawing
>>>>      > Text, no matter what color is chosen, is diplayed in grey on the
>>> map
>>>>      >
>>>>      > Cheers
>>>>      > Chris
>>>>      >
>>>>
>>> ------------------------------------------------------------------------------
>>>>      > See everything from the browser to the database with AppDynamics
>>>>      > Get end-to-end visibility with application monitoring from
>>>>      AppDynamics
>>>>      > Isolate bottlenecks and diagnose root cause in seconds.
>>>>      > Start your free trial of AppDynamics Pro today!
>>>>      >
>>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>      > _______________________________________________
>>>>      > pmapper-users mailing list
>>>>      > pmapper-users@lists.sourceforge.net
>>>>      <mailto:pmapper-users@lists.sourceforge.net>
>>>>      > https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>>      >
>>>>      >
>>>>
>>>>      --
>>>>
>>>>
>>>>      Thomas RAFFIN
>>>>      Chef de Projet Internet
>>>>      traf...@sirap.fr <mailto:traf...@sirap.fr>
>>>>      <mailto:traf...@sirap.fr <mailto:traf...@sirap.fr>>    Sirap
>>>>      <http://sirap.fr>         Tel
>>>>      : 04 75 72 84 10
>>>>      Fax : 04 75 70 07 98
>>>>      Rue Paul Louis Héroult - BP 253
>>>>      26106 Romans cedex
>>>>
>>>>
>>> ------------------------------------------------------------------------------
>>>>      See everything from the browser to the database with AppDynamics
>>>>      Get end-to-end visibility with application monitoring from
>>> AppDynamics
>>>>      Isolate bottlenecks and diagnose root cause in seconds.
>>>>      Start your free trial of AppDynamics Pro today!
>>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>>      _______________________________________________
>>>>      pmapper-users mailing list
>>>>      pmapper-users@lists.sourceforge.net
>>>>      <mailto:pmapper-users@lists.sourceforge.net>
>>>>      https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>>
>>>>
>>> --
>>>
>>>
>>> Thomas RAFFIN
>>> Chef de Projet Internet
>>> traf...@sirap.fr <mailto:traf...@sirap.fr>      Sirap <http://sirap.fr>
>>>          Tel
>>> : 04 75 72 84 10
>>> Fax : 04 75 70 07 98
>>> Rue Paul Louis Héroult - BP 253
>>> 26106 Romans cedex
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to