On 07/06/18 08:37, Nuno Oliveira wrote:
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.
Tim,
these are known as secondary namespace:
http://docs.geoserver.org/latest/en/user/data/app-schema/secondary-namespaces.html
Kind regards,
--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand
------------------------------------------------------------------------------
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