Just tried the trunk out, there is no point 2) anymore! Graphical queries plugin works fine even with a non full screen browser window! : ) Good job Thomas!
I noticed Measure2 and Drawing plugins now use a red cross instead of a thrash bin. But Drawing plugin still writes annotations in grey only. I didn't use other plugins you have modified so I can not check them. Timingmap plugin still doesn't like a resetsession=ALL, but I guess we need Walter Lorenzetti here to help us. On Thu, Jul 25, 2013 at 3:27 PM, Chris forum <bak.fo...@gmail.com> wrote: > As I don't feel confident enough to commit, here under a few minor things > I have found out: > > *legend.php* > $html .= "</li>"; should be move before the } instead of after it (line 73) > > $html .= $this->writeClasses($grpName, $classList); > $html .= "</li>"; > } > > > *custom.js* > a comma needs to be removed after the } at the end of showGroupInfo: > function(groupId) > > > *pm.query.js* (I didn't tried to correct it yet) > Some parenthesis are missing in the parseLocale: function(v) > > > *uielement.php* > The scale text is not verticaly centered into the box. Margin-top needs to > be set at 3px instead of 0 in the public static function scaleForm(): > > <div class=\"celldiv\" style=\"margin-top: 3px;\">" . _p("Scale") . " 1: > </div> > > > > > On Thu, Jul 25, 2013 at 2:57 PM, Armin Burger <armin.bur...@gmail.com>wrote: > >> I could also create a bugfix/update release 4.3.2 if the changes are >> proved to work correctly. >> >> armin >> >> On 07/25/2013 02:32 PM, Thomas RAFFIN wrote: >> > Hi, >> > >> > Chris, I've just committed the correction concerning scaledenom and >> > queries, and also few plugins updates (drawing, measure2, selection >> > management, graphical queries, queryeditor, export (PDF, SHP, OGR, DXF), >> > ...). Feel free to try the trunk version for pmapper... >> > >> > Be careful with the new version of plugins: you need a full >> > "pmapper/plugins" directory up-to-date. >> > >> > Thomas >> > >> > Le 24/07/2013 14:54, Thomas RAFFIN a écrit : >> >> 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 >> >> >> >> >> > >> >> >> >> ------------------------------------------------------------------------------ >> 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