[mapserver-users] MapServer 6.4.1 OGR output error
Eichner, Andreas - SID
Andreas.Eichner at sid.sachsen.de
Fri Feb 20 02:28:49 PST 2015
You can't use OGR output formats that way. Calling msPrepareImage() on them triggers a NULL pointer dereference (fixed in https://github.com/mapserver/mapserver/pull/5069).
So using
$image = $map->draw()
$image_url = $image->saveWebImage()
is definitely the wrong way. The MapServer code hints to use msGMLWriteQuery() for that which seems to be exported as
$map->savequeryasgml(string filename, string namespace)
Documentation is rare on that...
> Am I the only one having problems outputting OGR files ? Does anybody know
> what I could be doing wrong ?
More information about the MapServer-users
mailing list