[Mapserver-users] OGR ovf access problem

Frank Warmerdam warmerdam at pobox.com
Thu Jun 24 06:46:16 PDT 2004


aaron wrote:
> Your ovf file probably has newline or empty characters,
> 
> ------- start of ovf file -------
> -> there should be no spacing here
> <...
> 
> ...>
> 
> Ty this, it worked for me...
> 
> ------- start of ovf file -------
> <...
> 
> ...>

Aaron,

Exactly right.  In fact the first thing the virtual file reader does is
check if the beginning 18 characters of the file match "<OGRVRTDataSource>".
If not, no attempt is made to read the file as a virtual file.

So, no extra white space, <?xml> lines or anything like that is allowed.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the MapServer-users mailing list