If they are individual lines that you want to simplify I would think you could 
use a view with a query using PostGIS's ST_Simplify function;

https://postgis.net/docs/manual-dev/ST_Simplify.html 
<https://postgis.net/docs/manual-dev/ST_Simplify.html>

Russ

> On 26 Oct 2022, at 09:53, XAVIER RAYO SARRIAS <xr...@utm.csic.es> wrote:
> 
> Hi sall,
> I have a polyline layer with many features coming from a postgis database. 
> >The thing is that I need to be able to download those features individually 
> in gml format but with a maximum number of nodes, specifically 999. Is there 
> a way to "simplify" those lines to this number of nodes?
> 
> Thanks a lot for your help!
> 
> xavi
> _______________________________________________
> 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

Reply via email to