Re: [pmapper-users] pmapper5 demo working 50%
Dear Pillograsso and All, It seems that version 5 is working great on Linux system, but not on Windows yet. My config: - Windows 7, ms4w 3.0.6 - Apache 2.2.22 <http://httpd.apache.org/docs/2.2/> (with OpenSSL 0.9.8t) - PHP 5.4.3 - GDAL 1.9.1 - MapServer CGI 6.0.3 at /cgi-bin/mapserv.exe<http://localhost/cgi-bin/mapserv.exe> I am also using ms4w to try it and I also get this red appearance on the map. I think there is a map which is selected by default. To remove this red thing, we can just right click on the map and choose "clear selection". I haven't found yet where the problem comes from. I also noticed that the print map works well on the demo posted by Armin ( http://www.pmapper.net/demo/pmapper-5.0-beta2/) but on Windows, error occurs. It says "... *printmap.php* on line *85" *with a blank map. It only loads the template with this text. My last point is about swithching to "singletile" layer. From both Armin's demo and my local machine, they just show a blank page with a small cracked image in the middle of the page. Sometimes with this red appearance (sort of selected also I guess). Cheers, Serge On Tue, Nov 19, 2013 at 11:13 PM, pillograsso wrote: > Hi to all > > I have the same problem as Surman i find to use pmapper 5.0. I have a big > cracked red image, because i can't find the path of shape file. > > http://93.64.59.245/pmapperbeta/index.phtml > > > Can you help me? > Pleaseee > Thanks > > > > > -- > View this message in context: > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025408.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list > archive at Nabble.com. > > > -- > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > -- Serge -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] pmapper5 demo working 50%
Hi to all I have the same problem as Surman i find to use pmapper 5.0. I have a big cracked red image, because i can't find the path of shape file. http://93.64.59.245/pmapperbeta/index.phtml Can you help me? Pleaseee Thanks -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025408.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] pmapper5 demo working 50%
without knowing anything about the configuration you're using it's only possible to make some guessing... one could e.g. guess that you have a Google layer defined, and without downloading the required Google Javascript API due to missing Internet connection you will just get errors from OL. On 02/04/2013 05:25 PM, Suman wrote: > Hi Chris, > > I am using ms4w v3.0.6. , mapserver v6.0.3 and PHP v5.4.3. > thanx a lot for reply. I don't know how but that problem solved. Now It is > perfectly running. > But it is running only when internet connection is available. If there is > vector and raster data in my own hard drive why it's not running without > internet connection? I mean to say that no any content is being loaded. > like.. > <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025011/snap.png> > > Thank you again. > Suman > > > > -- > View this message in context: > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025011.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list > archive at Nabble.com. > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] pmapper5 demo working 50%
Good to know you get it to work. Maybe that was a cache problem or something... No clue why you need an internet connection. Though Armin confirmed OSM need to be there for the map to load, maybe that is the problem if you try to load only vector or raster layers. Good luck! Chris On Mon, Feb 4, 2013 at 5:25 PM, Suman wrote: > Hi Chris, > > I am using ms4w v3.0.6. , mapserver v6.0.3 and PHP v5.4.3. > thanx a lot for reply. I don't know how but that problem solved. Now It is > perfectly running. > But it is running only when internet connection is available. If there is > vector and raster data in my own hard drive why it's not running without > internet connection? I mean to say that no any content is being loaded. > like.. > < > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025011/snap.png > > > > Thank you again. > Suman > > > > -- > View this message in context: > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025011.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list > archive at Nabble.com. > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] pmapper5 demo working 50%
Hi Chris, I am using ms4w v3.0.6. , mapserver v6.0.3 and PHP v5.4.3. thanx a lot for reply. I don't know how but that problem solved. Now It is perfectly running. But it is running only when internet connection is available. If there is vector and raster data in my own hard drive why it's not running without internet connection? I mean to say that no any content is being loaded. like.. <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025011/snap.png> Thank you again. Suman -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025011.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] pmapper5 demo working 50%
Hi Suman, On what system are you working? What are Mapserver and php versions? Do you get any entry on the following logs? - php error log - apache error log - Mapserver error log - pmapper debug log Cheers, Chris On Sun, Feb 3, 2013 at 6:29 PM, Suman wrote: > Hi, Armin, > > I am trying to install the latest pmapper v5, but i am having problem, that > first domain layer are not working. i placed all vector data correctly in > the pmapper5_demodata folder. but only i have a big cracked image like this > < > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025009/pmapper5.jpg > > > > > can you help me plz.. > > thank you. > suman > > > > -- > View this message in context: > http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025009.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list > archive at Nabble.com. > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > ___ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] pmapper5 demo working 50%
Hi, Armin, I am trying to install the latest pmapper v5, but i am having problem, that first domain layer are not working. i placed all vector data correctly in the pmapper5_demodata folder. but only i have a big cracked image like this <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025009/pmapper5.jpg> can you help me plz.. thank you. suman -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pmapper5-demo-working-50-tp4024999p4025009.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] pmapper5 demo working 50%
Hi Armin, Mouanis, Thx a lot for your time and help! The server I am using is actually the OSGeo Live 6 installed on a hard disk. Easier for my tests as it has a lot of webmapping stuff preinstalled, maybe too much... Even though it is working well with my pmapper 4.3 project, I can't get rid of that Apache error with pmapper 5 beta 2. So today I tried again on another server, a Debian one. It works!!! \o/ Both with Mapscript 5.6.3 and 6.0.3 Must be something on the OSGeo server that is conflicting with Mapscript, dunno... Armin> Thx for the info about the ref map and OSM layer. But how should we fill the wiki with the pmapper5 setting requirements if we don't know them yet? Chris On Sat, Jan 26, 2013 at 5:00 PM, Armin Burger wrote: > I made now a quick test: > > unpack the tar ball "pmapper-5.0-beta2.tar.gz" from sourceforge, > place the demodata for version 5 from >http://www.pmapper.net/dl/pmapper5_demodata_vector.zip > > under the same directory as the release files, like >/demo/pmapper5_demodata/ >/demo/pmapper-5.0-beta2/ > > I only had to set (recursively) the owner of "img/legend" to www-data, > and to get bluemarble layer working adapt the DATA path for this layer > under "config/default/pmapper_demo.map". Then everything seems to work, > see: > > http://www.pmapper.net/demo/pmapper-5.0-beta2/ > > > The reason why OSM layer needs to be there is that it's used as only > layer for the overview map. If you change this to another layer then you > can drop OSM from the "group" list. > > As I already mentioned a few times: the new configuration has some > specific setting requirements, and this should be available via more > detailed documentation in the pm Wiki. But as long as nobody writes > that, it will not be available... > > > > On 25/01/2013 11:43, Chris forum wrote: > > Hi all, > > > > I have reinstalled pmapper 5 from start, keeping only the minimal layers > to > > display. > > It looks like Gmap or OSM have to be present, so I keep OSM and countries > > layers only. > > As before, countries don't show up on the map, only OSM does. > > > > No php or mapserver error. > > > > pm_debug.log shows: > > [25-Jan-2013 11:29:10] P.MAPPER debug info > > x_setsessionvar.php, for sessionvar mapscale: > > 55468034.09273208 > > [25-Jan-2013 11:29:15] P.MAPPER debug info > > P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for > > proper function of PDF print. > > [25-Jan-2013 11:29:15] P.MAPPER debug info > > P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed > for > > proper function of PDF print. > > [25-Jan-2013 11:29:16] P.MAPPER debug info > > x_setsessionvar.php, for sessionvar mapMaxExtent: > > Array > > ( > > [0] => -400 > > [1] => 300 > > [2] => 800 > > [3] => 1200 > > ) > > > > [25-Jan-2013 11:29:16] P.MAPPER debug info > > x_setsessionvar.php, for sessionvar mapProjection: > > EPSG:900913 > > [25-Jan-2013 11:29:16] P.MAPPER debug info > > x_setsessionvar.php, for sessionvar mapscale: > > 55468034.09273208 > > [25-Jan-2013 11:29:17] P.MAPPER debug info > > Validation of search.xml file succeeded > > > > apache error log: > > /usr/sbin/apache2: symbol lookup error: > > /usr/lib/php5/20090626+lfs/php_mapscript.so: undefined symbol: > > php_output_get_level > > > > No error in Firebug, except that the following GET runs forever: > > http://myserver/pmapper/pmapper500/lib/query/search/?&action=optionlist > > Works well though if I run the link above in the browser: > > {"searchJson":{"selectname": "findlist", "events": > > "onchange=\"PM.Search.setSearchInput()\"", "options": {"0": "Search for", > > "countries": "Country"}}, "action":"optionlist", "divelem":"1"} > > > > config_default.xml and pmapper_demo.map attached. > > MapServer version 6.0.3 > > PHP Version 5.3.10-1ubuntu3.2 > > > > Any idea what could be wrong on my setup? > > > > Thanx, > > Chris > > > > > > > > On Wed, Jan 23, 2013 at 4:08 PM, Chris forum > wrote: > > > >> Hi all > >> > >> With a project running fine in pmapper 4.3.0, I am trying now to get > demo > >> pmapper5 beta2 working. > >> > >> Owner of /img/legend/ is www-data > >> > >> I have modified the mapfile accordingly (SHAPEPATH, FONTSET, SYMBOLSET, > >> CONFIG "PROJ_LIB", IMAGEPATH, IMAGEURL and CONFIG "MS_ERRORFILE"). > >> > >> Vector demo data have been added at the right place, raster Shaded > relief > >> also. Blue Marble has been remove from the config_default.xml file. > >> > >> 900913 projection added to epsg file: > >> <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 > +x_0=0.0 > >> +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <> > >> > >> When I run > >> http://myserver/pmapper/pmapper500/?config=default&resetsession=ALL in > >> Firefox, all I get is a blank map. Eventhough Countries, Cities and > Rivers > >> layers are selected in the TOC. > >> OSM and Google sat are the only ones to work fine. > >> > >> I don't get any erro
Re: [pmapper-users] pmapper5 demo working 50%
I made now a quick test: unpack the tar ball "pmapper-5.0-beta2.tar.gz" from sourceforge, place the demodata for version 5 from http://www.pmapper.net/dl/pmapper5_demodata_vector.zip under the same directory as the release files, like /demo/pmapper5_demodata/ /demo/pmapper-5.0-beta2/ I only had to set (recursively) the owner of "img/legend" to www-data, and to get bluemarble layer working adapt the DATA path for this layer under "config/default/pmapper_demo.map". Then everything seems to work, see: http://www.pmapper.net/demo/pmapper-5.0-beta2/ The reason why OSM layer needs to be there is that it's used as only layer for the overview map. If you change this to another layer then you can drop OSM from the "group" list. As I already mentioned a few times: the new configuration has some specific setting requirements, and this should be available via more detailed documentation in the pm Wiki. But as long as nobody writes that, it will not be available... On 25/01/2013 11:43, Chris forum wrote: > Hi all, > > I have reinstalled pmapper 5 from start, keeping only the minimal layers to > display. > It looks like Gmap or OSM have to be present, so I keep OSM and countries > layers only. > As before, countries don't show up on the map, only OSM does. > > No php or mapserver error. > > pm_debug.log shows: > [25-Jan-2013 11:29:10] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapscale: > 55468034.09273208 > [25-Jan-2013 11:29:15] P.MAPPER debug info > P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for > proper function of PDF print. > [25-Jan-2013 11:29:15] P.MAPPER debug info > P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for > proper function of PDF print. > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapMaxExtent: > Array > ( > [0] => -400 > [1] => 300 > [2] => 800 > [3] => 1200 > ) > > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapProjection: > EPSG:900913 > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapscale: > 55468034.09273208 > [25-Jan-2013 11:29:17] P.MAPPER debug info > Validation of search.xml file succeeded > > apache error log: > /usr/sbin/apache2: symbol lookup error: > /usr/lib/php5/20090626+lfs/php_mapscript.so: undefined symbol: > php_output_get_level > > No error in Firebug, except that the following GET runs forever: > http://myserver/pmapper/pmapper500/lib/query/search/?&action=optionlist > Works well though if I run the link above in the browser: > {"searchJson":{"selectname": "findlist", "events": > "onchange=\"PM.Search.setSearchInput()\"", "options": {"0": "Search for", > "countries": "Country"}}, "action":"optionlist", "divelem":"1"} > > config_default.xml and pmapper_demo.map attached. > MapServer version 6.0.3 > PHP Version 5.3.10-1ubuntu3.2 > > Any idea what could be wrong on my setup? > > Thanx, > Chris > > > > On Wed, Jan 23, 2013 at 4:08 PM, Chris forum wrote: > >> Hi all >> >> With a project running fine in pmapper 4.3.0, I am trying now to get demo >> pmapper5 beta2 working. >> >> Owner of /img/legend/ is www-data >> >> I have modified the mapfile accordingly (SHAPEPATH, FONTSET, SYMBOLSET, >> CONFIG "PROJ_LIB", IMAGEPATH, IMAGEURL and CONFIG "MS_ERRORFILE"). >> >> Vector demo data have been added at the right place, raster Shaded relief >> also. Blue Marble has been remove from the config_default.xml file. >> >> 900913 projection added to epsg file: >> <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 >> +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <> >> >> When I run >> http://myserver/pmapper/pmapper500/?config=default&resetsession=ALL in >> Firefox, all I get is a blank map. Eventhough Countries, Cities and Rivers >> layers are selected in the TOC. >> OSM and Google sat are the only ones to work fine. >> >> I don't get any error from both php and mapserver error logs, while >> pm_debug.log is showing: >> [23-Jan-2013 15:03:27] P.MAPPER debug info >> P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for >> proper function of PDF print. >> [23-Jan-2013 15:03:27] P.MAPPER debug info >> P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for >> proper function of PDF print. >> [23-Jan-2013 15:03:27] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapMaxExtent: >> Array >> ( >> [0] => -400 >> [1] => 300 >> [2] => 800 >> [3] => 1200 >> ) >> >> [23-Jan-2013 15:03:27] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapProjection: >> EPSG:900913 >> [23-Jan-2013 15:03:29] P.MAPPER debug info >> Validation of search.xml file succeeded >> [23-Jan-2013 15:03:29] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapscale: >> 55468034.09273208 >> >> I then checked the mapfile (pmapper_demo.map) al
Re: [pmapper-users] pmapper5 demo working 50%
On 26/01/2013 09:15, Mouanis LAHLOU wrote: > Hi Chris > In your pmapper_demo: > I suppose that you work in linux > Line 85 : IMAGEPATH "/tmp/" verify that this path exist and owner by > www-data that's not needed any more for p.mapper 5 since the map images are directly streamed to the browser. > Line 190: DATA "vector/10m_cultural/ne_10m_admin_0_countries" I think you > missed (.shp) ... DATA "vector/10m_cultural/ne_10m_admin_0_countries.shp" the .shp extension was never needed for Mapserver, and in older versions not recommended to be added since it prevented the spatial index (*.qix) to be used. > > > 2013/1/25 Chris forum > >> Hi all, >> >> I have reinstalled pmapper 5 from start, keeping only the minimal layers to >> display. >> It looks like Gmap or OSM have to be present, so I keep OSM and countries >> layers only. >> As before, countries don't show up on the map, only OSM does. >> >> No php or mapserver error. >> >> pm_debug.log shows: >> [25-Jan-2013 11:29:10] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapscale: >> 55468034.09273208 >> [25-Jan-2013 11:29:15] P.MAPPER debug info >> P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for >> proper function of PDF print. >> [25-Jan-2013 11:29:15] P.MAPPER debug info >> P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for >> proper function of PDF print. >> [25-Jan-2013 11:29:16] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapMaxExtent: >> Array >> ( >> [0] => -400 >> [1] => 300 >> [2] => 800 >> [3] => 1200 >> ) >> >> [25-Jan-2013 11:29:16] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapProjection: >> EPSG:900913 >> [25-Jan-2013 11:29:16] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapscale: >> 55468034.09273208 >> [25-Jan-2013 11:29:17] P.MAPPER debug info >> Validation of search.xml file succeeded >> >> apache error log: >> /usr/sbin/apache2: symbol lookup error: >> /usr/lib/php5/20090626+lfs/php_mapscript.so: undefined symbol: >> php_output_get_level >> >> No error in Firebug, except that the following GET runs forever: >> http://myserver/pmapper/pmapper500/lib/query/search/?&action=optionlist >> Works well though if I run the link above in the browser: >> {"searchJson":{"selectname": "findlist", "events": >> "onchange=\"PM.Search.setSearchInput()\"", "options": {"0": "Search for", >> "countries": "Country"}}, "action":"optionlist", "divelem":"1"} >> >> config_default.xml and pmapper_demo.map attached. >> MapServer version 6.0.3 >> PHP Version 5.3.10-1ubuntu3.2 >> >> Any idea what could be wrong on my setup? >> >> Thanx, >> Chris >> >> >> >> On Wed, Jan 23, 2013 at 4:08 PM, Chris forum wrote: >> >>> Hi all >>> >>> With a project running fine in pmapper 4.3.0, I am trying now to get demo >>> pmapper5 beta2 working. >>> >>> Owner of /img/legend/ is www-data >>> >>> I have modified the mapfile accordingly (SHAPEPATH, FONTSET, SYMBOLSET, >>> CONFIG "PROJ_LIB", IMAGEPATH, IMAGEURL and CONFIG "MS_ERRORFILE"). >>> >>> Vector demo data have been added at the right place, raster Shaded relief >>> also. Blue Marble has been remove from the config_default.xml file. >>> >>> 900913 projection added to epsg file: >>> <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 >>> +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <> >>> >>> When I run >>> http://myserver/pmapper/pmapper500/?config=default&resetsession=ALL in >>> Firefox, all I get is a blank map. Eventhough Countries, Cities and >> Rivers >>> layers are selected in the TOC. >>> OSM and Google sat are the only ones to work fine. >>> >>> I don't get any error from both php and mapserver error logs, while >>> pm_debug.log is showing: >>> [23-Jan-2013 15:03:27] P.MAPPER debug info >>> P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for >>> proper function of PDF print. >>> [23-Jan-2013 15:03:27] P.MAPPER debug info >>> P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed >> for >>> proper function of PDF print. >>> [23-Jan-2013 15:03:27] P.MAPPER debug info >>> x_setsessionvar.php, for sessionvar mapMaxExtent: >>> Array >>> ( >>> [0] => -400 >>> [1] => 300 >>> [2] => 800 >>> [3] => 1200 >>> ) >>> >>> [23-Jan-2013 15:03:27] P.MAPPER debug info >>> x_setsessionvar.php, for sessionvar mapProjection: >>> EPSG:900913 >>> [23-Jan-2013 15:03:29] P.MAPPER debug info >>> Validation of search.xml file succeeded >>> [23-Jan-2013 15:03:29] P.MAPPER debug info >>> x_setsessionvar.php, for sessionvar mapscale: >>> 55468034.09273208 >>> >>> I then checked the mapfile (pmapper_demo.map) alone, and I had to add an >>> EXTENT to be able to load it: >>> EXTENT -180 -90 180 90 >>> >>> Unfortunately, that doesn't solve the problem in pmapper5. >>> >>> In Chrome, several small rose tiles are displayed, and when I inspect >> them >>> (developper tool), I find
Re: [pmapper-users] pmapper5 demo working 50%
Hi Chris In your pmapper_demo: I suppose that you work in linux Line 85 : IMAGEPATH "/tmp/" verify that this path exist and owner by www-data Line 190: DATA "vector/10m_cultural/ne_10m_admin_0_countries" I think you missed (.shp) ... DATA "vector/10m_cultural/ne_10m_admin_0_countries.shp" 2013/1/25 Chris forum > Hi all, > > I have reinstalled pmapper 5 from start, keeping only the minimal layers to > display. > It looks like Gmap or OSM have to be present, so I keep OSM and countries > layers only. > As before, countries don't show up on the map, only OSM does. > > No php or mapserver error. > > pm_debug.log shows: > [25-Jan-2013 11:29:10] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapscale: > 55468034.09273208 > [25-Jan-2013 11:29:15] P.MAPPER debug info > P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for > proper function of PDF print. > [25-Jan-2013 11:29:15] P.MAPPER debug info > P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for > proper function of PDF print. > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapMaxExtent: > Array > ( > [0] => -400 > [1] => 300 > [2] => 800 > [3] => 1200 > ) > > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapProjection: > EPSG:900913 > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapscale: > 55468034.09273208 > [25-Jan-2013 11:29:17] P.MAPPER debug info > Validation of search.xml file succeeded > > apache error log: > /usr/sbin/apache2: symbol lookup error: > /usr/lib/php5/20090626+lfs/php_mapscript.so: undefined symbol: > php_output_get_level > > No error in Firebug, except that the following GET runs forever: > http://myserver/pmapper/pmapper500/lib/query/search/?&action=optionlist > Works well though if I run the link above in the browser: > {"searchJson":{"selectname": "findlist", "events": > "onchange=\"PM.Search.setSearchInput()\"", "options": {"0": "Search for", > "countries": "Country"}}, "action":"optionlist", "divelem":"1"} > > config_default.xml and pmapper_demo.map attached. > MapServer version 6.0.3 > PHP Version 5.3.10-1ubuntu3.2 > > Any idea what could be wrong on my setup? > > Thanx, > Chris > > > > On Wed, Jan 23, 2013 at 4:08 PM, Chris forum wrote: > > > Hi all > > > > With a project running fine in pmapper 4.3.0, I am trying now to get demo > > pmapper5 beta2 working. > > > > Owner of /img/legend/ is www-data > > > > I have modified the mapfile accordingly (SHAPEPATH, FONTSET, SYMBOLSET, > > CONFIG "PROJ_LIB", IMAGEPATH, IMAGEURL and CONFIG "MS_ERRORFILE"). > > > > Vector demo data have been added at the right place, raster Shaded relief > > also. Blue Marble has been remove from the config_default.xml file. > > > > 900913 projection added to epsg file: > > <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 > > +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <> > > > > When I run > > http://myserver/pmapper/pmapper500/?config=default&resetsession=ALL in > > Firefox, all I get is a blank map. Eventhough Countries, Cities and > Rivers > > layers are selected in the TOC. > > OSM and Google sat are the only ones to work fine. > > > > I don't get any error from both php and mapserver error logs, while > > pm_debug.log is showing: > > [23-Jan-2013 15:03:27] P.MAPPER debug info > > P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for > > proper function of PDF print. > > [23-Jan-2013 15:03:27] P.MAPPER debug info > > P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed > for > > proper function of PDF print. > > [23-Jan-2013 15:03:27] P.MAPPER debug info > > x_setsessionvar.php, for sessionvar mapMaxExtent: > > Array > > ( > > [0] => -400 > > [1] => 300 > > [2] => 800 > > [3] => 1200 > > ) > > > > [23-Jan-2013 15:03:27] P.MAPPER debug info > > x_setsessionvar.php, for sessionvar mapProjection: > > EPSG:900913 > > [23-Jan-2013 15:03:29] P.MAPPER debug info > > Validation of search.xml file succeeded > > [23-Jan-2013 15:03:29] P.MAPPER debug info > > x_setsessionvar.php, for sessionvar mapscale: > > 55468034.09273208 > > > > I then checked the mapfile (pmapper_demo.map) alone, and I had to add an > > EXTENT to be able to load it: > > EXTENT -180 -90 180 90 > > > > Unfortunately, that doesn't solve the problem in pmapper5. > > > > In Chrome, several small rose tiles are displayed, and when I inspect > them > > (developper tool), I find a bigger tile above them: > > > > src="lib/map/pmhighlight?&width=1105&height=732&bbox=-8816145.2489599,338156.198789,12816145.24896,14661843.801211&crs=EPSG%3A900913×tamp=13589532565"> > > > > Any idea where the problem could be? > > > > Thanx, > > Chris > > > > > > > -- > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, H
Re: [pmapper-users] pmapper5 demo working 50%
well, you have an Apache error caused by MapScript. Most of the cases this is related to some kind of segmentation fault. This however should also be listed in the apache log. The single tiles for the country layer are accessible via firebug, you need to check the HTTP response there for such tiles. All other lower level debugging methods as described in the wiki applies also for p.mapper 5 to narrow down problems. On 25/01/2013 11:43, Chris forum wrote: > Hi all, > > I have reinstalled pmapper 5 from start, keeping only the minimal layers to > display. > It looks like Gmap or OSM have to be present, so I keep OSM and countries > layers only. > As before, countries don't show up on the map, only OSM does. > > No php or mapserver error. > > pm_debug.log shows: > [25-Jan-2013 11:29:10] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapscale: > 55468034.09273208 > [25-Jan-2013 11:29:15] P.MAPPER debug info > P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for > proper function of PDF print. > [25-Jan-2013 11:29:15] P.MAPPER debug info > P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for > proper function of PDF print. > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapMaxExtent: > Array > ( > [0] => -400 > [1] => 300 > [2] => 800 > [3] => 1200 > ) > > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapProjection: > EPSG:900913 > [25-Jan-2013 11:29:16] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapscale: > 55468034.09273208 > [25-Jan-2013 11:29:17] P.MAPPER debug info > Validation of search.xml file succeeded > > apache error log: > /usr/sbin/apache2: symbol lookup error: > /usr/lib/php5/20090626+lfs/php_mapscript.so: undefined symbol: > php_output_get_level > > No error in Firebug, except that the following GET runs forever: > http://myserver/pmapper/pmapper500/lib/query/search/?&action=optionlist > Works well though if I run the link above in the browser: > {"searchJson":{"selectname": "findlist", "events": > "onchange=\"PM.Search.setSearchInput()\"", "options": {"0": "Search for", > "countries": "Country"}}, "action":"optionlist", "divelem":"1"} > > config_default.xml and pmapper_demo.map attached. > MapServer version 6.0.3 > PHP Version 5.3.10-1ubuntu3.2 > > Any idea what could be wrong on my setup? > > Thanx, > Chris > > > > On Wed, Jan 23, 2013 at 4:08 PM, Chris forum wrote: > >> Hi all >> >> With a project running fine in pmapper 4.3.0, I am trying now to get demo >> pmapper5 beta2 working. >> >> Owner of /img/legend/ is www-data >> >> I have modified the mapfile accordingly (SHAPEPATH, FONTSET, SYMBOLSET, >> CONFIG "PROJ_LIB", IMAGEPATH, IMAGEURL and CONFIG "MS_ERRORFILE"). >> >> Vector demo data have been added at the right place, raster Shaded relief >> also. Blue Marble has been remove from the config_default.xml file. >> >> 900913 projection added to epsg file: >> <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 >> +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <> >> >> When I run >> http://myserver/pmapper/pmapper500/?config=default&resetsession=ALL in >> Firefox, all I get is a blank map. Eventhough Countries, Cities and Rivers >> layers are selected in the TOC. >> OSM and Google sat are the only ones to work fine. >> >> I don't get any error from both php and mapserver error logs, while >> pm_debug.log is showing: >> [23-Jan-2013 15:03:27] P.MAPPER debug info >> P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for >> proper function of PDF print. >> [23-Jan-2013 15:03:27] P.MAPPER debug info >> P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for >> proper function of PDF print. >> [23-Jan-2013 15:03:27] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapMaxExtent: >> Array >> ( >> [0] => -400 >> [1] => 300 >> [2] => 800 >> [3] => 1200 >> ) >> >> [23-Jan-2013 15:03:27] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapProjection: >> EPSG:900913 >> [23-Jan-2013 15:03:29] P.MAPPER debug info >> Validation of search.xml file succeeded >> [23-Jan-2013 15:03:29] P.MAPPER debug info >> x_setsessionvar.php, for sessionvar mapscale: >> 55468034.09273208 >> >> I then checked the mapfile (pmapper_demo.map) alone, and I had to add an >> EXTENT to be able to load it: >> EXTENT -180 -90 180 90 >> >> Unfortunately, that doesn't solve the problem in pmapper5. >> >> In Chrome, several small rose tiles are displayed, and when I inspect them >> (developper tool), I find a bigger tile above them: >> > src="lib/map/pmhighlight?&width=1105&height=732&bbox=-8816145.2489599,338156.198789,12816145.24896,14661843.801211&crs=EPSG%3A900913×tamp=13589532565"> >> >> Any idea where the problem could be? >> >> Thanx, >> Chris >> >> >> >> >> ---
Re: [pmapper-users] pmapper5 demo working 50%
Hi all, I have reinstalled pmapper 5 from start, keeping only the minimal layers to display. It looks like Gmap or OSM have to be present, so I keep OSM and countries layers only. As before, countries don't show up on the map, only OSM does. No php or mapserver error. pm_debug.log shows: [25-Jan-2013 11:29:10] P.MAPPER debug info x_setsessionvar.php, for sessionvar mapscale: 55468034.09273208 [25-Jan-2013 11:29:15] P.MAPPER debug info P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for proper function of PDF print. [25-Jan-2013 11:29:15] P.MAPPER debug info P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for proper function of PDF print. [25-Jan-2013 11:29:16] P.MAPPER debug info x_setsessionvar.php, for sessionvar mapMaxExtent: Array ( [0] => -400 [1] => 300 [2] => 800 [3] => 1200 ) [25-Jan-2013 11:29:16] P.MAPPER debug info x_setsessionvar.php, for sessionvar mapProjection: EPSG:900913 [25-Jan-2013 11:29:16] P.MAPPER debug info x_setsessionvar.php, for sessionvar mapscale: 55468034.09273208 [25-Jan-2013 11:29:17] P.MAPPER debug info Validation of search.xml file succeeded apache error log: /usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20090626+lfs/php_mapscript.so: undefined symbol: php_output_get_level No error in Firebug, except that the following GET runs forever: http://myserver/pmapper/pmapper500/lib/query/search/?&action=optionlist Works well though if I run the link above in the browser: {"searchJson":{"selectname": "findlist", "events": "onchange=\"PM.Search.setSearchInput()\"", "options": {"0": "Search for", "countries": "Country"}}, "action":"optionlist", "divelem":"1"} config_default.xml and pmapper_demo.map attached. MapServer version 6.0.3 PHP Version 5.3.10-1ubuntu3.2 Any idea what could be wrong on my setup? Thanx, Chris On Wed, Jan 23, 2013 at 4:08 PM, Chris forum wrote: > Hi all > > With a project running fine in pmapper 4.3.0, I am trying now to get demo > pmapper5 beta2 working. > > Owner of /img/legend/ is www-data > > I have modified the mapfile accordingly (SHAPEPATH, FONTSET, SYMBOLSET, > CONFIG "PROJ_LIB", IMAGEPATH, IMAGEURL and CONFIG "MS_ERRORFILE"). > > Vector demo data have been added at the right place, raster Shaded relief > also. Blue Marble has been remove from the config_default.xml file. > > 900913 projection added to epsg file: > <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 > +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <> > > When I run > http://myserver/pmapper/pmapper500/?config=default&resetsession=ALL in > Firefox, all I get is a blank map. Eventhough Countries, Cities and Rivers > layers are selected in the TOC. > OSM and Google sat are the only ones to work fine. > > I don't get any error from both php and mapserver error logs, while > pm_debug.log is showing: > [23-Jan-2013 15:03:27] P.MAPPER debug info > P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for > proper function of PDF print. > [23-Jan-2013 15:03:27] P.MAPPER debug info > P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for > proper function of PDF print. > [23-Jan-2013 15:03:27] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapMaxExtent: > Array > ( > [0] => -400 > [1] => 300 > [2] => 800 > [3] => 1200 > ) > > [23-Jan-2013 15:03:27] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapProjection: > EPSG:900913 > [23-Jan-2013 15:03:29] P.MAPPER debug info > Validation of search.xml file succeeded > [23-Jan-2013 15:03:29] P.MAPPER debug info > x_setsessionvar.php, for sessionvar mapscale: > 55468034.09273208 > > I then checked the mapfile (pmapper_demo.map) alone, and I had to add an > EXTENT to be able to load it: > EXTENT -180 -90 180 90 > > Unfortunately, that doesn't solve the problem in pmapper5. > > In Chrome, several small rose tiles are displayed, and when I inspect them > (developper tool), I find a bigger tile above them: > src="lib/map/pmhighlight?&width=1105&height=732&bbox=-8816145.2489599,338156.198789,12816145.24896,14661843.801211&crs=EPSG%3A900913×tamp=13589532565"> > > Any idea where the problem could be? > > Thanx, > Chris > > p.mapper - A MapServer PHP/MapScript Framework 5-dev 3 PM_ tocdomains mapselect default js/src common/print.xml inline ALL pmapper_demo.map common/template.map EPSG:900913 countries osmmapnik admin
[pmapper-users] pmapper5 demo working 50%
Hi all With a project running fine in pmapper 4.3.0, I am trying now to get demo pmapper5 beta2 working. Owner of /img/legend/ is www-data I have modified the mapfile accordingly (SHAPEPATH, FONTSET, SYMBOLSET, CONFIG "PROJ_LIB", IMAGEPATH, IMAGEURL and CONFIG "MS_ERRORFILE"). Vector demo data have been added at the right place, raster Shaded relief also. Blue Marble has been remove from the config_default.xml file. 900913 projection added to epsg file: <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <> When I run http://myserver/pmapper/pmapper500/?config=default&resetsession=ALL in Firefox, all I get is a blank map. Eventhough Countries, Cities and Rivers layers are selected in the TOC. OSM and Google sat are the only ones to work fine. I don't get any error from both php and mapserver error logs, while pm_debug.log is showing: [23-Jan-2013 15:03:27] P.MAPPER debug info P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for proper function of PDF print. [23-Jan-2013 15:03:27] P.MAPPER debug info P.MAPPER-ERROR: DEFRESOLUTION tag not set to 96. This value is needed for proper function of PDF print. [23-Jan-2013 15:03:27] P.MAPPER debug info x_setsessionvar.php, for sessionvar mapMaxExtent: Array ( [0] => -400 [1] => 300 [2] => 800 [3] => 1200 ) [23-Jan-2013 15:03:27] P.MAPPER debug info x_setsessionvar.php, for sessionvar mapProjection: EPSG:900913 [23-Jan-2013 15:03:29] P.MAPPER debug info Validation of search.xml file succeeded [23-Jan-2013 15:03:29] P.MAPPER debug info x_setsessionvar.php, for sessionvar mapscale: 55468034.09273208 I then checked the mapfile (pmapper_demo.map) alone, and I had to add an EXTENT to be able to load it: EXTENT -180 -90 180 90 Unfortunately, that doesn't solve the problem in pmapper5. In Chrome, several small rose tiles are displayed, and when I inspect them (developper tool), I find a bigger tile above them: Any idea where the problem could be? Thanx, Chris -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users