Hi Tim,
please read my answers bellow :)
On 06/06/2018 06:13 AM, Tim Balschmiter wrote:
Hi Geoserver -community,
i tryed to use Geoserver 2.13.1 with the app-schema-plugin for the
output of INSPIRE conformed download services. In my opinion the most
things are working perfectly and the other things i´m to stupid to
configure it.
This is a complex topic, if you already manage to map and publish your complex
types you already did the most difficult part !
So maybe some of you has a solution for my problems:
First Problem: WFS 2.0 is using the schema for WFS Version 1.1.0 in a
getFeature-request, for example:
https://geo.sv.rostock.de/inspire/us-govserv-schools/ows?service=WFS&version=2.0.0&request=GetFeature&typeNames=us-govserv-schools:GovernmentalService&outputFormat=gml3&maxFeatures=1
Regarding this request you are asking for GML3 ... which implies WFS 1.1.0 and
GML 3 schemas. Your target INSPIRE schema uses GML32, so you should request for
GML32 output IMHO:
https://geo.sv.rostock.de/inspire/us-govserv-schools/ows?service=WFS&version=2.0.0&request=GetFeature&typeNames=us-govserv-schools:GovernmentalService&*outputFormat=gml32*&maxFeatures=1
This should return the expect result.
in the getcapabilitie request everything seams to work fine:
https://geo.sv.rostock.de/inspire/us-govserv-schools/ows?service=WFS&version=2.0.0&request=GetCapabilities
The second Problem is that i get a lot of "null"-namespaces in my
output-file. The solutions reported in stackoverflow and your jira ( to
send the request to the main url) does not work in my case.
My quick take on this one is that the auxiliary name spaces where no declared in
GeoServer, so my suggestion is that you should create an workspaces for each one
of this name spaces:
act-core-4.0 *** http://inspire.ec.europa.eu/schemas/act-core/4.0
ad-4.0 *** http://inspire.ec.europa.eu/schemas/ad/4.0
au-4.0 *** http://inspire.ec.europa.eu/schemas/au/4.0
base-3.3 *** http://inspire.ec.europa.eu/schemas/base/3.3
base2-2.0 *** http://inspire.ec.europa.eu/schemas/base2/2.0
bu-core2d-4.0 *** http://inspire.ec.europa.eu/schemas/bu-core2d/4.0
gn-4.0 *** http://inspire.ec.europa.eu/schemas/gn/4.0
net-4.0 *** http://inspire.ec.europa.eu/schemas/net/4.0
us-net-common-4.0 *** http://inspire.ec.europa.eu/schemas/us-net-common/4.0
ShapeChange-AppInfo ***
http://www.interactive-instruments.de/ShapeChange/AppInfo
The workspace name is irrelevant but the name spaces need to match, e.g. for the
first namespace:
act-core-4.0 *** http://inspire.ec.europa.eu/schemas/act-core/4.0
The following workspace should be created:
prefix: act-core-4.0
namespace: http://inspire.ec.europa.eu/schemas/act-core/4.0
Then GeoServer GML encoder will know which name spaces to use when encoding the
GML file.
Thanks for helping me.
Tim
Hope it helps.
Regards,
Nuno Oliveira
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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,
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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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