OGR/OVF Issues

Avramov,Daniel [Ontario] Daniel.Avramov at EC.GC.CA
Tue Oct 11 16:04:18 EDT 2005


We have been experiencing some inconsistent behaviours using OGR/OVF to
connect to MS SQL Server 2000 

We are using MS Windows 2003 with IIS 6 

Ogrinfo works with the ovf file without any issues, however, using the
following url
http://142.97.226.38/wms/air_test_wms.asp?service=wms&version=1.1.1&requ
est=getmap&layers=testair
Results in only sometimes seeing the proper results and mostly results
in the following error:
"CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers."

Any test suggestions would be a great help.

For further info see the attached map file and the following ovf file


<OGRVRTDataSource>
  <OGRVRTLayer name="ozone1_layer">
 
<SrcDataSource>ODBC:user/password at cesi_air_wms_dsn,air1_map_2005</SrcDat
aSource>
    <SrcSQL>select air1_map_2005.latitude,air1_map_2005.longitude,
air1_map_2005.ozone2003_ppb,air1_map_2005.province_en,air1_map_2005.loca
tion_type_en from air1_map_2005</SrcSQL>
    <GeometryType>wkbPoint</GeometryType>
    <LayerSRS>WGS84</LayerSRS>
    <GeometryField encoding="PointFromColumns" x="longitude"
y="latitude" />
  </OGRVRTLayer>
</OGRVRTDataSource>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: air_map_2005_en.map
Type: application/octet-stream
Size: 8980 bytes
Desc: air_map_2005_en.map
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051011/1bea2289/air_map_2005_en.obj


More information about the mapserver-users mailing list