[mapserver-users] FW: [MapServer] #3256: No valid WFS geometries from Oracle Spatial data source via PHP MapScript

Nolte, Tim Tim.Nolte at ipcswirelessinc.com
Thu Jan 7 08:03:21 EST 2010


Has anyone else experienced this issue and aware of a fix?

- Tim

----
Timothy J Nolte - tnolte at ilpcs.com
Network Planning Engineer

4717 Broadmoor Ave, Suite G
Kentwood, MI 49512

Office:  616-656-5163
PCS:     616-706-2438
Support: 616-929-0289
Fax:     616-554-6484


-----Original Message-----
From: trac at osgeo.org [mailto:trac at osgeo.org] 
Sent: Wednesday, January 06, 2010 4:48 PM
To: undisclosed-recipients
Subject: [MapServer] #3256: No valid WFS geometries from Oracle Spatial data source via PHP MapScript

#3256: No valid WFS geometries from Oracle Spatial data source via PHP MapScript
---------------------------------+------------------------------------------
 Reporter:  tnolte               |       Owner:  sdlime     
     Type:  defect               |      Status:  new        
 Priority:  normal               |   Milestone:             
Component:  MapServer C Library  |     Version:  5.6        
 Severity:  normal               |    Keywords:  oracle, wfs
---------------------------------+------------------------------------------
 I'm using a PHP MapScript WFS wrapper script:


 {{{
 $request = ms_newOwsRequestObj();

 /* set some parameters specifically */
 if (!array_key_exists('SERVICE',$_REQUEST)) {
         $_REQUEST['SERVICE'] = "WFS";
 }

 if (!array_key_exists('VERSION',$_REQUEST)) {
         $_REQUEST['VERSION'] = "1.0.0";
 }

 foreach ($_REQUEST as $key => $value) {
         $request->setParameter($key, $value);
 }

 ms_ioinstallstdouttobuffer();

 if ($_GET['features'] == "sites") {
         $oMap = ms_newMapObj("../map/sites.map");
 } else {
         $oMap = ms_newMapObj("../map/wfs.map");
 }

 $oMap->owsdispatch($request);

 $contenttype = ms_iostripstdoutbuffercontenttype();

 $buffer = ms_iogetstdoutbufferstring();

 header('Content-Type: '.$contenttype);
 echo $buffer;

 ms_ioresethandlers();
 }}}

 My WFS client is receiving the data columns but there is no geometry data
 returned to the client to map. The client that I an using is MapInfo
 9.5.1. Server versions are: Apache 2.2.4, PHP 5.2.6, Oracle 10G R2,
 MapServer 5.6

-- 
Ticket URL: <http://trac.osgeo.org/mapserver/ticket/3256>
MapServer <http://mapserver.org>
MapServer


More information about the mapserver-users mailing list