Re: [Geoserver-users] WFS layer without Workspace
Hi Stephan, Why do you need to remove the workspace? In my web application I parse the GetCapabilities reponse and remove the workspace name with a simple substring...(layerName = layerName.substring(layerName.indexOf(":") + 1)) Nuno Oliveira escreveu no dia terça, 30/07/2019 à(s) 14:30: > Hi, > as far as I know currently there is no way of getting ride of the > workspace name, all feature type names are qualified. > > According to OGC WFS standard [1], the feature type name can be qualified > or not (xsd:QName): > > > > > > > That say, in the case of GeoServer it makes sense to me that feature type > names are qualified for the global endpoint (possible names collision): > > http://localhost:8080/geoserver/ows?service=wfs&version=2.0.0&request=GetCapabilities > > > ... but indeed they could be unqualified for workspaces virtual services > end-points: > > http://localhost:8080/geoserver*/mvs/*ows?service=wfs&version=2.0.0&request=GetCapabilities > > > I guess, a functionality allowing unqualified feature types for the global > end-point could also be implemented, it would need to be activated on > demand and will only work as long there is no two feature types with the > same name. > > Hope it helps, > > [1] http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#135 > > On Thu, 2019-07-25 at 13:13 +, Klemm, Stephan - LISt wrote: > > Hello everyone, > > > > i need an solution for the name and attributes from a layer without the > Name of the Workspace. > > > > Currently each layer and every attribute of the layer has the syntax: > *workspace: > layername* or *workspace: attribute, *specifically *mvs:* > > > > Here the example response from > > > > GetCapabilities > > > > DescribeFeatureType > > > > GetFeature > > > > Is there a way to remove the workspace in the output of each Document? > > > > Kind regards, Stephan > > ___ > 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.nethttps://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- > Regards, > Nuno Oliveira > == > GeoServer Professional Services from the > experts! > Visit http://goo.gl/it488V for more information. > == > > Nuno Miguel Carvalho Oliveira > @nmcoliveira > Software Engineer > > GeoSolutions S.A.S. > Via di Montramito 3/A > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > http://www.geo-solutions.ithttp://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 > -- www.vfonsecaz.pt ___ 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: ht
Re: [Geoserver-users] WFS layer without Workspace
Hi, as far as I know currently there is no way of getting ride of the workspace name, all feature type names are qualified. According to OGC WFS standard [1], the feature type name can be qualified or not (xsd:QName): That say, in the case of GeoServer it makes sense to me that feature type names are qualified for the global endpoint (possible names collision): http://localhost:8080/geoserver/ows?service=wfs&version=2.0.0&request=GetCapabilities ... but indeed they could be unqualified for workspaces virtual services end-points: http://localhost:8080/geoserver/mvs/ows?service=wfs&version=2.0.0&request=GetCapabilities I guess, a functionality allowing unqualified feature types for the global end-point could also be implemented, it would need to be activated on demand and will only work as long there is no two feature types with the same name. Hope it helps, [1] http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#135 On Thu, 2019-07-25 at 13:13 +, Klemm, Stephan - LISt wrote: > Hello everyone, > > i need an solution for the name and attributes from a layer without > the Name of the Workspace. > > Currently each layer and every attribute of the layer has the syntax: > workspace: layername or workspace: attribute, specifically mvs: > > Here the example response from > > GetCapabilities > > > DescribeFeatureType > > > GetFeature > > > Is there a way to remove the workspace in the output of each > Document? > > Kind regards, Stephan > ___ > 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://w > ww.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: http://geoserver.org/co > mm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: ht > tps://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, Nuno Oliveira == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Nuno Miguel Carvalho Oliveira @nmcoliveira Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 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
[Geoserver-users] WFS layer without Workspace
Hello everyone, i need an solution for the name and attributes from a layer without the Name of the Workspace. Currently each layer and every attribute of the layer has the syntax: workspace: layername or workspace: attribute, specifically mvs: Here the example response from GetCapabilities [cid:image001.png@01D542FA.76BF3F80] DescribeFeatureType [cid:image002.png@01D542FB.23243E60] GetFeature [cid:image003.png@01D542FB.23243E60] Is there a way to remove the workspace in the output of each Document? Kind regards, Stephan ___ 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