Hello everyone,

Has anyone managed to get the plugin exporting to SHP with Mapserver 6 and 
pMapper 4.2.0?

I see that there were some changes to the export plugin from 4.1.1 to 4.2.0, to 
support Mapserver 6 and PostGIS layers, however, in my tests on a Ubuntu 
machine it is not working properly, the shapes out are corrupted (as you can 
see in the example I've put on my previous post).

Thank you!

Best regards,
Pedro Venâncio






----- Forwarded Message -----
From: Pedro Venâncio 

Correcting my previous email... 

Opening the DBF in OpenOffice, the attributes appear correctly.

Opening the SHP in QGIS, the attribute table is blank and the geometry does not 
appear. 

In gvSIG appear the data of the attribute table, but not the geometry. 

ArcGIS returns the message:
Error opening feature class
Number of shapes does not match the number of table records

I leave here an example: 
http://dl.dropbox.com/u/5772257/shp_rqa23m4v49sa1mh3dos3gfeto3.zip  

Best regards,
Pedro





----- Forwarded Message -----

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


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to