msOGRFileNextShape(): OGR error. ORA-24374

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

msOGRFileNextShape(): OGR error. ORA-24374

Miguel Ancochea
Hi,

I get the above mentioned error when executing shp2img to test a WMS services which is not working.

I have installed ms4w version 3.0.3 just downloaded some days ago. My map file performs an OCI connection with Oracle Spatial using the following parameters:

......

 CONNECTION 'OCI:user/pass@instance'
 
 CONNECTIONTYPE ogr
 DATA "schema.mylayer"
  EXTENT -17.724716 26.303765 12.686911 52.698763
    METADATA
      'ows_title' 'mylayer'
   'wms_extent' '-17.724716 26.303765 12.686911 52.698763'
    END
........

When executing shp2img with -all_debug set to 5, I get the following (end of) output:

......
msOGRFileNextShape: Returning shape=16939, tile=0
msOGRFileNextShape: Returning shape=16940, tile=0
msOGRFileNextShape: Returning shape=16941, tile=0
msOGRFileNextShape(): OGR error. ORA-24374: definici≤n no realizada antes de rec
uperar o de ejecutar y recuperar
 in OCIStmtFetch
msOGRLayerClose(OCI:user/pass@instance).
msOGRFileClose(OCI:user/pass@instance,51).
msConnPoolRelease(CASCOURBANO_A,OCI:user/pass@instance,03C05F70)
msConnPoolClose(OCI:user/pass@instance,03C05F70)
msDrawMap(): Image handling error. Failed to draw layer named 'mylayer'.
msDrawMap(): Image handling error. Failed to draw layer named 'mylayer'. <
br>
msOGRFileNextShape(): OGR error. ORA-24374: definici≤n no realizada antes de rec
uperar o de ejecutar y recuperar
 in OCIStmtFetch <br>
msFreeMap(): freeing map at 0207C0D8.
freeLayer(): freeing layer at 03B817D0.
 .......

That is, it apparently reads most of the geometries on the layer (up to 16941) and then produces that error and stops. Layer contains polygons with EPSG:4320.

Anyone has a clue about how to solve this?

Thanks in advance