[fdo-trac] #73: OGR Provider 3.2.0 - 3.2.2 cann't load S-57

FDO trac_fdo at osgeo.org
Sun May 20 21:07:42 EDT 2007


#73: OGR Provider 3.2.0 - 3.2.2 cann't load S-57
----------------------------+-----------------------------------------------
   Reporter:  hhayashi      |       Owner:  Traian
       Type:  defect        |      Status:  new   
   Priority:  major         |   Milestone:  3.3.0 
  Component:  OGR Provider  |     Version:  3.2.0 
   Severity:  1             |    Keywords:        
External_id:                |  
----------------------------+-----------------------------------------------
 I'm using MGOS 1.1.0 and AutodeskStudio2007SP1a, getting in trouble in
 connecting OGR Provider and S-57(ENC) files to a site.

 Exception occurred in method MgServerDescribeSchema.ExecuteDescribeSchema
 at lin e 187 in file ServerDescribeSchema.cpp
 'FdoPtr::operator->': Cannot execute function due to invalid value


 ------------------------
 System Modules and data:
 MGOS 1.1.0
 FDO 3.2.026
 OGRProvider.dll(OGRProvider-3.2.0.win32.zip)

 S-57 File:US5TX51M.000(for TEST DATA from Frank's S-57 Page)

 S57 Control Options:
 OGR_S57_OPTIONS =
 RETURN_PRIMITIVES=ON,RETURN_LINKAGES=ON,LNAM_REFS=ON,SPLIT_MULITPOINT=ON
 ,ADD_SOUNDG_DEPTH=ON,PRESERVE_EMPTY_NUMBERS=ON
 GDAL_DATA=C:\Program
 Files\MapGuideOpenSource\WebServerExtensions\www\data
 S57_CSV=C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\data

 Operation:
 1) Run MgServer with the CPL_DEBUG environment variable set to ON.
 2) Create data connections for US5TX51M.000(S-57) data.
 3) Add new layer and set a s-57 data resource.

 ----------------debug message--------------------
 C:\Program Files\MapGuideOpenSource\Server\Bin>mgserver run
 Running the server interactively as an application instead of as a
 service.

 (120|2336) Server starting...
 (120|2336) PROJ4 Coordinate System Library
 (120|2336) Server started.

 destroying connection
 Close OGR connection
 Attempt OGR connect to C:\demo\S57\ENC_ROOT\US5TX51M.000
 ReadOnly 1
 OGR: OGROpen(C:\demo\S57\ENC_ROOT\US5TX51M.000/0DBA0048) succeeded as
 S57.
 Attempt OGR connect to C:\demo\S57\ENC_ROOT\US5TX51M.000
 ReadOnly 1
 OGR: OGROpen(C:\demo\S57\ENC_ROOT\US5TX51M.000/0DD51ED0) succeeded as
 S57.
 Feature class name: DSID
 Attribute : DSID_EXPP
 Attribute : DSID_INTU
 ......
 Attribute : DSPM_SOMF
 Attribute : DSPM_COMT
 Geometry column : GEOMETRY
 (3476|3352) An exception occurred in FDO component.
 'FdoPtr::operator->': Cannot execute function due to invalid value
 for the in
 put parameter(s) 'p'.
 Exception occurred in method
 MgServerDescribeSchema.ExecuteDescribeSchema at lin
 e 187 in file
 c:\build_bond_area\mapguide_open_source\build_3.1\mgdev\server\src
 \services\feature\ServerDescribeSchema.cpp


 OGR Provider 3.2.2 and MGOS1.2 beta1 is same.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/73>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list