|
|
|
Chandler, Peter - 0443 - MITLL
|
Some javascript/style in this post has been disabled (why?)
Question: I am creating mapping from my WFS application schema to a deegree
datasource. My WFS application schema contain standard GML types (example, gml:TimePeriodType).
Is there mapping/documentation (example XSD annotation) for standard GML types?
Or do have to create the XSD annotations for standard GML types myself? Thanks in advance, Peter. Peter Chandler MIT Lincoln Laboratory 244 Wood Street Lexington, MA 02420 Email:
[hidden email] +1 781-981-3938 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
|
Markus Schneider-4
|
Hello Peter,
Chandler, Peter - 0443 - MITLL wrote: > Question: > I am creating mapping from my WFS application schema to a deegree > datasource. My WFS application schema contain standard GML types > (example, gml:TimePeriodType). Is there mapping/documentation (example > XSD annotation) for standard GML types? Or do have to create the XSD > annotations for standard GML types myself? I assume you have found and read the WFS documentation [1]? In order to create annotated schemas for the WFS, you usually start with the original (unannotated) application schema. Unfortunately, the deegree 2 WFS is not capable of handling any (annotated) generic schema out-of-the-box, because it only supports a certain subset of what's possible in GML/XML schema. In order to get an overview the GML constructs that the deegree 2 WFS understands, please refer to "Philosopher" example [2]. It contains almost any construct that is supported (with the exception of feature type hierarchies which are also supported). The mentioned "gml:TimePeriodType" is actually one thing that is not supported natively by the WFS feature model. To work around this, there's the possibility to hook XSLT transformations into the pre-/postprocessing of WFS requests which allows to map any kind of GML/XML type to an "internal" GML application schema that is based on the supported types. If you got trouble to perform the mapping, feel free to send (preferrably short snippets of) your application schema to the list. Best regards, Markus P.S.: Did you have any success with the SchemaAnnotator? [1] http://download.deegree.org/deegree2.2/docs/deegree_wfs_documentation_en.pdf [2] http://svn.wald.intevation.org/svn/deegree/base/trunk/resources/wfs/demo/conf/featuretypes/example_featuretypes/philosopher/Philosopher.xsd -- Markus Schneider l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 184960 fax ++49 +228 1849629 http://www.lat-lon.de http://www.deegree.org ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
|
Chandler, Peter - 0443 - MITLL
|
"P.S.: Did you have any success with the SchemaAnnotator?"
No. If I can get it to work for my application schemas. I could evaluate the level of effort to make it generalized for the community. I would need some help/details like what's the annotator.xsl? Peter. PLEASE NOTE: This tool is currently not usable out-of-the box. It has only been used internally at lat/lon for mapping schemas in customer projects and needs a hand-crafted XSL file (annotator.xsl) for adding the annotations. If you're interested in using this (or better: making this work for the community), please contact us using the deegree mailing lists. -----Original Message----- From: Markus Schneider [mailto:[hidden email]] Sent: Friday, October 30, 2009 11:25 AM To: [hidden email] Subject: Re: [deegree-users] GML Types & XSD annotation/mapping - Question? Hello Peter, Chandler, Peter - 0443 - MITLL wrote: > Question: > I am creating mapping from my WFS application schema to a deegree > datasource. My WFS application schema contain standard GML types > (example, gml:TimePeriodType). Is there mapping/documentation (example > XSD annotation) for standard GML types? Or do have to create the XSD > annotations for standard GML types myself? I assume you have found and read the WFS documentation [1]? In order to create annotated schemas for the WFS, you usually start with the original (unannotated) application schema. Unfortunately, the deegree 2 WFS is not capable of handling any (annotated) generic schema out-of-the-box, because it only supports a certain subset of what's possible in GML/XML schema. In order to get an overview the GML constructs that the deegree 2 WFS understands, please refer to "Philosopher" example [2]. It contains almost any construct that is supported (with the exception of feature type hierarchies which are also supported). The mentioned "gml:TimePeriodType" is actually one thing that is not supported natively by the WFS feature model. To work around this, there's the possibility to hook XSLT transformations into the pre-/postprocessing of WFS requests which allows to map any kind of GML/XML type to an "internal" GML application schema that is based on the supported types. If you got trouble to perform the mapping, feel free to send (preferrably short snippets of) your application schema to the list. Best regards, Markus P.S.: Did you have any success with the SchemaAnnotator? [1] http://download.deegree.org/deegree2.2/docs/deegree_wfs_documentation_en.pdf [2] http://svn.wald.intevation.org/svn/deegree/base/trunk/resources/wfs/demo/conf/featuretypes/example_featuretypes/philosopher/Philosopher.xsd -- Markus Schneider l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 184960 fax ++49 +228 1849629 http://www.lat-lon.de http://www.deegree.org ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
|
Markus Schneider-4
|
Hi Peter,
I packaged a (slightly customized) SchemaAnnotator class and a corresponding xsl script for downloading [1]. We used it successfully to annotate a (quite complex) real world GML application schema (the dutch IMRO2008 standard). After annotating, we used the DDLGenerator to extract CREATE statements for the relational model. You still won't be able to use it out-of-the box, as it requires that the original schema is simplified first to match the possibilities of deegree's feature model (which we did by applying XSL-scripts as well). Also you're missing the mapping files which provide abbreviations for feature and property names (to have shorter table/column names). Nevertheless, I hope it gives you an impression how the annotation process works and that you can use it to derive your own xsl scripts. Feel free to ask if you need more explanations. Best regards, Markus [1] http://web.lat-lon.de/~schneider/imro2008-annotator.zip Chandler, Peter - 0443 - MITLL wrote: > "P.S.: Did you have any success with the SchemaAnnotator?" > > No. If I can get it to work for my application schemas. I could evaluate the level of effort to make it generalized for the community. I would need some help/details like what's the annotator.xsl? > > Peter. > > PLEASE NOTE: This tool is currently not usable out-of-the box. It has only been used internally at lat/lon for mapping schemas in customer projects and needs a hand-crafted XSL file (annotator.xsl) for adding the annotations. If you're interested in using this (or better: making this work for the community), please contact us using the deegree mailing lists. > > -----Original Message----- > From: Markus Schneider [mailto:[hidden email]] > Sent: Friday, October 30, 2009 11:25 AM > To: [hidden email] > Subject: Re: [deegree-users] GML Types & XSD annotation/mapping - Question? > > Hello Peter, > > Chandler, Peter - 0443 - MITLL wrote: > >> Question: >> I am creating mapping from my WFS application schema to a deegree >> datasource. My WFS application schema contain standard GML types >> (example, gml:TimePeriodType). Is there mapping/documentation (example >> XSD annotation) for standard GML types? Or do have to create the XSD >> annotations for standard GML types myself? > > I assume you have found and read the WFS documentation [1]? > > In order to create annotated schemas for the WFS, you usually start with the original (unannotated) application schema. > Unfortunately, the deegree 2 WFS is not capable of handling any (annotated) generic schema out-of-the-box, because it only supports a certain subset of what's possible in GML/XML schema. In order to get an overview the GML constructs that the deegree 2 WFS understands, please refer to "Philosopher" example [2]. It contains almost any construct that is supported (with the exception of feature type hierarchies which are also supported). > > The mentioned "gml:TimePeriodType" is actually one thing that is not supported natively by the WFS feature model. To work around this, there's the possibility to hook XSLT transformations into the pre-/postprocessing of WFS requests which allows to map any kind of GML/XML type to an "internal" GML application schema that is based on the supported types. > > If you got trouble to perform the mapping, feel free to send (preferrably short snippets of) your application schema to the list. > > Best regards, > Markus > > P.S.: Did you have any success with the SchemaAnnotator? > > > [1] http://download.deegree.org/deegree2.2/docs/deegree_wfs_documentation_en.pdf > [2] > http://svn.wald.intevation.org/svn/deegree/base/trunk/resources/wfs/demo/conf/featuretypes/example_featuretypes/philosopher/Philosopher.xsd > > -- > Markus Schneider > > l a t / l o n GmbH > Aennchenstrasse 19 53177 Bonn, Germany > phone ++49 +228 184960 fax ++49 +228 1849629 > http://www.lat-lon.de http://www.deegree.org > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > deegree-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/deegree-users -- Markus Schneider l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 184960 fax ++49 +228 1849629 http://www.lat-lon.de http://www.deegree.org ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
|
Chandler, Peter - 0443 - MITLL
|
Thanks I will take a look. Follow-up question: is the DDLGenerator generator usable out-of-the-box?
-----Original Message----- From: Markus Schneider [mailto:[hidden email]] Sent: Wednesday, November 04, 2009 6:13 AM To: [hidden email] Subject: Re: [deegree-users] GML Types & XSD annotation/mapping - Question? Hi Peter, I packaged a (slightly customized) SchemaAnnotator class and a corresponding xsl script for downloading [1]. We used it successfully to annotate a (quite complex) real world GML application schema (the dutch IMRO2008 standard). After annotating, we used the DDLGenerator to extract CREATE statements for the relational model. You still won't be able to use it out-of-the box, as it requires that the original schema is simplified first to match the possibilities of deegree's feature model (which we did by applying XSL-scripts as well). Also you're missing the mapping files which provide abbreviations for feature and property names (to have shorter table/column names). Nevertheless, I hope it gives you an impression how the annotation process works and that you can use it to derive your own xsl scripts. Feel free to ask if you need more explanations. Best regards, Markus [1] http://web.lat-lon.de/~schneider/imro2008-annotator.zip Chandler, Peter - 0443 - MITLL wrote: > "P.S.: Did you have any success with the SchemaAnnotator?" > > No. If I can get it to work for my application schemas. I could evaluate the level of effort to make it generalized for the community. I would need some help/details like what's the annotator.xsl? > > Peter. > > PLEASE NOTE: This tool is currently not usable out-of-the box. It has only been used internally at lat/lon for mapping schemas in customer projects and needs a hand-crafted XSL file (annotator.xsl) for adding the annotations. If you're interested in using this (or better: making this work for the community), please contact us using the deegree mailing lists. > > -----Original Message----- > From: Markus Schneider [mailto:[hidden email]] > Sent: Friday, October 30, 2009 11:25 AM > To: [hidden email] > Subject: Re: [deegree-users] GML Types & XSD annotation/mapping - Question? > > Hello Peter, > > Chandler, Peter - 0443 - MITLL wrote: > >> Question: >> I am creating mapping from my WFS application schema to a deegree >> datasource. My WFS application schema contain standard GML types >> (example, gml:TimePeriodType). Is there mapping/documentation >> (example XSD annotation) for standard GML types? Or do have to create >> the XSD annotations for standard GML types myself? > > I assume you have found and read the WFS documentation [1]? > > In order to create annotated schemas for the WFS, you usually start with the original (unannotated) application schema. > Unfortunately, the deegree 2 WFS is not capable of handling any (annotated) generic schema out-of-the-box, because it only supports a certain subset of what's possible in GML/XML schema. In order to get an overview the GML constructs that the deegree 2 WFS understands, please refer to "Philosopher" example [2]. It contains almost any construct that is supported (with the exception of feature type hierarchies which are also supported). > > The mentioned "gml:TimePeriodType" is actually one thing that is not supported natively by the WFS feature model. To work around this, there's the possibility to hook XSLT transformations into the pre-/postprocessing of WFS requests which allows to map any kind of GML/XML type to an "internal" GML application schema that is based on the supported types. > > If you got trouble to perform the mapping, feel free to send (preferrably short snippets of) your application schema to the list. > > Best regards, > Markus > > P.S.: Did you have any success with the SchemaAnnotator? > > > [1] > http://download.deegree.org/deegree2.2/docs/deegree_wfs_documentation_ > en.pdf > [2] > http://svn.wald.intevation.org/svn/deegree/base/trunk/resources/wfs/de > mo/conf/featuretypes/example_featuretypes/philosopher/Philosopher.xsd > > -- > Markus Schneider > > l a t / l o n GmbH > Aennchenstrasse 19 53177 Bonn, Germany > phone ++49 +228 184960 fax ++49 +228 1849629 > http://www.lat-lon.de http://www.deegree.org > > > ---------------------------------------------------------------------- > -------- Come build with us! The BlackBerry(R) Developer Conference in > SF, CA is the only developer event you need to attend this year. > Jumpstart your developing skills, take BlackBerry mobile applications > to market and stay ahead of the curve. Join us from November 9 - 12, > 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > deegree-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/deegree-users -- Markus Schneider l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 184960 fax ++49 +228 1849629 http://www.lat-lon.de http://www.deegree.org ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
|
Markus Schneider-4
|
Hi Peter,
Chandler, Peter - 0443 - MITLL wrote: > Thanks I will take a look. Follow-up question: is the DDLGenerator generator usable out-of-the-box? Yes, it is. Best regards, Markus > > -----Original Message----- > From: Markus Schneider [mailto:[hidden email]] > Sent: Wednesday, November 04, 2009 6:13 AM > To: [hidden email] > Subject: Re: [deegree-users] GML Types & XSD annotation/mapping - Question? > > Hi Peter, > > I packaged a (slightly customized) SchemaAnnotator class and a corresponding xsl script for downloading [1]. We used it successfully to annotate a (quite complex) real world GML application schema (the dutch IMRO2008 standard). After annotating, we used the DDLGenerator to extract CREATE statements for the relational model. > > You still won't be able to use it out-of-the box, as it requires that the original schema is simplified first to match the possibilities of deegree's feature model (which we did by applying XSL-scripts as well). Also you're missing the mapping files which provide abbreviations for feature and property names (to have shorter table/column names). > Nevertheless, I hope it gives you an impression how the annotation process works and that you can use it to derive your own xsl scripts. > > Feel free to ask if you need more explanations. > > Best regards, > Markus > > > [1] http://web.lat-lon.de/~schneider/imro2008-annotator.zip > > > Chandler, Peter - 0443 - MITLL wrote: >> "P.S.: Did you have any success with the SchemaAnnotator?" >> >> No. If I can get it to work for my application schemas. I could evaluate the level of effort to make it generalized for the community. I would need some help/details like what's the annotator.xsl? >> >> Peter. >> >> PLEASE NOTE: This tool is currently not usable out-of-the box. It has only been used internally at lat/lon for mapping schemas in customer projects and needs a hand-crafted XSL file (annotator.xsl) for adding the annotations. If you're interested in using this (or better: making this work for the community), please contact us using the deegree mailing lists. >> >> -----Original Message----- >> From: Markus Schneider [mailto:[hidden email]] >> Sent: Friday, October 30, 2009 11:25 AM >> To: [hidden email] >> Subject: Re: [deegree-users] GML Types & XSD annotation/mapping - Question? >> >> Hello Peter, >> >> Chandler, Peter - 0443 - MITLL wrote: >> >>> Question: >>> I am creating mapping from my WFS application schema to a deegree >>> datasource. My WFS application schema contain standard GML types >>> (example, gml:TimePeriodType). Is there mapping/documentation >>> (example XSD annotation) for standard GML types? Or do have to create >>> the XSD annotations for standard GML types myself? >> I assume you have found and read the WFS documentation [1]? >> >> In order to create annotated schemas for the WFS, you usually start with the original (unannotated) application schema. >> Unfortunately, the deegree 2 WFS is not capable of handling any (annotated) generic schema out-of-the-box, because it only supports a certain subset of what's possible in GML/XML schema. In order to get an overview the GML constructs that the deegree 2 WFS understands, please refer to "Philosopher" example [2]. It contains almost any construct that is supported (with the exception of feature type hierarchies which are also supported). >> >> The mentioned "gml:TimePeriodType" is actually one thing that is not supported natively by the WFS feature model. To work around this, there's the possibility to hook XSLT transformations into the pre-/postprocessing of WFS requests which allows to map any kind of GML/XML type to an "internal" GML application schema that is based on the supported types. >> >> If you got trouble to perform the mapping, feel free to send (preferrably short snippets of) your application schema to the list. >> >> Best regards, >> Markus >> >> P.S.: Did you have any success with the SchemaAnnotator? >> >> >> [1] >> http://download.deegree.org/deegree2.2/docs/deegree_wfs_documentation_ >> en.pdf >> [2] >> http://svn.wald.intevation.org/svn/deegree/base/trunk/resources/wfs/de >> mo/conf/featuretypes/example_featuretypes/philosopher/Philosopher.xsd >> >> -- >> Markus Schneider >> >> l a t / l o n GmbH >> Aennchenstrasse 19 53177 Bonn, Germany >> phone ++49 +228 184960 fax ++49 +228 1849629 >> http://www.lat-lon.de http://www.deegree.org >> >> >> ---------------------------------------------------------------------- >> -------- Come build with us! The BlackBerry(R) Developer Conference in >> SF, CA is the only developer event you need to attend this year. >> Jumpstart your developing skills, take BlackBerry mobile applications >> to market and stay ahead of the curve. Join us from November 9 - 12, >> 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> deegree-users mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/deegree-users > > > -- > Markus Schneider > > l a t / l o n GmbH > Aennchenstrasse 19 53177 Bonn, Germany > phone ++49 +228 184960 fax ++49 +228 1849629 > http://www.lat-lon.de http://www.deegree.org > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > deegree-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/deegree-users -- Markus Schneider l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 184960 fax ++49 +228 1849629 http://www.lat-lon.de http://www.deegree.org ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ deegree-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/deegree-users |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |