pmapper-users Mailing List for p.mapper (Page 18)
Brought to you by:
arminburger
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(41) |
Nov
(124) |
Dec
(80) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(56) |
Feb
(51) |
Mar
(155) |
Apr
(58) |
May
(67) |
Jun
(83) |
Jul
(76) |
Aug
(32) |
Sep
(58) |
Oct
(113) |
Nov
(63) |
Dec
(83) |
2008 |
Jan
(31) |
Feb
(34) |
Mar
(69) |
Apr
(30) |
May
(87) |
Jun
(64) |
Jul
(47) |
Aug
(18) |
Sep
(35) |
Oct
(53) |
Nov
(37) |
Dec
(31) |
2009 |
Jan
(23) |
Feb
(40) |
Mar
(65) |
Apr
(54) |
May
(92) |
Jun
(55) |
Jul
(87) |
Aug
(27) |
Sep
(81) |
Oct
(32) |
Nov
(77) |
Dec
(51) |
2010 |
Jan
(44) |
Feb
(59) |
Mar
(77) |
Apr
(54) |
May
(36) |
Jun
(36) |
Jul
(52) |
Aug
(62) |
Sep
(68) |
Oct
(58) |
Nov
(72) |
Dec
(27) |
2011 |
Jan
(15) |
Feb
(42) |
Mar
(37) |
Apr
(55) |
May
(84) |
Jun
(27) |
Jul
(27) |
Aug
(42) |
Sep
(42) |
Oct
(18) |
Nov
(83) |
Dec
(71) |
2012 |
Jan
(50) |
Feb
(75) |
Mar
(79) |
Apr
(43) |
May
(18) |
Jun
(22) |
Jul
(20) |
Aug
(13) |
Sep
(26) |
Oct
(30) |
Nov
(21) |
Dec
(30) |
2013 |
Jan
(57) |
Feb
(63) |
Mar
(53) |
Apr
(40) |
May
(39) |
Jun
(16) |
Jul
(43) |
Aug
(16) |
Sep
(37) |
Oct
(64) |
Nov
(31) |
Dec
(7) |
2014 |
Jan
(14) |
Feb
(6) |
Mar
(2) |
Apr
(9) |
May
(1) |
Jun
(18) |
Jul
(95) |
Aug
(6) |
Sep
(25) |
Oct
(33) |
Nov
(29) |
Dec
(30) |
2015 |
Jan
(16) |
Feb
(3) |
Mar
(4) |
Apr
(9) |
May
(19) |
Jun
|
Jul
(11) |
Aug
(3) |
Sep
(9) |
Oct
(11) |
Nov
(4) |
Dec
(9) |
2016 |
Jan
(21) |
Feb
(9) |
Mar
(6) |
Apr
(13) |
May
(21) |
Jun
(4) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2017 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Suman <an...@ya...> - 2014-06-14 15:55:59
|
sorry the file is here.. :) pm.js <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025494/pm.js> -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-5-set-query-result-in-uiLayoutWest-tp4025462p4025494.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Suman <an...@ya...> - 2014-06-14 02:59:43
|
>To solve this issue I have to change file pm.query.js too ??? yes there is some problem in line 114, 115 & 117 of pm.query.js file. So get this file and replace with yours. and also you should change the line 126 of index.phtml to $('#uiLayoutWest').css({position:'absolute', width:0, width:240, height:'100%', overflow: 'auto', 'margin-left':mrgH, 'margin-right':mrgH}); Best of luck. Suman -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-5-set-query-result-in-uiLayoutWest-tp4025462p4025492.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Suman <an...@ya...> - 2014-06-14 02:52:23
|
yes there is some problem in line 114, 115 & 117 of pm.query.js file. So get this file and replace with yours. and also you should change the line 126 of index.phtml to $('#uiLayoutWest').css({position:'absolute', width:0, width:240, height:'100%', overflow: 'auto', 'margin-left':mrgH, 'margin-right':mrgH}); Best of luck. Suman -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-5-set-query-result-in-uiLayoutWest-tp4025462p4025491.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-06-12 12:34:09
|
Hi, effectly it doesn't work -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-5-set-query-result-in-uiLayoutWest-tp4025462p4025490.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Makkat <mak...@li...> - 2014-06-12 08:55:16
|
Hi All, I continue to show result query in popup window. -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-5-set-query-result-in-uiLayoutWest-tp4025462p4025489.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-06-06 08:03:27
|
Hi all, As Pmapper5 integrates openlayers, theoretically, I think, it's possible to use WMS-C service like Tilecache (metacarta). Any ideas? Thanks -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Tilcache-in-pmapper5-tp4025488.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-06-06 07:54:22
|
Hi, in pmapper5 using the search box or select by shape, have any of you realised that the function "zoom to selected features" doesn't display the complete extent of selected items? -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-zoom-to-selected-features-tp4025486.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-06-06 07:54:15
|
Did you set correct coordinate system? I mean, coordinates in your extent refer to the coordinate system specified in your mapfile/config.xlm? -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-changing-map-reference-tp4025484p4025485.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-06-06 07:51:05
|
In pmapper5 if you modify PM.Control.PMToolClick.js in the bottom of its part in this way: onClick: function(e) { var fromProjection = new OpenLayers.Projection("EPSG:900913"); // Transform from Spherical Mercator Projection WGS 1984 var toProjection = new OpenLayers.Projection("EPSG:4326"); // to WGS 1984 var xyMap = map.getLonLatFromViewPortPx(e.xy); var mouseXY = (xyMap.lon) + ',' + (xyMap.lat); var position = new OpenLayers.LonLat(xyMap.lon,xyMap.lat).transform( fromProjection, toProjection); this.execute(mouseXY); this.execute(position); myWindow=window.open('YOURNAME','YOURNAME2','width=200,height=200'); myWindow.document.write(" <form action='http://yoursite.com/<b>coordinate.php*' method='post'> cod: <input type='varchar' name='cod'><br>Latitudine: <input type='double' name='lat' value="+position.lat+"><br>Longitudine: <input type='double' name='lon' value="+position.lon+"><br><input type='submit'></form> " ); myWindow.focus(); }, execute: function(mouseXY) { console.log(mouseXY); }, CLASS_NAME: "OpenLayers.Control.PMToolClick" }); the code gets the coordinate by clicking on your map and open "coordinate.php" which is a google streetview api (https://developers.google.com/maps/documentation/javascript/examples/streetview-service) in the position where you clicked -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-or-4-x-and-streetview-tp4025487.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Firdaus f. <ali...@gm...> - 2014-06-06 05:41:26
|
*dear all* I'm beginner in using pmapper as one of application in mapserver. I've successfully installed pmapper in MS4W, and i need to change EXTENT coordinate in "config\default\pmapper_demo.map" for Asia countries. However, i've got error message as below. *Anyone can help me to solve this error ?"Warning*: ms_newMapObj(): [MapServer Error]: loadMapInternal(): Given map extent is invalid. Check that it is in the form: minx, miny, maxx, maxy in *C:\ms4w\apps\pmapper\pmapper-4.3.2\incphp\globals.php* on line*66* *Fatal error*: Uncaught exception 'MapScriptException' with message 'Failed to open map file "C:/ms4w/apps/pmapper/pmapper-4.3.2/config/default/pmapper_demo.map"' in C:\ms4w\apps\pmapper\pmapper-4.3.2\incphp\globals.php:66 Stack trace: #0 C:\ms4w\apps\pmapper\pmapper-4.3.2\incphp\globals.php(66): ms_newMapObj('C:/ms4w/apps/pm...') #1 C:\ms4w\apps\pmapper\pmapper-4.3.2\map_default.phtml(43): require_once('C:\ms4w\apps\pm...') #2 {main} thrown in *C:\ms4w\apps\pmapper\pmapper-4.3.2\incphp\globals.php* on line *66"* |
From: Dedy F. <sam...@gm...> - 2014-06-05 04:57:27
|
Hello Furlan, That is work for my problem, thank you so much. :D Regards, On Thu, Jun 5, 2014 at 9:27 AM, Jose Furlán <jf...@gm...> wrote: > Dear Fuadi > > I've had the same problem, and it was because the point buffer in the XML > file is configured in metric units > > <pointBuffer>10000</pointBuffer> > > You should change it to 0.1 or 0.5 (or whatever your choice is) so it is > in degrees units > > E.g. > <pointBuffer>0.1</pointBuffer> > > Hope this would help you > > Regards > > Jose > > > On Wed, Jun 4, 2014 at 6:48 PM, Dedy Fuadi <sam...@gm...> wrote: > >> Hello Armin, hello all pmappper-user. >> >> This is my mapserver and pmapper details : >> PHP- 5.4.3 >> MapServer version 6.0.3 (MS4W 3.0.6) >> phpPgAdmin 5.1 >> PostgreSQL 8.4.21 >> pmapper-4.3.2 >> >> Problem: >> When I was tried to using search function on pmapper, the javascript was >> completely success and displayed row that's I want. >> But, when I look at URL that produces by javascript (PM.Map.zoom2extent >> function), I got strange allextent for this query especially for >> projection. I used WGS84 projection with EPSG:4326. As we knew, for this >> projection we only have degrees about 0-90 for lat and 0-180 for lon. At >> URL javascript produces, I got : >> >> javascript:PM.Map.zoom2extent('apt_geo','5','-9882.3327778+-9995.863611111+10117.6672222+10004.136388889','1') >> >> What should I do for fix or set allextent auto adapted selected data when >> I >> using search query? >> >> I hope for all of your advise, >> Thank you. >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/NeoTech >> _______________________________________________ >> pmapper-users mailing list >> pma...@li... >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> > |
From: Jose F. <jf...@gm...> - 2014-06-05 01:27:56
|
Dear Fuadi I've had the same problem, and it was because the point buffer in the XML file is configured in metric units <pointBuffer>10000</pointBuffer> You should change it to 0.1 or 0.5 (or whatever your choice is) so it is in degrees units E.g. <pointBuffer>0.1</pointBuffer> Hope this would help you Regards Jose On Wed, Jun 4, 2014 at 6:48 PM, Dedy Fuadi <sam...@gm...> wrote: > Hello Armin, hello all pmappper-user. > > This is my mapserver and pmapper details : > PHP- 5.4.3 > MapServer version 6.0.3 (MS4W 3.0.6) > phpPgAdmin 5.1 > PostgreSQL 8.4.21 > pmapper-4.3.2 > > Problem: > When I was tried to using search function on pmapper, the javascript was > completely success and displayed row that's I want. > But, when I look at URL that produces by javascript (PM.Map.zoom2extent > function), I got strange allextent for this query especially for > projection. I used WGS84 projection with EPSG:4326. As we knew, for this > projection we only have degrees about 0-90 for lat and 0-180 for lon. At > URL javascript produces, I got : > > javascript:PM.Map.zoom2extent('apt_geo','5','-9882.3327778+-9995.863611111+10117.6672222+10004.136388889','1') > > What should I do for fix or set allextent auto adapted selected data when I > using search query? > > I hope for all of your advise, > Thank you. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > |
From: Dedy F. <sam...@gm...> - 2014-06-05 00:48:46
|
Hello Armin, hello all pmappper-user. This is my mapserver and pmapper details : PHP- 5.4.3 MapServer version 6.0.3 (MS4W 3.0.6) phpPgAdmin 5.1 PostgreSQL 8.4.21 pmapper-4.3.2 Problem: When I was tried to using search function on pmapper, the javascript was completely success and displayed row that's I want. But, when I look at URL that produces by javascript (PM.Map.zoom2extent function), I got strange allextent for this query especially for projection. I used WGS84 projection with EPSG:4326. As we knew, for this projection we only have degrees about 0-90 for lat and 0-180 for lon. At URL javascript produces, I got : javascript:PM.Map.zoom2extent('apt_geo','5','-9882.3327778+-9995.863611111+10117.6672222+10004.136388889','1') What should I do for fix or set allextent auto adapted selected data when I using search query? I hope for all of your advise, Thank you. |
From: Eduardo B. <edu...@gm...> - 2014-05-07 12:37:59
|
ESPAÑOL Estimados Amigos. Yo necesito abrir un link a una página nueva desde un marco de consulta, estoy usando lo que esta documentado en ttp:// svn.pmapper.net/trac/wiki/DocManual#Hyperlinks Les envío mi custom.js $.extend(PM.Custom, { // Sample Hyperlink function for result window openHyperlink: function(layer, fldName, fldValue) { switch(layer) { case 'pais_siembra_pl': //if (fldName == 'NOMBRE') { var linkUrl = 'http:/'+'/en.wikipedia.org/wiki/'+fldValue; //window.open(linkUrl); this.openHyperlinkDialog(linkUrl); //} break; default: alert ('Vea la funcion en custom.js: ' + layer + ' - ' + fldName + ' - ' + fldValue); } }, // Sample how to open a link in a p.mapper dialog box hyperlinkDlgOptions: {width:600, height:600, resizeable:true, newsize:false, container:'pmDlgContainerHyperlink'}, openHyperlinkDialog: function(linkUrl) { var dlg = PM.Dlg.createDnRDlg(this.hyperlinkDlgOptions, _p('Hyperlink'), false); var h = '<iframe width="99%" height="98%" src="' + linkUrl + '" />' $('#pmDlgContainerHyperlink_MSG').html(h); }, showCategoryInfo: function(catId) { var catName = catId.replace(/licat_/, ''); alert('Info about category: ' + catName); }, showGroupInfo: function(groupId) { var groupName = groupId.replace(/ligrp_/, ''); } }); Despliega el link en el marco en pmapper pero no funciona el link cuando es invocado *********************************************************************************************************** ENGLISH Dear Friends . I need to open a link to a new page from a query framework , I am using what is documented in ttp :/ / svn.pmapper.net / trac / wiki / DocManual # Hyperlinks I send my Custom.js $ . extend ( PM.Custom , { / / Sample Hyperlink function for result window openHyperlink : function (layer , fldName , fldValue ) { switch (layer) { case ' pais_siembra_pl ' : / / if ( fldName == ' NAME' ) { linkUrl var = ' http:/ ' + '/ en.wikipedia.org / wiki /' + fldValue ; / / window.open ( linkUrl ); this.openHyperlinkDialog ( linkUrl ) ; / /} break; default: alert (' See function in Custom.js : ' + layer + '- ' + fldName + '- ' + fldValue ); } } , / / Sample how to open a link in a dialog box p.mapper hyperlinkDlgOptions : {width : 600 , height: 600, resizeable : true, newSize : false, container: ' pmDlgContainerHyperlink '} , openHyperlinkDialog : function ( linkUrl ) { var dlg = PM.Dlg.createDnRDlg ( this.hyperlinkDlgOptions , _p ( ' Hyperlink ' ) , false); var h = ' <iframe width="99%" height="98%" src="' + + '" linkUrl /> ' $ ('# pmDlgContainerHyperlink_MSG ' ) html ( h ) . ; } , showCategoryInfo : function ( catId ) { var catName = catId.replace ( / licat_ / ,'') ; alert (' Info about category: ' + catName ); } , showGroupInfo : function ( groupId ) { var groupName = groupId.replace ( / ligrp_ / ,'') ; } } ) ; Displays the link in the framework pmapper but the link does not work when invoked -- Eduardo |
From: Emmanuel A. <eaa...@go...> - 2014-04-18 09:08:54
|
Hi all. I discovered that php-mapscript is incompatible with PHP 5.4.2 which is what the server is running. So I got the admin to install 5.3 instead. The server uses a Plesk panel for hosting and now I can choose between both versions of PHP if I want PHP to run either in CGI or FastCGI mode. Problem is, p.mapper doesn't start in both modes and only runs when I configure PHP as an Apache module, which only gives me the default PHP 5.4.2 version and hasn't solved the original issue. Does anyone know how I can modify p.mapper PHP files so they can run in CGI mode? Is this even possible considering its a PHP/Mapscript application? Thanks. Emmanuel On Apr 15, 2014 2:17 PM, "Emmanuel Adegboye" <eaa...@go...> wrote: > Thanks, I already did but the error persists. I noticed that a > mapscript.ini file already exists with the extension=php_mapscript.so line > in it and its in a directory being scanned for additional configuration > files. > > Using phpinfo and with a little scanning of the directories, I realised > that the extension wasn't being loaded because mapscript is in a different > directory from the default php extensions directory. > > I've tried to do a symbolic link between both folders but it still does > not work. > > I did a standard installation of all mapserver dependencies from the > ubuntu gis repository and I have a separate setup that works without any > issues. > On Apr 15, 2014 1:52 PM, "Marcello Benigno" <ben...@gm...> > wrote: > >> Hi Emmanuel, >> >> You need edit your php.ini file (probably in /etc/php5/apache2/php.ini) and >> put the line below: >> >> extension=php_mapscript.so >> >> Then restart apache: >> >> sudo /etc/init.d/apache2 restart >> >> Other settings are required, I suggest you read the instructions in this link >> (PHP.ini section): >> >> http://svn.pmapper.net/trac/wiki/DocQuickinstall >> >> Best, >> >> >> 2014-04-11 19:36 GMT-03:00 Emmanuel Adegboye <eaa...@go...>: >> >>> Hi all. >>> >>> I get this error on a fresh install of pmapper 4.3 on an ubuntu setup: >>> >>> [11-Apr-2014 22:32:12 Africa/Brazzaville] P.MAPPER: This version of PHP >>> does support the 'dl()' function. Please enable 'php_mapscript.dll' in >>> your >>> php.ini >>> [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice: Undefined >>> variable: >>> map in /var/www/vhosts/map.oauife.edu.ng/httpdocs/incphp/init/init.phpon >>> line 33 >>> [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice: Trying to get >>> property of non-object in /var/www/vhosts/ >>> map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 283 >>> [11-Apr-2014 23:32:12 Europe/Vienna] PHP Fatal error: Call to a member >>> function getAllGroupNames() on a non-object in /var/www/vhosts/ >>> map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 289 >>> >>> >>> I'm guessing that the PHP mapscript extension has not been enabled. Am I >>> right about this? The only challenge is that the server admin is the only >>> one that has access to this file as I am on a shared server. What are my >>> options? >>> >>> Regards, >>> >>> Emmanuel Adegboye >>> >>> ------------------------------------------------------------------------------ >>> Put Bad Developers to Shame >>> Dominate Development with Jenkins Continuous Integration >>> Continuously Automate Build, Test & Deployment >>> Start a new project now. Try Jenkins in the cloud. >>> http://p.sf.net/sfu/13600_Cloudbees >>> _______________________________________________ >>> pmapper-users mailing list >>> pma...@li... >>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>> >> >> >> >> -- >> *Marcello Benigno B. de Barros Filho* >> Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB >> Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE >> Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE >> http://profmarcello.blogspot.com >> http://about.me/marcello.benigno >> > |
From: Emmanuel A. <eaa...@go...> - 2014-04-15 13:17:59
|
Thanks, I already did but the error persists. I noticed that a mapscript.ini file already exists with the extension=php_mapscript.so line in it and its in a directory being scanned for additional configuration files. Using phpinfo and with a little scanning of the directories, I realised that the extension wasn't being loaded because mapscript is in a different directory from the default php extensions directory. I've tried to do a symbolic link between both folders but it still does not work. I did a standard installation of all mapserver dependencies from the ubuntu gis repository and I have a separate setup that works without any issues. On Apr 15, 2014 1:52 PM, "Marcello Benigno" <ben...@gm...> wrote: > Hi Emmanuel, > > You need edit your php.ini file (probably in /etc/php5/apache2/php.ini) and > put the line below: > > extension=php_mapscript.so > > Then restart apache: > > sudo /etc/init.d/apache2 restart > > Other settings are required, I suggest you read the instructions in this link > (PHP.ini section): > > http://svn.pmapper.net/trac/wiki/DocQuickinstall > > Best, > > > 2014-04-11 19:36 GMT-03:00 Emmanuel Adegboye <eaa...@go...>: > >> Hi all. >> >> I get this error on a fresh install of pmapper 4.3 on an ubuntu setup: >> >> [11-Apr-2014 22:32:12 Africa/Brazzaville] P.MAPPER: This version of PHP >> does support the 'dl()' function. Please enable 'php_mapscript.dll' in >> your >> php.ini >> [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice: Undefined variable: >> map in /var/www/vhosts/map.oauife.edu.ng/httpdocs/incphp/init/init.php on >> line 33 >> [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice: Trying to get >> property of non-object in /var/www/vhosts/ >> map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 283 >> [11-Apr-2014 23:32:12 Europe/Vienna] PHP Fatal error: Call to a member >> function getAllGroupNames() on a non-object in /var/www/vhosts/ >> map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 289 >> >> >> I'm guessing that the PHP mapscript extension has not been enabled. Am I >> right about this? The only challenge is that the server admin is the only >> one that has access to this file as I am on a shared server. What are my >> options? >> >> Regards, >> >> Emmanuel Adegboye >> >> ------------------------------------------------------------------------------ >> Put Bad Developers to Shame >> Dominate Development with Jenkins Continuous Integration >> Continuously Automate Build, Test & Deployment >> Start a new project now. Try Jenkins in the cloud. >> http://p.sf.net/sfu/13600_Cloudbees >> _______________________________________________ >> pmapper-users mailing list >> pma...@li... >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > > > > -- > *Marcello Benigno B. de Barros Filho* > Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB > Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE > Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE > http://profmarcello.blogspot.com > http://about.me/marcello.benigno > |
From: Marcello B. <ben...@gm...> - 2014-04-15 12:52:42
|
Hi Emmanuel, You need edit your php.ini file (probably in /etc/php5/apache2/php.ini) and put the line below: extension=php_mapscript.so Then restart apache: sudo /etc/init.d/apache2 restart Other settings are required, I suggest you read the instructions in this link (PHP.ini section): http://svn.pmapper.net/trac/wiki/DocQuickinstall Best, 2014-04-11 19:36 GMT-03:00 Emmanuel Adegboye <eaa...@go...>: > Hi all. > > I get this error on a fresh install of pmapper 4.3 on an ubuntu setup: > > [11-Apr-2014 22:32:12 Africa/Brazzaville] P.MAPPER: This version of PHP > does support the 'dl()' function. Please enable 'php_mapscript.dll' in your > php.ini > [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice: Undefined variable: > map in /var/www/vhosts/map.oauife.edu.ng/httpdocs/incphp/init/init.php on > line 33 > [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice: Trying to get > property of non-object in /var/www/vhosts/ > map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 283 > [11-Apr-2014 23:32:12 Europe/Vienna] PHP Fatal error: Call to a member > function getAllGroupNames() on a non-object in /var/www/vhosts/ > map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 289 > > > I'm guessing that the PHP mapscript extension has not been enabled. Am I > right about this? The only challenge is that the server admin is the only > one that has access to this file as I am on a shared server. What are my > options? > > Regards, > > Emmanuel Adegboye > > ------------------------------------------------------------------------------ > Put Bad Developers to Shame > Dominate Development with Jenkins Continuous Integration > Continuously Automate Build, Test & Deployment > Start a new project now. Try Jenkins in the cloud. > http://p.sf.net/sfu/13600_Cloudbees > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > -- *Marcello Benigno B. de Barros Filho* Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE http://profmarcello.blogspot.com http://about.me/marcello.benigno |
From: Marcello B. v. F. <in...@fe...> - 2014-04-13 06:11:29
|
<div> Marcello Benigno is still waiting for you to join Feedspot - A Google Reader for Professionals. <br/> <a target="_blank" href="http://www.feedspot.com/r_903cdca176c6_*_pm...@li...#monthlycode">www.feedspot.com</a> <br/><br/> Start using Feedspot today to get a complimentary Feedspot Premium membership for one year for free, with even more of the features that make Feedspot great. And just for trying Feedspot, your friend will also get Feedspot premium membership for free. <br/><br/><br/> <div> <a style="font-size:16px;color:white;border-top:1px #2270ab solid;width:280px;border-left:1px #18639a solid;font-weight:600;background-color:#33a0e8;border-radius:3px;border-right:1px #18639a solid;border-bottom:1px #0f568b solid;padding:14px 7px 14px 7px;max-width:140px;font-family:'Open Sans','lucida grande','Segoe UI',arial,verdana,'lucida sans unicode',tahoma,sans-serif;text-align:center;background-image:-webkit-gradient(linear,0% 0%,0% 100%,from(rgb(55,163,235)),to(rgb(33,129,207)));text-decoration:none;display:block" href="http://www.feedspot.com/r_903cdca176c6_*_pm...@li...#monthlycode" target="_blank">Get Started</a> </div> <br/><br/> - The Feedspot Team <br/><br/><br/> </div> <hr/> <div style="font-size:12px;color:gray"> This email was sent to pma...@li.... You are receiving pending invitation emails. <br/> You received this email because your friend Marcello Benigno (ben...@gm...) invited you to join Feedspot.<br/> Click <a style="color:gray;text-decoration:underline;cursor:pointer" href="http://www.feedspot.com/fs/unsubscribe?i=FEv4vW5ZIBdVIRZX0QpZ/iFV1OyXXCcpEyQgWhb4S/8eVPvlXFcYKg==">here to Unsubscribe</a> if you wish not to receive pending invitation from Marcello Benigno via Feedspot.<br/> Feedspot.com, 303 Cape Court, Mill Valley, CA 94941 </div> |
From: Emmanuel A. <eaa...@go...> - 2014-04-11 22:37:24
|
Hi all. I get this error on a fresh install of pmapper 4.3 on an ubuntu setup: [11-Apr-2014 22:32:12 Africa/Brazzaville] P.MAPPER: This version of PHP does support the 'dl()' function. Please enable 'php_mapscript.dll' in your php.ini [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice: Undefined variable: map in /var/www/vhosts/map.oauife.edu.ng/httpdocs/incphp/init/init.php on line 33 [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice: Trying to get property of non-object in /var/www/vhosts/ map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 283 [11-Apr-2014 23:32:12 Europe/Vienna] PHP Fatal error: Call to a member function getAllGroupNames() on a non-object in /var/www/vhosts/ map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 289 I'm guessing that the PHP mapscript extension has not been enabled. Am I right about this? The only challenge is that the server admin is the only one that has access to this file as I am on a shared server. What are my options? Regards, Emmanuel Adegboye |
From: Thomas R. <tr...@si...> - 2014-04-09 09:34:29
|
Hi, Thanks. This doc is partially here too: - http://svn.pmapper.net/trac/wiki/UpgradeOlderVersions (not the right place?) - http://svn.pmapper.net/trac/wiki/DocManual#AdditionalPHPsettings Maybe it could be interesting to add your parts in the wiki. Le 09/04/2014 10:50, Fernando a écrit : > MS4W - MapServer 4 Windows - version 3.0.2 > Apache 2.2.17 (with OpenSSL 0.9.8o)PHP 5.3.6GDAL 1.8.0MapServer CGI 5.6.6 at /cgi-bin/mapserv.exePmapper 4.3.2. > > 1) Download the file http://pear.php.net/go-pear.phar > > 2) Execute C:\ms4w\Apache\php>c:\ms4w\Apache\cgi-bin\php.exe go-pear.phar > > 3) Are you installing a system-wide PEAR or a local copy? > (system|local) [system] : local > Please confirm local copy by typing 'yes' : yes > > 4) Below is a suggested file layout for your new PEAR installation. To > change individual locations, type the number in front of the > directory. Type 'all' to change all of them or simply press Enter to > accept these locations. > > 1. Installation base ($prefix) : C:\ms4w\Apache\php > 2. Temporary directory for processing : C:\ms4w\Apache\php\tmp > 3. Temporary directory for downloads : C:\ms4w\Apache\php\tmp > 4. Binaries directory : C:\ms4w\Apache\php > 5. PHP code directory ($php_dir) : C:\ms4w\Apache\php\pear > 6. Documentation directory : C:\ms4w\Apache\php\docs > 7. Data directory : C:\ms4w\Apache\php\data > 8. User-modifiable configuration files directory : C:\ms4w\Apache\php\cfg > 9. Public Web Files directory : C:\ms4w\Apache\php\www > 10. Tests directory : C:\ms4w\Apache\php\tests > 11. Name of configuration file : C:\ms4w\Apache\php\pear.ini > 12. Path to CLI php.exe : C:\ms4w\Apache\cgi-bin > > 1-12, 'all' or Enter to continue: enter > > 5) Would you like to alter php.ini <C:\ms4w\Apache\cgi-bin\php.ini>? [Y/n] : y > > Thanks for using go-pear! > > 6) Execute C:\ms4w\Apache\php>pear install channel://pear.php.net/OLE-1.0.0RC2 > > downloading OLE-1.0.0RC2.tgz ... > Starting to download OLE-1.0.0RC2.tgz (13,981 bytes) > .....done: 13,981 bytes > install ok: channel://pear.php.net/OLE-1.0.0RC2 > > 7) Execute C:\ms4w\Apache\php>pear install channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.3 > > downloading Spreadsheet_Excel_Writer-0.9.3.tgz ... > Starting to download Spreadsheet_Excel_Writer-0.9.3.tgz (57,258 bytes) > .....done: 57,258 bytes > install ok: channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.3 > > > that's all!! > > ------------------------------------------------------------------------------ > Put Bad Developers to Shame > Dominate Development with Jenkins Continuous Integration > Continuously Automate Build, Test & Deployment > Start a new project now. Try Jenkins in the cloud. > http://p.sf.net/sfu/13600_Cloudbees > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > |
From: Fernando <nan...@ho...> - 2014-04-09 08:50:58
|
MS4W - MapServer 4 Windows - version 3.0.2 Apache 2.2.17 (with OpenSSL 0.9.8o)PHP 5.3.6GDAL 1.8.0MapServer CGI 5.6.6 at /cgi-bin/mapserv.exePmapper 4.3.2. 1) Download the file http://pear.php.net/go-pear.phar 2) Execute C:\ms4w\Apache\php>c:\ms4w\Apache\cgi-bin\php.exe go-pear.phar 3) Are you installing a system-wide PEAR or a local copy? (system|local) [system] : local Please confirm local copy by typing 'yes' : yes 4) Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation base ($prefix) : C:\ms4w\Apache\php 2. Temporary directory for processing : C:\ms4w\Apache\php\tmp 3. Temporary directory for downloads : C:\ms4w\Apache\php\tmp 4. Binaries directory : C:\ms4w\Apache\php 5. PHP code directory ($php_dir) : C:\ms4w\Apache\php\pear 6. Documentation directory : C:\ms4w\Apache\php\docs 7. Data directory : C:\ms4w\Apache\php\data 8. User-modifiable configuration files directory : C:\ms4w\Apache\php\cfg 9. Public Web Files directory : C:\ms4w\Apache\php\www 10. Tests directory : C:\ms4w\Apache\php\tests 11. Name of configuration file : C:\ms4w\Apache\php\pear.ini 12. Path to CLI php.exe : C:\ms4w\Apache\cgi-bin 1-12, 'all' or Enter to continue: enter 5) Would you like to alter php.ini <C:\ms4w\Apache\cgi-bin\php.ini>? [Y/n] : y Thanks for using go-pear! 6) Execute C:\ms4w\Apache\php>pear install channel://pear.php.net/OLE-1.0.0RC2 downloading OLE-1.0.0RC2.tgz ... Starting to download OLE-1.0.0RC2.tgz (13,981 bytes) .....done: 13,981 bytes install ok: channel://pear.php.net/OLE-1.0.0RC2 7) Execute C:\ms4w\Apache\php>pear install channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.3 downloading Spreadsheet_Excel_Writer-0.9.3.tgz ... Starting to download Spreadsheet_Excel_Writer-0.9.3.tgz (57,258 bytes) .....done: 57,258 bytes install ok: channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.3 that's all!! |
From: Thomas R. <tr...@si...> - 2014-04-08 09:15:11
|
Hi, I've just committed small corrections in the query editor concerning text fields and operators like "contains", stard with", ... for SHP files. Jose, your messages are not visible on pmapper the mailing list... Thomas Le 01/10/2013 15:48, Thomas RAFFIN a écrit : > Hi, > > Thanks for your contribution. Indeed I never use SHP files, so your > corrections are welcome... > > Replies below... > > Le 01/10/2013 14:47, Sylvain Arabeyre a écrit : >> Dear all, >> >> While using the query editor plugin, I've came across some troubles. As I >> am not sure whereas the problems I've encountered are related to the source >> code or to my local installation, I send you the errors (and corrections >> I've made) for anybody to evaluate if the source code must be modified or >> not. >> I run pmapper 4.3.1 on windows 7 and XP with the ms4W package (MS4W 3.0.6 >> with Mapserver 6.0.3). > I think you should try MapServer 6.2.1 from here: > http://www.maptools.org/dl/ms4w/ms4w_3.1.0-beta1.zip > >> First of all, I found out that when trying to query a field whith text, the >> query wouldn't retrieve any results. I went to see the pm_debug.log (in >> \ms4w\apps\pmapper\pmapper-4.3.1\plugins\queryeditor\) and found out that >> the query string which was passed to Mapserver was not correct. >> Here is an example of what was on pm_debug.log: >> >> [30-Sep-2013 19:32:34] P.MAPPER debug info >> Parameters for REQUEST array >> file: query.php->q_execAttributeQuery >> >> Array >> ( >> [PHPSESSID] => rdpo6s4e0ktp14a2uhr216lik7 >> [operation] => query >> [layername] => Conduta >> [layerType] => shape >> [query] => [Material] ILIKE 'PVC' >> [selectMethode] => new >> [externalSearchDefinition] => 1 >> [mode] => search >> [layerName] => Conduta >> [firstFld] => MATERIAU >> [qStr] => (( "[MATERIAU]" ~ /^PVC$/)) >> ) >> >> What should have been passed to Mapserver is this: >> >> Array >> ( >> [PHPSESSID] => vq055tjimjg95k7ur1902839g5 >> [operation] => query >> [layername] => Conduta >> [layerType] => shape >> [query] => [Material] ILIKE 'pvc' >> [selectMethode] => new >> [externalSearchDefinition] => 1 >> [mode] => search >> [layerName] => Conduta >> [firstFld] => MATERIAU >> [qStr] => (( "[MATERIAU]" ~ 'pvc')) >> ) >> >> Therefore, I changed the following in >> "\ms4w\apps\pmapper\pmapper-4.3.1\plugins\queryeditor\x_queryeditor.php": >> >> $modifiedQueryTmp = >> preg_replace("/([^\[]*)\[([^\]]*)\]\s*([^\s]*)\s*'([^']*[^\\\])'/", "$1 >> \"[$2]\" $3 /'$4'/", $modifiedQueryWithoutEOL); (around line 134 in my file) >> >> to >> >> $modifiedQueryTmp = >> preg_replace("/([^\[]*)\[([^\]]*)\]\s*([^\s]*)\s*'([^']*[^\\\])'/", "$1 >> \"[$2]\" $3 '$4'", $modifiedQueryWithoutEOL); >> >> so that the string that is passed to Mapserver is compliant with the >> Mapserver expressions. > OK, will be committed soon... > > >> Another "error" I came across with was, again, related to the syntax and >> the query string passed to Mapserver (it was not compliant with Mapserver >> expressions) with the term "ILIKE". >> Line 136 in x_queryeditor.php, I changed the following >> >> $modifiedQueryTmp = str_replace(" ILIKE ", " =~ ", $modifiedQueryTmp); >> >> to >> >> $modifiedQueryTmp = str_replace(" ILIKE ", " ~", $modifiedQueryTmp); >> This last one can also be changed to >> $modifiedQueryTmp = str_replace(" ILIKE ", " =*", $modifiedQueryTmp); > OK, will be committed soon... > > >> Finally, I also had to modify the file >> ms4w\apps\pmapper\pmapper-4.3.1\plugins\queryeditor\queryeditor.js also >> because of errors related to the query string passed to Mapserver. Line >> 393, I changed: >> >> } else if (attrOperator == 'different') { >> queryPartToAdd += ' <> ' + attrVal;" >> >> to >> >> } else if (attrOperator == 'different') { >> queryPartToAdd += ' != ' + attrVal; >> >> so that the string passed to Mapserver complies with Mapserver expressions >> ie, to get "attribute value is different from value", Mapserver must >> read "[ATTRIBUTE]!=VALUE" instead of "[ATTRIBUTE]<>VALUE". >> > I've kept the previous code with the "!=" and added in the PHP something > like that for SHP files : > > $modifiedQueryTmp = str_replace(" != ", " <> ", $modifiedQueryTmp); > > > > >> I also made an optional change in queryeditordlg.phtml as I find more >> "user-friendly" to have the symbol "≠" instead of "!=" for the user to read >> "is different from". Line 148 in queryeditordlg.phtml, I changed >> >> "<option label="!=" value="different">!=</option>" >> >> to >> >> "<option label="≠" value="different">≠</option>" >> >> This last one is not critical but I think, for people who are not used to >> programming languages, it would make it easier for a common user to >> understand the "≠" instead of "!=" > Of course, you're right! > > > >> Anybody knows if the changes I've made are related to my local installation >> or if it's a code-related issue?Some people I know who are using pmapper >> with ms4w have also encountered the same problems and solved them with the >> suggestions I make in this post. >> >> >> Best regards, >> Sylvain Arabeyre. > Thanks again. > > >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from >> the latest Intel processors and coprocessors. See abstracts and register > >> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk >> _______________________________________________ >> pmapper-users mailing list >> pma...@li... >> https://lists.sourceforge.net/lists/listinfo/pmapper-users > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users |
From: gioza <al...@al...> - 2014-04-04 17:19:51
|
I post the way I fixed the thing. modify lines 175-176 of PM.Control.PMToolMeasure.js in this way: showMeasureResults: function(evt) { var meas = evt.measure/2; $('#pmMeasureTotal').val(meas.roundTo(this.measureDecimals) + " " + evt.units + "²").css({width:'110px'}); }, bye -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-area-measurement-tp4025464p4025468.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2014-03-24 09:45:38
|
Hi, I realised that using measure area tool in Pmapper5, the result is double of real surface (ex.: 10 instead of 5). Adding the following code in custom.js: OpenLayers.Control.PMMeasureArea.prototype.showMeasureResults = function(evt) { console.log(evt); } I realised that the first point is always digitized twice even though I click once. Has anyone experienced this? Thanks -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-area-measurement-tp4025464.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Makkat <mak...@li...> - 2014-03-14 13:55:30
|
Hi, i'm trying to set query result in uiLayoutWest in config_default.xml <query> .... <infoWin>uiLayoutWest</infoWin> .... </query> but query result show always in dynwin container. To solve this issue I have to change file pm.query.js too ??? thanks Marco -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-5-set-query-result-in-uiLayoutWest-tp4025462.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |