Is the geometry column of a type supported by shapefile? Some systems (example oracle) can be configured to work with a generic geometry, and thus we do not know what kind of shapefile to create when being asked to save out a shapefile.
Shapefiles must all be of the same type, rather than of mixed types. -- Jody Garnett On Tue, 18 Feb 2020 at 20:08, Tobias Schulmann <[email protected]> wrote: > On Tue, 2020-02-18 at 11:07 +0100, Andrea Aime wrote: > > Can you share the full stack trace? > > Sure, here's the entire trace: > https://gist.github.com/GeoTob/e56dd23ee25438023d9424e4e1c3d04b > > Is the layer in question a simple feature one, and does it actually have a > geometry column? > > The layer does have a geometry column: > https://gist.github.com/GeoTob/5ef10644c0336cb686c3ac4e325afde3 > > > Thanks for the help ! > > Cheers > Andrea > > On Mon, Feb 17, 2020 at 11:33 PM Tobias Schulmann <[email protected]> > wrote: > > Hi > > When trying to generate shape-zip output for layers in PostGIS(JNDI) and > PostGIS stores, GeoServer reports the following error: > > java.io.IOException: java.io.IOException: Error in shapefile schema. It is > possible you don't have a geometry set in the output. > at > org.geotools.data.shapefile.ShapefileDumper.dump(ShapefileDumper.java:302) > at > org.geotools.data.shapefile.ShapefileDumper.dump(ShapefileDumper.java:215) > > > The documentation on SHAPE-ZIP > https://docs.geoserver.org/latest/en/user/services/wfs/outputformats.html#shapefile-output > doesn't seem to mention anything useful. Is this a configuration problem on > our end or an issue in GeoServer? > > Thanks > Tobias > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
