Re: [Geoserver-users] Reduce number of nodes from line in gml format

2022-10-27 Thread xavi rayo
Thanks Russ, I'll check it out!
I guess it will be similar to the WPS process Simplify which uses the
Douglas-Peucker
algorithm to simplify the line using a given distance. I was wondering if
it could be possible to set the number of nodes instead of the distance.

Thanks!

Missatge de Russ Hore  del dia dc., 26 d’oct. 2022 a
les 13:37:

> 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
>
> Russ
>
> On 26 Oct 2022, at 09:53, XAVIER RAYO SARRIAS  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
>
___
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] Reduce number of nodes from line in gml format

2022-10-26 Thread Russ Hore
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 


Russ

> On 26 Oct 2022, at 09:53, XAVIER RAYO SARRIAS  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


[Geoserver-users] Reduce number of nodes from line in gml format

2022-10-26 Thread XAVIER RAYO SARRIAS
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