Re: [pmapper-users] Export to shapefile
Sigo sin poder exportar a XLS, gracias a las directivas de Victoria pude exportar a ODS. Saludos Eduardo Edukoski wrote: Estimados: Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP, entiendo que las capas de Postgis no se puedan pasar pero debería ser una limitante? Saludos EB friends: I installed as is Pedro said, PECL extensions, and still can not export to SHP,. I understand that the layers of Postgis not be passed but, it should be a limitation? regards EB 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Francisco and Armin, I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0) with the Export to SHP working. I added the dbase extension via PECL repository, running the command: $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1 After, I added the path on the file /../php5/apache2/php.ini ;; ; Dynamic Extensions ; ;; extension=/usr/lib/php5/20090626+lfs/php_mapscript.so extension=/usr/lib/php5/20090626+lfs/dbase.so And on the file /../../config_default.xml pluginsConfig export formatsCSV/formats formatsPDF/formats formatsSHP/formats /export Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? Best regards, Pedro Venâncio - Original Message - From: Armin Burger you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Eduardo -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- View this message in context: http://old.nabble.com/Export-to-shapefile-tp32311842p32449260.html Sent from the pmapper users mailing list archive at Nabble.com. -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
Re: [pmapper-users] Export to shapefile
I repeat: I installed the Spreadsheet and not working excel file generation and I did what Peter told me to do.. I need to install or configure something in particular? regards 2011/8/23 Eduardo Bieñkowski eduko...@gmail.com I installed the Spreadsheet and not working excel file generation. Eduardo 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Sorry Eduardo, I forgot to put the channel. Try this sudo pear install Spreadsheet_Excel_Writer channel:// pear.php.net/Spreadsheet_Excel_Writer-0.9.2 Pedro From: Eduardo Bieñkowski Pedro: I can't install Spreadsheet_Excel_Writer, eduardo@eduardo:~$ pear install Spreadsheet_Excel_Writer-0.9.2 No releases available for package pear.php.net/Spreadsheet_Excel_Writer install failed I listed the channels eduardo@eduardo:~$ pear list-channels Registered Channels: Channel Alias Summary doc.php.net phpdocs PHP Documentation Team pear.php.net pearPHP Extension and Application Repository pecl.php.net peclPHP Extension Community Library What is wrong? 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Eduardo, I imagine you've restarted Apache, right? I do not know, I was able to get the function to work on two machines (Ubuntu and Debian), and the only thing I did beyond what I described was also put support for Export to XLS: $ sudo pear install OLE channel://pear.php.net/OLE-1.0.0RC1 $ sudo pear install Spreadsheet_Excel_Writer and then $ sudo /etc/init.d/apache2 restart Try installing these packages more. Best regards, Pedro Venâncio From: Eduardo Bieñkowski Estimados: Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP, entiendo que las capas de Postgis no se puedan pasar pero debería ser una limitante? Saludos EB friends: I installed as is Pedro said, PECL extensions, and still can not export to SHP,. I understand that the layers of Postgis not be passed but, it should be a limitation? regards EB 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Francisco and Armin, I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0) with the Export to SHP working. I added the dbase extension via PECL repository, running the command: $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1 After, I added the path on the file /../php5/apache2/php.ini ;; ; Dynamic Extensions ; ;; extension=/usr/lib/php5/20090626+lfs/php_mapscript.so extension=/usr/lib/php5/20090626+lfs/dbase.so And on the file /../../config_default.xml pluginsConfig export formatsCSV/formats formatsPDF/formats formatsSHP/formats /export Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? Best regards, Pedro Venâncio - Original Message - From: Armin Burger you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Export to shapefile
Check your php.ini settings according to the description here: http://svn.pmapper.net/trac/wiki/DocQuickinstall#PHP.INI see especially the parts that are marked as IMPORTANT!!! You get a series of notices and probably have display errors set to on, therefore you likely get the last warning message saying that the headers have already been sent. armin On Wed, Aug 24, 2011 at 11:01 AM, Francisco Caldeira francisco.calde...@ine.pt wrote: Hello Pedro and Armin Many thanks for the aswers. We implemented the procedures that Pedro described, but the problem persist anyway. I installed FireBug, the Firefox plugin, and realized that there's something wrong with the index of the fields of the shapefile. In red are the names of the fields of the shapefiles. The same message appears in the PHP log. The zip file whit the shapefile is created correctly (including fields) and the temporary directory is removed also without problems. Does this messages ring any bells to you? [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 101 [24-Aug-2011 09:51:18] PHP Notice: Undefined index: NUTS2_COD in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 110 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 101 [24-Aug-2011 09:51:18] PHP Notice: Undefined index: NUTS2_02DS in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 110 [24-Aug-2011 09:51:18] PHP Notice: Undefined variable: str in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 167 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 101 [24-Aug-2011 09:51:18] PHP Notice: Undefined index: RESIDENT_T in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 110 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 101 [24-Aug-2011 09:51:18] PHP Notice: Undefined index: RESIDENT_H in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 110 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 101 [24-Aug-2011 09:51:18] PHP Notice: Undefined index: RESIDENT_M in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 110 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 101 [24-Aug-2011 09:51:18] PHP Notice: Undefined index: PRESENTE_T in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 110 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 101 [24-Aug-2011 09:51:18] PHP Notice: Undefined index: PRESENTE_H in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 110 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 101 [24-Aug-2011 09:51:18] PHP Notice: Undefined index: PRESENTE_M in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 110 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in /ms4w/apps/pmapper/pmapper-4.1.1/plugins/export/export.shp.php on line 69 [24-Aug-2011 09:51:18] PHP Notice: Trying to get property of non-object in
Re: [pmapper-users] Export to shapefile
Hello Armin, I've been testing on a Ubuntu 11.04 clean machine, with Mapserver 6 and pMapper 4.2, and everything works fine with those steps I have described, however, the resulting export shapefiles appear in blank, with no geometry and no attributes. The 3 files (SHP, SHX and DBF) are exported, DBF file has the correct columns, but with no rows. ogrinfo gives: venancio@venancio-VirtualBox:~/shp_8nbahf6vlp13deacbrnh3it3u3$ ogrinfo -al localidades.shp INFO: Open of `localidades.shp' using driver `ESRI Shapefile' successful. Layer name: localidades Geometry: Point Feature Count: 0 Extent: (0.00, 0.00) - (0.00, 0.00) Layer SRS WKT: (unknown) GEONAMEID: Integer (7.0) NAME: String (17.0) ASCIINAME: String (17.0) ISO2_CODE: String (8.0) POPULATION: Integer (6.0) GTOPO30: Integer (3.0) Is the problem from Mapserver 6 or pMapper 4.2? Has anyone tried the export to shp on these versions? Best regards, Pedro - Original Message - From: Armin Burger armin.bur...@gmail.com To: Francisco Caldeira francisco.calde...@ine.pt Cc: pmapper-users pmapper-users@lists.sourceforge.net Sent: Wednesday, August 24, 2011 10:13 AM Subject: Re: [pmapper-users] Export to shapefile Check your php.ini settings according to the description here: http://svn.pmapper.net/trac/wiki/DocQuickinstall#PHP.INI see especially the parts that are marked as IMPORTANT!!! You get a series of notices and probably have display errors set to on, therefore you likely get the last warning message saying that the headers have already been sent. armin -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Export to shapefile
Hello Francisco and Armin, I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0) with the Export to SHP working. I added the dbase extension via PECL repository, running the command: $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1 After, I added the path on the file /../php5/apache2/php.ini ;; ; Dynamic Extensions ; ;; extension=/usr/lib/php5/20090626+lfs/php_mapscript.so extension=/usr/lib/php5/20090626+lfs/dbase.so And on the file /../../config_default.xml pluginsConfig export formatsCSV/formats formatsPDF/formats formatsSHP/formats /export Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? Best regards, Pedro Venâncio - Original Message - From: Armin Burger you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Export to shapefile
Estimados: Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP, entiendo que las capas de Postgis no se puedan pasar pero debería ser una limitante? Saludos EB friends: I installed as is Pedro said, PECL extensions, and still can not export to SHP,. I understand that the layers of Postgis not be passed but, it should be a limitation? regards EB 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Francisco and Armin, I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0) with the Export to SHP working. I added the dbase extension via PECL repository, running the command: $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1 After, I added the path on the file /../php5/apache2/php.ini ;; ; Dynamic Extensions ; ;; extension=/usr/lib/php5/20090626+lfs/php_mapscript.so extension=/usr/lib/php5/20090626+lfs/dbase.so And on the file /../../config_default.xml pluginsConfig export formatsCSV/formats formatsPDF/formats formatsSHP/formats /export Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? Best regards, Pedro Venâncio - Original Message - From: Armin Burger you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Eduardo -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Export to shapefile
Pedro: I can't install Spreadsheet_Excel_Writer, eduardo@eduardo:~$ pear install Spreadsheet_Excel_Writer-0.9.2 No releases available for package pear.php.net/Spreadsheet_Excel_Writer install failed I listed the channels eduardo@eduardo:~$ pear list-channels Registered Channels: Channel Alias Summary doc.php.net phpdocs PHP Documentation Team pear.php.net pearPHP Extension and Application Repository pecl.php.net peclPHP Extension Community Library What is wrong? 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Eduardo, I imagine you've restarted Apache, right? I do not know, I was able to get the function to work on two machines (Ubuntu and Debian), and the only thing I did beyond what I described was also put support for Export to XLS: $ sudo pear install OLE channel://pear.php.net/OLE-1.0.0RC1 $ sudo pear install Spreadsheet_Excel_Writer and then $ sudo /etc/init.d/apache2 restart Try installing these packages more. Best regards, Pedro Venâncio From: Eduardo Bieñkowski Estimados: Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP, entiendo que las capas de Postgis no se puedan pasar pero debería ser una limitante? Saludos EB friends: I installed as is Pedro said, PECL extensions, and still can not export to SHP,. I understand that the layers of Postgis not be passed but, it should be a limitation? regards EB 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Francisco and Armin, I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0) with the Export to SHP working. I added the dbase extension via PECL repository, running the command: $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1 After, I added the path on the file /../php5/apache2/php.ini ;; ; Dynamic Extensions ; ;; extension=/usr/lib/php5/20090626+lfs/php_mapscript.so extension=/usr/lib/php5/20090626+lfs/dbase.so And on the file /../../config_default.xml pluginsConfig export formatsCSV/formats formatsPDF/formats formatsSHP/formats /export Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? Best regards, Pedro Venâncio - Original Message - From: Armin Burger you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Eduardo -- Eduardo -- Get a FREE DOWNLOAD! and
Re: [pmapper-users] Export to shapefile
Sorry Eduardo, I forgot to put the channel. Try this sudo pear install Spreadsheet_Excel_Writer channel://pear.php.net/Spreadsheet_Excel_Writer-0.9.2 Pedro From: Eduardo Bieñkowski Pedro: I can't install Spreadsheet_Excel_Writer, eduardo@eduardo:~$ pear install Spreadsheet_Excel_Writer-0.9.2 No releases available for package pear.php.net/Spreadsheet_Excel_Writer install failed I listed the channels eduardo@eduardo:~$ pear list-channels Registered Channels: Channel Alias Summary doc.php.net phpdocs PHP Documentation Team pear.php.net pear PHP Extension and Application Repository pecl.php.net pecl PHP Extension Community Library What is wrong? 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Eduardo, I imagine you've restarted Apache, right? I do not know, I was able to get the function to work on two machines (Ubuntu and Debian), and the only thing I did beyond what I described was also put support for Export to XLS: $ sudo pear install OLE channel://pear.php.net/OLE-1.0.0RC1 $ sudo pear install Spreadsheet_Excel_Writer and then $ sudo /etc/init.d/apache2 restart Try installing these packages more. Best regards, Pedro Venâncio From: Eduardo Bieñkowski Estimados: Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP, entiendo que las capas de Postgis no se puedan pasar pero debería ser una limitante? Saludos EB friends: I installed as is Pedro said, PECL extensions, and still can not export to SHP,. I understand that the layers of Postgis not be passed but, it should be a limitation? regards EB 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Francisco and Armin, I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0) with the Export to SHP working. I added the dbase extension via PECL repository, running the command: $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1 After, I added the path on the file /../php5/apache2/php.ini ;; ; Dynamic Extensions ; ;; extension=/usr/lib/php5/20090626+lfs/php_mapscript.so extension=/usr/lib/php5/20090626+lfs/dbase.so And on the file /../../config_default.xml pluginsConfig export formatsCSV/formats formatsPDF/formats formatsSHP/formats /export Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? Best regards, Pedro Venâncio - Original Message - From: Armin Burger you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Eduardo
Re: [pmapper-users] Export to shapefile
I installed the Spreadsheet and not working excel file generation. Eduardo 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Sorry Eduardo, I forgot to put the channel. Try this sudo pear install Spreadsheet_Excel_Writer channel:// pear.php.net/Spreadsheet_Excel_Writer-0.9.2 Pedro From: Eduardo Bieñkowski Pedro: I can't install Spreadsheet_Excel_Writer, eduardo@eduardo:~$ pear install Spreadsheet_Excel_Writer-0.9.2 No releases available for package pear.php.net/Spreadsheet_Excel_Writer install failed I listed the channels eduardo@eduardo:~$ pear list-channels Registered Channels: Channel Alias Summary doc.php.net phpdocs PHP Documentation Team pear.php.net pearPHP Extension and Application Repository pecl.php.net peclPHP Extension Community Library What is wrong? 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Eduardo, I imagine you've restarted Apache, right? I do not know, I was able to get the function to work on two machines (Ubuntu and Debian), and the only thing I did beyond what I described was also put support for Export to XLS: $ sudo pear install OLE channel://pear.php.net/OLE-1.0.0RC1 $ sudo pear install Spreadsheet_Excel_Writer and then $ sudo /etc/init.d/apache2 restart Try installing these packages more. Best regards, Pedro Venâncio From: Eduardo Bieñkowski Estimados: Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP, entiendo que las capas de Postgis no se puedan pasar pero debería ser una limitante? Saludos EB friends: I installed as is Pedro said, PECL extensions, and still can not export to SHP,. I understand that the layers of Postgis not be passed but, it should be a limitation? regards EB 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com Hello Francisco and Armin, I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0) with the Export to SHP working. I added the dbase extension via PECL repository, running the command: $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1 After, I added the path on the file /../php5/apache2/php.ini ;; ; Dynamic Extensions ; ;; extension=/usr/lib/php5/20090626+lfs/php_mapscript.so extension=/usr/lib/php5/20090626+lfs/dbase.so And on the file /../../config_default.xml pluginsConfig export formatsCSV/formats formatsPDF/formats formatsSHP/formats /export Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? Best regards, Pedro Venâncio - Original Message - From: Armin Burger you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and
Re: [pmapper-users] Export to shapefile
On 23/08/2011 12:18, Pedro Venâncio wrote: Works, however it only works for files already in SHP as a data source (does not work for PostGIS data). I do not know if this is an imposition of the plugin. this could be. The export plugin was mainly done for having the results in Excel format, shapefile was more sort of a quick additional function. It required some additional values in the result (the Id's of the shapes), could be that this was not implemented for Postgis. On the other hand, I have a strange behavior... If I select some features, eg from a road network layer, and export to shp, it works fine. Then, if I refresh the map and select another features from a different layer, are exported the features of this new layer and the former (road network selection). Why is this happening? I don't have a clue why this should happen. The export is taken from the results in the user session. Normally any new select should overwrite this result and thus the export should just export the new result. Best thing would be to add a ticket for both problems in the Trac system (you need to create an account for Trac, you should see there a Register link). Otherwise it will likely get lost. If there is a ticket the chance that I have a closer look is somewhat higher... armin -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] Export to shapefile
Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 Confidencialidade: Esta mensagem (e eventuais ficheiros anexos) � destinada exclusivamente �s pessoas nela indicadas e tem natureza confidencial. Se receber esta mensagem por engano, por favor contacte o remetente e elimine a mensagem e ficheiros, sem tomar conhecimento do respectivo conte�do e sem reproduzi-la ou divulg�-la. Confidentiality Warning: This e-mail message (and any attached files) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. lf you are not the intended recipient of this message please notify the sender and delete and destroy all copies immediately. -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] Export to shapefile
you need to check the PHP error log (could be an error of deletion of the tmp dir with the shape), and Javascript errors in a JS console or in Firebug. The FAQ's contain a debugging how-to. armin On 22/08/2011 16:25, Francisco Caldeira wrote: Hi, As anyone tested the export to shapefile option on Linux with success? Works fine for me in Windows, but in Linux CentOS the button Download is never visible, although the zip file with the shapefile is created on the webserver… Regards Francisco Francisco Caldeira Serviço de GeoInformação I.N.E. - Instituto Nacional de Estatística Avenida António José de Almeida 1078 Lisboa Codex Portugal francisco.calde...@ine.pt (351) - 21 8426100 Ext. 1438 Confidencialidade: Esta mensagem (e eventuais ficheiros anexos) � destinada exclusivamente �s pessoas nela indicadas e tem natureza confidencial. Se receber esta mensagem por engano, por favor contacte o remetente e elimine a mensagem e ficheiros, sem tomar conhecimento do respectivo conte�do e sem reproduzi-la ou divulg�-la. Confidentiality Warning: This e-mail message (and any attached files) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. lf you are not the intended recipient of this message please notify the sender and delete and destroy all copies immediately. -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users