Hi Andrea, Thanks for your reply. yes, the screenMap variable is null. Where can i modify the code to send all geometries to my custom sld function ? Best regards, Fabrice
Le mar. 27 avr. 2021 à 12:45, Andrea Aime <andrea.a...@geo-solutions.it> a écrit : > There is a second mechanism, working in memory, that eliminates geometries > which are too small , but only if they fit inside a single pixel > that has been painted already by another feature (so at least one should > show up). It's called ScreenMap. > However, for SQL Server it should not be enabled. > > To verify whether it can be related to your issue or not, run GeoServer in > a debugger and put a breakpoint here: > > https://github.com/geotools/geotools/blob/f66689b5305eaf381e21dc2feec8011138d4cb24/modules/library/jdbc/src/main/java/org/geotools/jdbc/JDBCFeatureReader.java#L232 > > I would expect the screenmap hint to be null when using SQL Server (the > store does not support any form of generalization, at least, that I'm aware > of). > > Cheers > Andrea > > On Tue, Apr 27, 2021 at 12:36 PM BI IRIE FABRICE IRIE < > irie.fabr...@gmail.com> wrote: > >> Hi Ian, >> Thanks for your reply. >> I use SQL Server Database and not see the simplification option on the >> store configuration panel. >> Fabrice >> >> >> Le mar. 27 avr. 2021 à 12:22, Ian Turton <ijtur...@gmail.com> a écrit : >> >>> Do you have simplification turned on? >>> https://sourceforge.net/p/geoserver/mailman/message/34933034/ >>> >>> Ian >>> >>> On Tue, 27 Apr 2021 at 11:14, BI IRIE FABRICE IRIE < >>> irie.fabr...@gmail.com> wrote: >>> >>>> Hello Everyone, >>>> >>>> I use GeoServer version 2.16.2 with a SQL Server database. >>>> I have developed a custom function (extends FundtionExpressionImpl) >>>> that I use with my SLD. >>>> When rendering the layer, Geoserver does the database query and get all >>>> records. >>>> >>>> The problem is that not all records are sended to my custom function. >>>> Smaller entities (size < 0,7meter) are not transmitted. >>>> Is there a parameter to modify in geoserver so that it sends all >>>> records to my function ? >>>> >>>> Thank for your help and your time. >>>> Best Regards, >>>> Fabrice >>>> _______________________________________________ >>>> 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 >>>> >>> >>> >>> -- >>> Ian Turton >>> >> >> >> -- >> *you never know how far you can go until you try...* >> _______________________________________________ >> 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.* > -- *you never know how far you can go until you try...*
_______________________________________________ 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