<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Stephen Woodbridge ha scritto:
<blockquote cite="mid:499245AF.5020601@swoodbridge.com" type="cite">Greg
Luker wrote:
<br>
<blockquote type="cite">Hi Stephen,
<br>
<br>
At 10:37 AM 11/02/2009, you wrote:
<br>
<blockquote type="cite">Just move you map file outside the apache
root directory.
<br>
</blockquote>
<br>
Thanks for your reply. As far as I know, the .map file is already
outside the apache root directory. Attached is the 'View/Source' output
- I just noticed error messages in it - does this point to a problem?
(I replaced sensitive info with ***)
<br>
</blockquote>
<br>
yes, this is an error message, not your mapfile. Granted it does have
mapfile information in it and more specifically it is an error
generated by the GDAL libraries from within mapserver.
<br>
<br>
So, I am reposting this to the list, because there are probably people
there that are better able to respond to this issue, which is why it is
always good to do a Reply All so the message goes back to the list and
it helps other that might have the same problem searching the archives.
<br>
<br>
-Steve W
<br>
<pre wrap=""><pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre></pre>
</blockquote>
This is an error generated from Mapserver when a layer CONNECTION is a
string longer than 1024 chars.<br>
Normally a CONNECTION is a file path, e.g. to an .ovf file, never
longer than 1024. In case of INLINE ovf connection, it should be <
1024, otherwise developer must flush the ovf xml in an external file
and point it by its path in CONNECTION.<br>
<br>
example: <br>
wrong:<br>
<pre wrap="">LAYER
CONNECTIONTYPE OGR
CONNECTION "<OGRVRTDataSource>
<OGRVRTLayer name="pexact">
<SrcDataSource>MYSQL:***
.... etc etc etc ....
</OGRVRTDataSource>"
</pre>
right:<br>
<pre wrap="">LAYER
CONNECTIONTYPE OGR
CONNECTION "/path/to/ovf_file.ovf"
</pre>
<br>
This was a past head-scratching trouble: see
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/c--mapscript%3A-a-strange-behavior-with-ovf-inline-connection-td2204192.html#a2213212">http://n2.nabble.com/c--mapscript%3A-a-strange-behavior-with-ovf-inline-connection-td2204192.html#a2213212</a><br>
<br>
ciao<br>
...............pg <br>
<pre class="moz-signature" cols="72">--
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E</pre>
</body>
</html>