Re: [Geoserver-users] WFS SHAPE-ZIP Output not working
Thank you all for your suggestions, we've spent a while trying with various data sets and DB setups. Ultimately I managed to track this down to an extension that wasn't properly upgraded from 2.15 to 2.16 internally, so the problem was on our side, not with the project. CheersTobi On Fri, 2020-02-21 at 10:04 +0100, Jody Garnett wrote: > Nice, so we are back to having a mystery here. > -- > Jody Garnett > > On Fri, 21 Feb 2020 at 09:23, Andrea Aime < > andrea.a...@geo-solutions.it> wrote: > > Hi Jody, that has not been a problem for years now, the output > > format fans them out into one shapefile > > per geometric type. The ticket is so old that I had troubles > > finding it, and describes only part of what the > > code can actually do (deal with incompatible geometry types too): > > https://osgeo-org.atlassian.net/browse/GEOS-2201 > > > > See also the relevant test here: > > https://github.com/geoserver/geoserver/blob/e325806e05134dc967985797a928c72b6881ca35/src/wfs/src/test/java/org/geoserver/wfs/response/ShapeZipTest.java#L204 > > > > Cheers > > Andrea > > Il gio 20 feb 2020, 23:39 Jody Garnett ha > > scritto: > > > 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 < > > > tob...@catalyst.net.nz> 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 < > > > > > tob...@catalyst.net.nz> 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(Shapefil > > > > > > > eDumper.java:302) > > > > > > > at > > > > > > > org.geotools.data.shapefile.ShapefileDumper.dump(Shapefil > > > > > > > eDumper.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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Geoserver-users@lists.sourceforge.net > > > > > > > > > > > > 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 > > >
Re: [Geoserver-users] WFS SHAPE-ZIP Output not working
Nice, so we are back to having a mystery here. -- Jody Garnett On Fri, 21 Feb 2020 at 09:23, Andrea Aime wrote: > Hi Jody, that has not been a problem for years now, the output format fans > them out into one shapefile > per geometric type. The ticket is so old that I had troubles finding it, > and describes only part of what the > code can actually do (deal with incompatible geometry types too): > https://osgeo-org.atlassian.net/browse/GEOS-2201 > > See also the relevant test here: > > https://github.com/geoserver/geoserver/blob/e325806e05134dc967985797a928c72b6881ca35/src/wfs/src/test/java/org/geoserver/wfs/response/ShapeZipTest.java#L204 > > Cheers > Andrea > > Il gio 20 feb 2020, 23:39 Jody Garnett ha > scritto: > >> 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 >> 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 < >>> tob...@catalyst.net.nz> 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 >>> >>> >>> Geoserver-users@lists.sourceforge.net >>> 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 >>> >>> >>> Geoserver-users@lists.sourceforge.net >>> 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 >> >> >> Geoserver-users@lists.sourceforge.net >> 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-guide
Re: [Geoserver-users] WFS SHAPE-ZIP Output not working
Hi Jody, that has not been a problem for years now, the output format fans them out into one shapefile per geometric type. The ticket is so old that I had troubles finding it, and describes only part of what the code can actually do (deal with incompatible geometry types too): https://osgeo-org.atlassian.net/browse/GEOS-2201 See also the relevant test here: https://github.com/geoserver/geoserver/blob/e325806e05134dc967985797a928c72b6881ca35/src/wfs/src/test/java/org/geoserver/wfs/response/ShapeZipTest.java#L204 Cheers Andrea Il gio 20 feb 2020, 23:39 Jody Garnett ha scritto: > 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 > 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 >> 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 >> >> >> Geoserver-users@lists.sourceforge.net >> 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 >> >> >> Geoserver-users@lists.sourceforge.net >> 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 > > > Geoserver-users@lists.sourceforge.net > 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/list
Re: [Geoserver-users] WFS SHAPE-ZIP Output not working
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 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 > 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 > > > Geoserver-users@lists.sourceforge.net > 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 > > > Geoserver-users@lists.sourceforge.net > 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] WFS SHAPE-ZIP Output not working
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 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 > 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 > > > Geoserver-users@lists.sourceforge.net > 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 > > > Geoserver-users@lists.sourceforge.net > 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.ht
Re: [Geoserver-users] WFS SHAPE-ZIP Output not working
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 < > tob...@catalyst.net.nz> 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 > > > > > > > > > > > > Geoserver-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > signature.asc Description: This is a digitally signed message part ___ 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] WFS SHAPE-ZIP Output not working
Can you share the full stack trace? Is the layer in question a simple feature one, and does it actually have a geometry column? Cheers Andrea On Mon, Feb 17, 2020 at 11:33 PM Tobias Schulmann 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 > > > Geoserver-users@lists.sourceforge.net > 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] WFS SHAPE-ZIP Output not working
I have previously had issues if there is a space in the layer name but works fine for layers without spaces. But haven't used this recently. Vera On Mon., Feb. 17, 2020, 7:26 p.m. Tobias Schulmann, 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 > > > Geoserver-users@lists.sourceforge.net > 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] WFS SHAPE-ZIP Output not working
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 signature.asc Description: This is a digitally signed message part ___ 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users