Stephen Woodbridge ha scritto:
Greg Luker wrote: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
