Re: [pmapper-users] printing and exporting problem
You can specify a MINSCALE for the MAP (or WEB) level, normally the zoomin should never go beyond that. armin > The problem is that at the moment pmapper zooms to e.g. scale 1:1.000 > and the outline of the queried feature(s) floats somewhere in white > where the minscale of all layers is set to e.g 15.000 (thus they are > not drawn by mapscript). Usually minscales are set with reason (e.g. > quality of the background, not permitting the user to get > "checkerboard" images...) > So yes, in my opinion pmapper should strictly obey to minscales set in > mapfile and/or in the p-mapper config, zoom at most to these minscale > limits and recenter. > > Thank you very much for looking into it. > > BR > > frequens > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] printing and exporting problem
> > so what should it do in your opinion? Just zoom to the maximum scale > where this layer is still visible? The zoomtoselect function was > something implemented in 20 minutes, so nothing special and one can > deactivate it if not needed (don't remember if the button is enabled > by default). In principal I activated most of possible functions and > leave it to the persons to set up the system to decide what they need > or not. > > armin > The problem is that at the moment pmapper zooms to e.g. scale 1:1.000 and the outline of the queried feature(s) floats somewhere in white where the minscale of all layers is set to e.g 15.000 (thus they are not drawn by mapscript). Usually minscales are set with reason (e.g. quality of the background, not permitting the user to get "checkerboard" images...) So yes, in my opinion pmapper should strictly obey to minscales set in mapfile and/or in the p-mapper config, zoom at most to these minscale limits and recenter. Thank you very much for looking into it. BR frequens - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] printing and exporting problem
for sure there are ways to do it modifying the code, but you will need to investigate into it. armin On Thu, Mar 20, 2008 at 1:22 PM, frequens <[EMAIL PROTECTED]> wrote: > As for 1. SimpleXMLElement::getName() was introduced in php 5.1.3, is > there any way to run an older version of php and have printing > capabilities succesfully? > > frequens > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] printing and exporting problem
> As for 3: as above, it zoomed and outlined (to) the selected shape > (correctly not drawing any of the layers if min scale was set) even in > the out of the box pmapper with demodata and no changes to config... so what should it do in your opinion? Just zoom to the maximum scale where this layer is still visible? The zoomtoselect function was something implemented in 20 minutes, so nothing special and one can deactivate it if not needed (don't remember if the button is enabled by default). In principal I activated most of possible functions and leave it to the persons to set up the system to decide what they need or not. armin - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] printing and exporting problem
As for 1. SimpleXMLElement::getName() was introduced in php 5.1.3, is there any way to run an older version of php and have printing capabilities succesfully? frequens On Thu, Mar 20, 2008 at 1:11 PM, frequens <[EMAIL PROTECTED]> wrote: > Dear Armin, thank you for the 2., installed and working :-) > > As for 1: it did not work even in the out of the box pmapper with > demodata, from the error log looks like a XML(2) library problem on my > system? Since XML works in a variety of other bindings (gdal, > mapscript...)Is there any particular version of libxml2 required > by pmapper? > As for 3: as above, it zoomed and outlined (to) the selected shape > (correctly not drawing any of the layers if min scale was set) even in > the out of the box pmapper with demodata and no changes to config... > > BR > > frequens > > > > > > On Thu, Mar 20, 2008 at 10:38 AM, Armin Burger <[EMAIL PROTECTED]> wrote: > > to 2) this requires PHP v. 5.2.+, or you need to include the PECL > > extension 'JSON' > > > > to 1) and 3): Since I do not have a clue if you have modified anything > > and what your configs are I cannot say anything. > > > > armin > > > > On Thu, Mar 20, 2008 at 8:54 AM, frequens <[EMAIL PROTECTED]> wrote: > > > > > > > Hi all, > > > > > > I am building a pmapper 3.2 application and have some problems: > > > > > > 1. The Print settings dialog widow is empty and log shows: > > > PHP Fatal error: Call to undefined method SimpleXMLElement::getName() > > > in /home/www/pmapper/incphp/print/printxml.php on line 166. > > > > > > 2. Selecting a radio button of the export formats does not provoke > > > anything except the log entry: > > > PHP Fatal error: Call to undefined function json_decode() in > > > /home/www/pmapper/plugins/export/exportquery.php on line 53 > > > > > > 3. The "Zoom to selected" function zooms way below the minimum scale > > > defined for the layer(s) in the map file. This is annoying, since all > > > layers turn off and the graphic floats in the middle of nowhere... > > > Is there a way to remedy this? > > > > > > > > > Any help would be much appreciated... > > > > > > BR > > > > > > frequens > > > > > > > > > > > - > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > > ___ > > > pmapper-users mailing list > > > pmapper-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > > > > - > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > ___ > > pmapper-users mailing list > > pmapper-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] printing and exporting problem
Dear Armin, thank you for the 2., installed and working :-) As for 1: it did not work even in the out of the box pmapper with demodata, from the error log looks like a XML(2) library problem on my system? Since XML works in a variety of other bindings (gdal, mapscript...)Is there any particular version of libxml2 required by pmapper? As for 3: as above, it zoomed and outlined (to) the selected shape (correctly not drawing any of the layers if min scale was set) even in the out of the box pmapper with demodata and no changes to config... BR frequens On Thu, Mar 20, 2008 at 10:38 AM, Armin Burger <[EMAIL PROTECTED]> wrote: > to 2) this requires PHP v. 5.2.+, or you need to include the PECL > extension 'JSON' > > to 1) and 3): Since I do not have a clue if you have modified anything > and what your configs are I cannot say anything. > > armin > > On Thu, Mar 20, 2008 at 8:54 AM, frequens <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I am building a pmapper 3.2 application and have some problems: > > > > 1. The Print settings dialog widow is empty and log shows: > > PHP Fatal error: Call to undefined method SimpleXMLElement::getName() > > in /home/www/pmapper/incphp/print/printxml.php on line 166. > > > > 2. Selecting a radio button of the export formats does not provoke > > anything except the log entry: > > PHP Fatal error: Call to undefined function json_decode() in > > /home/www/pmapper/plugins/export/exportquery.php on line 53 > > > > 3. The "Zoom to selected" function zooms way below the minimum scale > > defined for the layer(s) in the map file. This is annoying, since all > > layers turn off and the graphic floats in the middle of nowhere... > > Is there a way to remedy this? > > > > > > Any help would be much appreciated... > > > > BR > > > > frequens > > > > > > - > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > > ___ > > pmapper-users mailing list > > pmapper-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] printing and exporting problem
to 2) this requires PHP v. 5.2.+, or you need to include the PECL extension 'JSON' to 1) and 3): Since I do not have a clue if you have modified anything and what your configs are I cannot say anything. armin On Thu, Mar 20, 2008 at 8:54 AM, frequens <[EMAIL PROTECTED]> wrote: > Hi all, > > I am building a pmapper 3.2 application and have some problems: > > 1. The Print settings dialog widow is empty and log shows: > PHP Fatal error: Call to undefined method SimpleXMLElement::getName() > in /home/www/pmapper/incphp/print/printxml.php on line 166. > > 2. Selecting a radio button of the export formats does not provoke > anything except the log entry: > PHP Fatal error: Call to undefined function json_decode() in > /home/www/pmapper/plugins/export/exportquery.php on line 53 > > 3. The "Zoom to selected" function zooms way below the minimum scale > defined for the layer(s) in the map file. This is annoying, since all > layers turn off and the graphic floats in the middle of nowhere... > Is there a way to remedy this? > > > Any help would be much appreciated... > > BR > > frequens > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users