Looked at the trace, it provides no extra useful information unfortunately, it's just failing to create the shapefile headers somehow... EPSG:2193 should not be problematic, it's a plain transverse mercator...
Not sure, for reference I tried out a small dataset I have handy, there seems to be no issue: http://vtp2.geo-solutions.it/geoserver/vtp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=vtp%3AHydrographySrf&outputFormat=SHAPE-ZIP So, it seems specific to your setup, but not sure where to look... did you try other layers? Other data sources? Other map projections? Was by any chance the geometry removed used the propertyNames parameter? Cheers Andrea On Tue, Feb 18, 2020 at 8:14 PM 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 > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.*
_______________________________________________ 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
