Bug 620

Summary: internal server error (500) with extract shapefile
Product: Chameleon Reporter: Bart van den Eijnden <bartvde@osgis.nl>
Component: WidgetAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.99   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments: GML file

Description From 2004-08-18 06:22:26
Apache error log:

Premature end of script headers: php.exe, referer:
http://www.vz.geodan.nl:1111/chameleon//widgets/ExtractWFSData/ExtractWFSData.phtml?&chkCompress=1&selectedlayers=l18:bodemkaart250%20&sid=41232d0a813b4&szCompressionFormat=ZIP&szOutputFormat=Shape%7CGML

Downloading GML works okay. Using ogr2ogr to translate the GML into shapefile
also works fine. I used ogr2ogr from the latest openEV_FW.

Will put the WFS extraction GML zip as a bugzilla attachment.

Maybe the php_ogr php module binary should be updated against a newer GDAL/OGR
version? The current version is from October 2003.
------- Comment #1 From 2004-08-18 06:23:51 -------
Created an attachment (id=49) [details]
GML file
------- Comment #2 From 2004-08-18 22:34:21 -------
Bart, the php_ogr module has not changed since then.  I'll check and see if it
can be rebuilt with a newer gdal/ogr ... but it is entirely unfunded so unlikely
to happen in the near future.
------- Comment #3 From 2004-08-20 09:59:03 -------
I succeeded in building a new php_ogr.dll against GDAL 1.2.1 and the problem is
now solved. Let me know if you want the binary. It uses Xerces 1.7 though
instead of 1.6 which Mapserver (and Mapscript I think) usually use.