Hi list,

I have encountered a weird behavior with ogr extension and GeoServer.
The extension has been installed as usual, in the lib directory. ogr2ogr
is installed in /usr/local/bin and is available in the PATH making a
single call to ogr2ogr effective.
But none of the default OGR formats appear on the WFS formats list.
Looking at the geoserver.log, I can see :
29 Jul 11:16:04 ERROR [wfs.response] - Skipping 'OGR-TAB' as its OGR
format 'MapInfo File' is not among the ones supported by
/usr/local/bin/ogr2ogr
29 Jul 11:16:04 ERROR [wfs.response] - Skipping 'OGR-MIF' as its OGR
format 'MapInfo File' is not among the ones supported by
/usr/local/bin/ogr2ogr
29 Jul 11:16:04 ERROR [wfs.response] - Skipping 'OGR-CSV' as its OGR
format 'CSV' is not among the ones supported by /usr/local/bin/ogr2ogr
29 Jul 11:16:04 ERROR [wfs.response] - Skipping 'OGR-KML' as its OGR
format 'KML' is not among the ones supported by /usr/local/bin/ogr2ogr

but actually, calling ogr2ogr --long-usage (as geoserver does as I could
see in the code) does report these formats.

So I guess there is a mismatch somewhere between the internal format
list build by geoserver against ogr2ogr --long-usage and the requested
default formats. I've been trying using a ogr2ogr.xml file and playing
with the formats names (adding quotes and spaces around) with no success.

would one of you guys have any idea on how to activate the OGR formats ?

Best regards

Guillaume

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to