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.000000, 0.000000) - (0.000000, 0.000000) 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