Good morning.

A couple of years ago, I had to use GeoServer + Application Schema to create a 
WFS for the Buildings INSPIRE dataset. It was decided to use the XSD of the 
draft schema (it provides more data):

https://inspire.ec.europa.eu/draft-schemas/bu-ext2d/2.0/BuildingExtended2D.xsd

Now I need to do the same, but with Cadastral Parcels. But in this case, the 
schema I have to use is the 4.0:

https://inspire.ec.europa.eu/schemas/cp/4.0/CadastralParcels.xsd

Both of those schemas need the namespace "base". The issue is that bu-ext2d 
uses the version 3.2 and cp uses the version 3.3. As far as I know, in 
GeoServer is not possible to create two namespaces with the same name.

Is there a way to make Application Schema pic a different base version 
depending on the INSPIRE theme?

If I create the namespace with these parameters, Buildings work fine, but 
Cadastral Parcels fail:

<namespace>
    <id>base_namespace</id>
    <prefix>base</prefix>
    <uri>urn:x-inspire:specification:gmlas:BaseTypes:3.2</uri>
</namespace>

On the other hand, if I create it with these parameters, Cadastral Parcels 
works fine, but Buildings fail:

<namespace>
    <id>base_namespace</id>
    <prefix>base</prefix>
    <uri>http://inspire.ec.europa.eu/schemas/base/3.3</uri>
</namespace>

I guess the direct solution would be changing the Buildings XSD from the draft 
schema to the 4.0 schema, but I wanted to ask in case there was a way to avoid 
it.

Thanks for any help provided!

Best regards.


?scar Diago Alonso
Ingeniero GIS
(+34) 945 13 13 72 | Plza. del Renacimiento, 9, 2.? planta, Oficina 2 - 01004 
Vitoria-Gasteiz
[https://geograma.com/wp-content/banners/img27102023.png]<https://www.linkedin.com/company/geograma/>
Si no ves la imagen puedes acceder desde 
aqu?<https://www.linkedin.com/company/geograma/>

Esta comunicaci?n contiene informaci?n de acceso restringido y de uso exclusivo 
del destinatario. Si usted no es el destinatario tenga en cuenta que cualquier 
distribuci?n, copia o uso de esta comunicaci?n o la informaci?n que contiene 
est? estrictamente prohibida. Si usted ha recibido esta comunicaci?n por error 
por favor notif?quelo en la direcci?n d...@geograma.com. Tratamos su direcci?n 
de correo electr?nico y otros datos personales para mantener el contacto y 
comunicaci?n con Ud. y, en su caso, remitirle informaci?n sobre nuestros 
productos y servicios. Si no desea recibir tal informaci?n env?e un e-mail en 
tal sentido a d...@geograma.com. Puede acceder, rectificar y suprimir los 
datos, as? como otros derechos, como se detalla en la informaci?n adicional y 
completa a su disposici?n en nuestra pol?tica de privacidad en la URL 
www.geograma.com/politica-privacidad/.

[https://geograma.com/wp-content/banners/web.png]<https://www.geograma.com/>  
[https://geograma.com/wp-content/banners/in.png] 
<geograma.com/wp-content/eventos/linkedin.php>
_______________________________________________
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

Reply via email to