[Geoserver-devel] GSIP 207, feature type info customization

Hi,

+1, much easier than to play with schema.xsd and offers more features, especially for non-SQL data sources when a database view is not an option.

Maybe there could be a test button that tests if new names are valid in XML and if type casts are possible and/or lossless.

-Jukka Rahkonen-

···

Lähettäjä: Ian Turton <ijturton@…403…>
Lähetetty: keskiviikko 22. joulukuuta 2021 15.21
Vastaanottaja: Andrea Aime <andrea.aime@…6887…>
Kopio: GeoServer geoserver-devel@lists.sourceforge.net
Aihe: Re: [Geoserver-devel] GSIP 207, feature type info customization

All sounds good to me, only question that occurs to me is about the filter does this apply to the data coming from the datastore as now or the new data?

Ian

On Wed, 22 Dec 2021, 11:04 Andrea Aime, <andrea.aime@…6887…> wrote:

Hi all,

please read and discuss GSIP 207, proposing to make the feature type

attribute table editable and customizable, for simple features:

https://github.com/geoserver/geoserver/wiki/GSIP-207

Feedback and votes welcomed

Cheers

Andrea

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 333 8128928

https://www.geosolutionsgroup.com/

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-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi,

+1, much easier than to play with schema.xsd and offers more features, especially for non-SQL data sources when a database view is not an option.

Yes, that’s the main target.

Maybe there could be a test button that tests if new names are valid in XML and if type casts are possible and/or lossless.

Service validity checks would be a GSIP of their own, WFS is not necessarily active, and not necessarily used to serve data in GML
(I see installations where WFS is just a means to get GeoJSON for example).

Making sure the type casts are sensible is an interesting idea… conversion is performed via GeoTools Converter implementations,
which are pluggable. What I could do, is to add a check on whether a converter exists, that goes from the native type to the
target type, using Converters.getConverterFactories(source, target). However, I have no way to tell if the conversion
will be lossless, or not… maybe the feature type should be marked as read-only in that case, as there is no guarantee
the back-mapping would produce something sensible… on the other end, it might, and the mechanism would deny also
working situations.
What about documenting the issue, and letting the admin decide whether editing should be allowed, using the security
sub-system (there is no other way to make a feature type read only)?

Cheers
Andrea

···

GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 333 8128928

https://www.geosolutionsgroup.com/

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