Stephen Woodbridge ha scritto:
Greg Luker wrote:
Hi Stephen,

At 10:37 AM 11/02/2009, you wrote:
Just move you map file outside the apache root directory.

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 ***)

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.

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.

-Steve W

_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
This is an error generated from Mapserver when a layer CONNECTION is a string longer than 1024 chars.
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.

example:
wrong:
LAYER
    	CONNECTIONTYPE    OGR    
	CONNECTION 	"<OGRVRTDataSource>
				<OGRVRTLayer name="pexact">
					<SrcDataSource>MYSQL:***
					 .... etc etc etc .... 
			</OGRVRTDataSource>"

right:
LAYER
    	CONNECTIONTYPE    OGR    
	CONNECTION "/path/to/ovf_file.ovf"

This was a past head-scratching trouble:  see  http://n2.nabble.com/c--mapscript%3A-a-strange-behavior-with-ovf-inline-connection-td2204192.html#a2213212

ciao
...............pg
-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to