Discussion:
[Geoserver-users] Application schema: Feature not found
Markus Jackenkroll
2017-07-17 14:07:59 UTC
Permalink
Dear list,

I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.

It responded with an error:
Error occurred getting features
http://myserver.uni-hohenheim.de/XSD:Fertilization not found. Available:
[http://myserver.uni-hohenheim.de/XSD:Crop]

I suspect the error in the mapping:
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...

"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".

Do you have an idea what is causing this behaviour?

Best
Markus


------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Nuno Oliveira
2017-07-17 14:24:43 UTC
Permalink
Hi,

You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.

Regards,

Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
- 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
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

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge
Ben Caradoc-Davies
2017-07-17 21:57:51 UTC
Permalink
Markus,

sourceType must be the name of the source type (table or view name). If
you want fmis:Fertilization output, use
<targetElement>fmis:Fertilization</targetElement>; this element
specifies the output feature type.

Kind regards,
Ben.
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <***@transient.nz>
Director
Transient Software Limited <http://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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Markus Jackenkroll
2017-07-19 20:12:42 UTC
Permalink
Hey,

you are right. I changed the target attribute of the ID mapping:
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result
(fmis:Fertilization not found). I searched for the fmis:Fertilization
expression to all files but could not find it anywhere. I deleted the
cache of tomcat (work/Catalina/...) and browser as well. I does not
result in a change.

Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica
e/o nel/i file/s allegato/i sono da considerarsi strettamente
riservate. Il loro utilizzo è consentito esclusivamente al
destinatario del messaggio, per le finalità indicate nel messaggio
stesso. Qualora riceviate questo messaggio senza esserne il
destinatario, Vi preghiamo cortesemente di darcene notizia via
e-mail e di procedere alla distruzione del messaggio stesso,
cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo,
od utilizzarlo per finalità diverse, costituisce comportamento
contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended
solely for the attention and use of the named addressee(s) and may
be confidential or proprietary in nature or covered by the
provisions of privacy act (Legislative Decree June, 30 2003, no.196
- Italy's New Data Protection Code).Any use not in accord with its
purpose, any disclosure, reproduction, copying, distribution, or
either dissemination, either whole or partial, is strictly forbidden
except previous formal approval of the named addressee(s). If you
are not the intended recipient, please contact immediately the
sender by telephone, fax or e-mail and delete the information in
this message that has been received in error. The sender does not
give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for
changes made after they were sent or for other risks which arise as
a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https://lists.s
Nuno Oliveira
2017-07-19 20:51:27 UTC
Permalink
The example request you show is targeting fmsi:Fertilization type:
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization

You probably want to use fmis:Crop as the type name parameter.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result (fmis:Fertilization not found). I searched for the fmis:Fertilization expression to all files but could not find it anywhere. I deleted the cache of tomcat (work/Catalina/...) and browser as well. I does not result in a change.
Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
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

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge.net/lis
Ben Caradoc-Davies
2017-07-19 21:06:10 UTC
Permalink
Yes! Markus, please disregard my last email. I re-read your original
question and Nuno is correct.

Kind regards,
Ben.
Post by Markus Jackenkroll
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization
You probably want to use fmis:Crop as the type name parameter.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result
(fmis:Fertilization not found). I searched for the fmis:Fertilization
expression to all files but could not find it anywhere. I deleted the
cache of tomcat (work/Catalina/...) and browser as well. I does not
result in a change.
Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica
e/o nel/i file/s allegato/i sono da considerarsi strettamente
riservate. Il loro utilizzo è consentito esclusivamente al
destinatario del messaggio, per le finalità indicate nel messaggio
stesso. Qualora riceviate questo messaggio senza esserne il
destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail
e di procedere alla distruzione del messaggio stesso, cancellandolo
dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche
in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo
per finalità diverse, costituisce comportamento contrario ai principi
dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended
solely for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not
the intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any
warranty or accept liability as the content, accuracy or completeness
of sent messages and accepts no responsibility for changes made
after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <***@transient.nz>
Director
Transient Software Limited <http://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

Geoserver-***@lists.sourceforge.net
https://lists.sourcefo
Markus Jackenkroll
2017-07-20 20:13:22 UTC
Permalink
I did so and get:
<ows:ExceptionText>Feature type fmis:Crop unknown</ows:ExceptionText>

I am not sure, but my directories and filenames are all named
"fmis_Fertilization". Do I have to change that?
Post by Markus Jackenkroll
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization
You probably want to use fmis:Crop as the type name parameter.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result
(fmis:Fertilization not found). I searched for the
fmis:Fertilization expression to all files but could not find it
anywhere. I deleted the cache of tomcat (work/Catalina/...) and
browser as well. I does not result in a change.
Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an
existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica
e/o nel/i file/s allegato/i sono da considerarsi strettamente
riservate. Il loro utilizzo è consentito esclusivamente al
destinatario del messaggio, per le finalità indicate nel messaggio
stesso. Qualora riceviate questo messaggio senza esserne il
destinatario, Vi preghiamo cortesemente di darcene notizia via
e-mail e di procedere alla distruzione del messaggio stesso,
cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti,
copiarlo, od utilizzarlo per finalità diverse, costituisce
comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended
solely for the attention and use of the named addressee(s) and may
be confidential or proprietary in nature or covered by the
provisions of privacy act (Legislative Decree June, 30 2003,
no.196 - Italy's New Data Protection Code).Any use not in accord
with its purpose, any disclosure, reproduction, copying,
distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please
contact immediately the sender by telephone, fax or e-mail and
delete the information in this message that has been received in
error. The sender does not give any warranty or accept liability
as the content, accuracy or completeness of sent messages and
accepts no responsibility for changes made after they were sent
or for other risks which arise as a result of e-mail transmission,
viruses, etc.
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica
e/o nel/i file/s allegato/i sono da considerarsi strettamente
riservate. Il loro utilizzo è consentito esclusivamente al
destinatario del messaggio, per le finalità indicate nel messaggio
stesso. Qualora riceviate questo messaggio senza esserne il
destinatario, Vi preghiamo cortesemente di darcene notizia via
e-mail e di procedere alla distruzione del messaggio stesso,
cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo,
od utilizzarlo per finalità diverse, costituisce comportamento
contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended
solely for the attention and use of the named addressee(s) and may
be confidential or proprietary in nature or covered by the
provisions of privacy act (Legislative Decree June, 30 2003, no.196
- Italy's New Data Protection Code).Any use not in accord with its
purpose, any disclosure, reproduction, copying, distribution, or
either dissemination, either whole or partial, is strictly forbidden
except previous formal approval of the named addressee(s). If you
are not the intended recipient, please contact immediately the
sender by telephone, fax or e-mail and delete the information in
this message that has been received in error. The sender does not
give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for
changes made after they were sent or for other risks which arise as
a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge.net/lis
Nuno Oliveira
2017-07-24 08:03:31 UTC
Permalink
The filenames don't influential the layers names.
The error you get (it seems to me) is that GeoServer is not finding the fmis:Crop layer.
When you got t GeoServer list layers, what names do you see ?
When you got the app-schema store and lick on publish layer what do you see ?
Post by Markus Jackenkroll
<ows:ExceptionText>Feature type fmis:Crop unknown</ows:ExceptionText>
I am not sure, but my directories and filenames are all named "fmis_Fertilization". Do I have to change that?
Post by Markus Jackenkroll
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization
You probably want to use fmis:Crop as the type name parameter.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result (fmis:Fertilization not found). I searched for the fmis:Fertilization expression to all files but could not find it anywhere. I deleted the cache of tomcat (work/Catalina/...) and browser as well. I does not result in a change.
Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
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

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserv
Markus Jackenkroll
2017-07-24 12:00:12 UTC
Permalink
Hey,

in the layer list there is one with the name "fmis:Fertilization" from
the store "fmis_Fertilization". The layer name seem to remain from my
older configurations. As you said, I published the layer again. Now
there is a layer "fmis:Crop". Requesting this I got the exception:
"Joining queries are only supported on JDBC data stores". This seem to
be a complete different response and my first problem seem to be solved.
I will change my data source or change the mapping and hopefully do it.
Thanks a lot for supporting!!!

KR
Markus
Post by Nuno Oliveira
The filenames don't influential the layers names.
The error you get (it seems to me) is that GeoServer is not finding the fmis:Crop layer.
When you got t GeoServer list layers, what names do you see ?
When you got the app-schema store and lick on publish layer what do you see ?
Post by Markus Jackenkroll
<ows:ExceptionText>Feature type fmis:Crop unknown</ows:ExceptionText>
I am not sure, but my directories and filenames are all named "fmis_Fertilization". Do I have to change that?
Post by Markus Jackenkroll
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization
You probably want to use fmis:Crop as the type name parameter.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result (fmis:Fertilization not found). I searched for the fmis:Fertilization expression to all files but could not find it anywhere. I deleted the cache of tomcat (work/Catalina/...) and browser as well. I does not result in a change.
Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https:
Markus Jackenkroll
2017-07-24 12:40:22 UTC
Permalink
If someone is searching for the "Joining queries are only supported on
JDBC data stores"-error, have a look at
https://sourceforge.net/p/geoserver/mailman/message/35922112/.
You have to change the parameter "app-schema.joining" in the
WEB-INF/classes/app-schema.properties.
Post by Markus Jackenkroll
Hey,
in the layer list there is one with the name "fmis:Fertilization" from
the store "fmis_Fertilization". The layer name seem to remain from my
older configurations. As you said, I published the layer again. Now
"Joining queries are only supported on JDBC data stores". This seem to
be a complete different response and my first problem seem to be solved.
I will change my data source or change the mapping and hopefully do it.
Thanks a lot for supporting!!!
KR
Markus
Post by Nuno Oliveira
The filenames don't influential the layers names.
The error you get (it seems to me) is that GeoServer is not finding the fmis:Crop layer.
When you got t GeoServer list layers, what names do you see ?
When you got the app-schema store and lick on publish layer what do you see ?
Post by Markus Jackenkroll
<ows:ExceptionText>Feature type fmis:Crop unknown</ows:ExceptionText>
I am not sure, but my directories and filenames are all named "fmis_Fertilization". Do I have to change that?
Post by Markus Jackenkroll
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization
You probably want to use fmis:Crop as the type name parameter.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result (fmis:Fertilization not found). I searched for the fmis:Fertilization expression to all files but could not find it anywhere. I deleted the cache of tomcat (work/Catalina/...) and browser as well. I does not result in a change.
Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Markus Jackenkroll
Institut für Phytomedizin (360), Fachgebiet Herbologie
Universität Hohenheim, 70599 Stuttgart
Tel.: 0711 - 459-22938, Fax.: 0711 - 459-22408
Email: ***@uni-hohenheim.de
Web: https://sengis.uni-hohenheim.de/

Office hours only on Mondays





------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/g
Nuno Oliveira
2017-07-24 13:00:01 UTC
Permalink
Ah yes joining is activated by default, it can be deactivate with a Java variable:
http://docs.geoserver.org/latest/en/user/data/app-schema/joining.html#configuration
Post by Markus Jackenkroll
If someone is searching for the "Joining queries are only supported on
JDBC data stores"-error, have a look at
https://sourceforge.net/p/geoserver/mailman/message/35922112/.
You have to change the parameter "app-schema.joining" in the
WEB-INF/classes/app-schema.properties.
Post by Markus Jackenkroll
Hey,
in the layer list there is one with the name "fmis:Fertilization" from
the store "fmis_Fertilization". The layer name seem to remain from my
older configurations. As you said, I published the layer again. Now
"Joining queries are only supported on JDBC data stores". This seem to
be a complete different response and my first problem seem to be solved.
I will change my data source or change the mapping and hopefully do it.
Thanks a lot for supporting!!!
KR
Markus
Post by Nuno Oliveira
The filenames don't influential the layers names.
The error you get (it seems to me) is that GeoServer is not finding the fmis:Crop layer.
When you got t GeoServer list layers, what names do you see ?
When you got the app-schema store and lick on publish layer what do you see ?
Post by Markus Jackenkroll
<ows:ExceptionText>Feature type fmis:Crop unknown</ows:ExceptionText>
I am not sure, but my directories and filenames are all named "fmis_Fertilization". Do I have to change that?
Post by Markus Jackenkroll
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization
You probably want to use fmis:Crop as the type name parameter.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result (fmis:Fertilization not found). I searched for the fmis:Fertilization expression to all files but could not find it anywhere. I deleted the cache of tomcat (work/Catalina/...) and browser as well. I does not result in a change.
Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
- 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
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

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


------------------------------------------------------------------------------
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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo
Andrea Aime
2017-07-24 13:08:18 UTC
Permalink
Hi,
I'm confused, I thought Ben said it's active by default but there is also a
check
that the underlying store is a JDBC one, or it won't activate.
Have I misunderstood?

Cheers
Andrea


On Mon, Jul 24, 2017 at 3:00 PM, Nuno Oliveira <
Post by Nuno Oliveira
http://docs.geoserver.org/latest/en/user/data/app-schema/
joining.html#configuration
Post by Markus Jackenkroll
If someone is searching for the "Joining queries are only supported on
JDBC data stores"-error, have a look at
https://sourceforge.net/p/geoserver/mailman/message/35922112/.
You have to change the parameter "app-schema.joining" in the
WEB-INF/classes/app-schema.properties.
Post by Markus Jackenkroll
Hey,
in the layer list there is one with the name "fmis:Fertilization" from
the store "fmis_Fertilization". The layer name seem to remain from my
older configurations. As you said, I published the layer again. Now
"Joining queries are only supported on JDBC data stores". This seem to
be a complete different response and my first problem seem to be solved.
I will change my data source or change the mapping and hopefully do it.
Thanks a lot for supporting!!!
KR
Markus
Post by Nuno Oliveira
The filenames don't influential the layers names.
The error you get (it seems to me) is that GeoServer is not finding the
fmis:Crop layer.
When you got t GeoServer list layers, what names do you see ?
When you got the app-schema store and lick on publish layer what do you see ?
Post by Markus Jackenkroll
<ows:ExceptionText>Feature type fmis:Crop unknown</ows:ExceptionText>
I am not sure, but my directories and filenames are all named
"fmis_Fertilization". Do I have to change that?
Post by Markus Jackenkroll
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?
Fertilization
You probably want to use fmis:Crop as the type name parameter.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result
(fmis:Fertilization not found). I searched for the fmis:Fertilization
expression to all files but could not find it anywhere. I deleted the cache
of tomcat (work/Catalina/...) and browser as well. I does not result in a
change.
Regards,
Markus
Hi,
Post by Nuno Oliveira
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?
Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------
------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica
e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended
solely for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data
Protection Code).Any use not in accord with its purpose, any disclosure,
reproduction, copying, distribution, or either dissemination, either whole
or partial, is strictly forbidden except previous formal approval of the
named addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------
------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------
------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica
e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended
solely for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data
Protection Code).Any use not in accord with its purpose, any disclosure,
reproduction, copying, distribution, or either dissemination, either whole
or partial, is strictly forbidden except previous formal approval of the
named addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------
------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------
------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------
------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be confidential
or proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------
------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
Nuno Oliveira
2017-07-24 14:44:21 UTC
Permalink
Good point (this was in another app-schema related thread):
http://osgeo-org.1560.x6.nabble.com/Application-schema-plugin-and-filter-encoding-performance-concern-td5325806.html

The documentation just says that "... Joining is turned on by default ..." but indeed it should only enable
itself for JDBC databases. Taking into account that the JDBC check seems to be failing for the SOLR database
and for this one, maybe there is a bug ?
Hi,
I'm confused, I thought Ben said it's active by default but there is also a check
that the underlying store is a JDBC one, or it won't activate.
Have I misunderstood?
Cheers
Andrea
http://docs.geoserver.org/latest/en/user/data/app-schema/joining.html#configuration <http://docs.geoserver.org/latest/en/user/data/app-schema/joining.html#configuration>
If someone is searching for the "Joining queries are only supported on
JDBC data stores"-error, have a look at
https://sourceforge.net/p/geoserver/mailman/message/35922112/ <https://sourceforge.net/p/geoserver/mailman/message/35922112/>.
You have to change the parameter "app-schema.joining" in the
WEB-INF/classes/app-schema.pro <http://app-schema.pro>perties.
Hey,
in the layer list there is one with the name "fmis:Fertilization" from
the store "fmis_Fertilization". The layer name seem to remain from my
older configurations. As you said, I published the layer again. Now
"Joining queries are only supported on JDBC data stores". This seem to
be a complete different response and my first problem seem to be solved.
I will change my data source or change the mapping and hopefully do it.
Thanks a lot for supporting!!!
KR
Markus
The filenames don't influential the layers names.
The error you get (it seems to me) is that GeoServer is not finding the fmis:Crop layer.
When you got t GeoServer list layers, what names do you see ?
When you got the app-schema store and lick on publish layer what do you see ?
<ows:ExceptionText>Feature type fmis:Crop unknown</ows:ExceptionText>
I am not sure, but my directories and filenames are all named "fmis_Fertilization". Do I have to change that?
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization <http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization>
You probably want to use fmis:Crop as the type name parameter.
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result (fmis:Fertilization not found). I searched for the fmis:Fertilization expression to all files but could not find it anywhere. I deleted the cache of tomcat (work/Catalina/...) and browser as well. I does not result in a change.
Regards,
Markus
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization <http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization>.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop <http://myserver.uni-hohenheim.de/XSD:Crop>]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/>
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users <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 <tel:%2B39%200584%20962313>
fax: +39 0584 1660272 <tel:%2B39%200584%201660272>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission,
viruses, etc.
------------------------------------------------------------------------------
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
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/>
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users <https://lists.sourceforge.net/lists/listinfo/geoserver-users>
------------------------------------------------------------------------------
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
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/>
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users <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 <tel:%2B39%200584%20962313>
fax: +39 0584 1660272 <tel:%2B39%200584%201660272>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/>
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users <https://lists.sourceforge.net/lists/listinfo/geoserver-users>
------------------------------------------------------------------------------
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
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/>
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users <https://lists.sourceforge.net/lists/listinfo/geoserver-users>
------------------------------------------------------------------------------
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
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/>
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users <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 <tel:%2B39%200584%20962313>
fax: +39 0584 1660272 <tel:%2B39%200584%201660272>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it <http://twitter.com/geosolutions_it>
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
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
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ <http://www.ianturton.com/talks/foss4g.html#/>
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html <http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users <https://lists.sourceforge.net/lists/listinfo/geoserver-users>
--
Regards,
Andrea Aime
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
--
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

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo Ú consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.
Ben Caradoc-Davies
2017-07-19 20:53:59 UTC
Permalink
Markus,

I think you need to change both targetElement and targetAttribute to
fmis:Fertilization.

Kind regards,
Ben.
Post by Markus Jackenkroll
Hey,
...
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Crop
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
After restarting the tomcat the request still gives the same result
(fmis:Fertilization not found). I searched for the fmis:Fertilization
expression to all files but could not find it anywhere. I deleted the
cache of tomcat (work/Catalina/...) and browser as well. I does not
result in a change.
Regards,
Markus
Post by Nuno Oliveira
Hi,
You are using fmis:Fertilization as the target element on the ID mapping.
When using the idExpression the target attribute must be an existing element
in this case it should be fmis:Crop.
Regards,
Nuno Oliveira
Post by Markus Jackenkroll
Dear list,
I implemented my own application schema on geoserver. The user interface
shows workspace, store and layer as enabled. Next, I tried to request
the WFS by
http://mygeoserver.uni-hohenheim.de:8080/geoserver/wfs?service=WFS&Version=1.1.0&Request=GetFeature&typeName=fmis:Fertilization.
Error occurred getting features
[http://myserver.uni-hohenheim.de/XSD:Crop]
...
<typeMappings>
<FeatureTypeMapping>
<sourceDataStore>datastoreshp</sourceDataStore>
<sourceType>Fertilization</sourceType>
<targetElement>fmis:Crop</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>
fmis:Fertilization
</targetAttribute>
<idExpression>
<OCQL>ID</OCQL>
</idExpression>
</AttributeMapping>
...
"fmis" is the namespace, "Fertilization" the schema and "Crop" is the
element in the mapped XSD. By "datastoreshp" I connect to a shape which
feature class is named "Fertilization".
Do you have an idea what is causing this behaviour?
Best
Markus
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
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
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.
The information in this message and/or attachments, is intended
solely for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
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
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <***@transient.nz>
Director
Transient Software Limited <http://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

Geoserver-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geo
Continue reading on narkive:
Loading...