Hi Michael, I did a quick read of your mappings and they seem fine to me, this information is particularly relevant:
*If I remove the rows that are appearing, the problematic rows appear in the feature.* I see two possible causes for this problem: - Id's collision, GeoServer will consider features with the same ID to be repeated. - Some weird bug where LIMIT clause is added to the final query sent to DB. Kind regards, Nuno Oliveira On Mon, Nov 1, 2021 at 1:59 AM Michael Sexton <michael.sex...@ga.gov.au> wrote: > Hi GeoServer users group, > > > > Having an issue with not returning in a two-level deep feature chain for > the application schema EarthResourceML. > > > > Attached are the three mapping files, three source data files, and the > resultant GML feature. > > > > The problematics rows in each table are highlighted below, which are not > appearing in the resultant feature. If I remove the rows that are > appearing, the problematic rows appear in the feature. So it’s not a > problem with the data in the rows themselves, but something about the way > the feature chain is picking up the features. > > > > Any help would be greatly appreciated. > > > > RESOURCE_NO > > ENO > > RESOURCE_ID > > RECORD_DATE > > ORE > > INCLUDESRESERVES > > UOM_CODE > > UOM_TITLE > > UOM_HREF > > CATEGORY_TITLE > > CATEGORY_HREF > > CLASSIFICATIONMETHOD > > SOURCEREF_TITLE > > SOURCEREF_HREF > > > > 12223 > > 339086 > > 12223.ifr > > 4-Mar-10 > > 1.1 > > FALSE > > Mt > > megatonne > > http://pid.geoscience.gov.au/def/voc/ga/uom/Mt > > inferred mineral resource > > > http://resource.geosciml.org/classifier/cgi/resource-assessment-category/inferred-mineral-resource > > > http://resource.geosciml.org/classifier/cgi/classification-method-used/jorc-code > > Meridian Minerals announces Cadjetbut Splay Mineral Resource trebles to > 1.1Mt on the Lennard Shelf Project in WA > > http://www.opengis.net/def/nil/OGC/0/inapplicable > > > > 14200 > > 339086 > > 14200.ifr > > 24-Mar-11 > > 1.6 > > FALSE > > Mt > > megatonne > > http://pid.geoscience.gov.au/def/voc/ga/uom/Mt > > inferred mineral resource > > > http://resource.geosciml.org/classifier/cgi/resource-assessment-category/inferred-mineral-resource > > > http://resource.geosciml.org/classifier/cgi/classification-method-used/jorc-code > > Meridian Increases Total Mineral Resource 130% to 17.7Mt in 16 Months at > Lennard Shelf Project - 24 Mar 2011 > > http://www.opengis.net/def/nil/OGC/0/inapplicable > > > > > > GRADE_NO > > RESOURCE_NO > > RESOURCE_ID > > GRADE_ID > > COMMODITYAMOUNT > > COMMODITYAMOUNT_CODE > > COMMODITYAMOUNT_TITLE > > COMMODITYAMOUNT_HREF > > GRADE > > GRADE_CODE > > GRADE_TITLE > > GRADE_HREF > > COMMODITY_TITLE > > COMMODITY_HREF > > 19849 > > 12223 > > 12223.ifr > > 19849.ifr > > 0.094 > > Mt > > megatonne > > http://pid.geoscience.gov.au/def/voc/ga/uom/Mt > > 8.5 > > % > > percentage > > http://pid.geoscience.gov.au/def/voc/ga/uom/percent > > lead > > http://resource.geosciml.org/classifier/cgi/commodity-code/lead > > 19850 > > 12223 > > 12223.ifr > > 19850.ifr > > 0.026 > > Mt > > megatonne > > http://pid.geoscience.gov.au/def/voc/ga/uom/Mt > > 2.4 > > % > > percentage > > http://pid.geoscience.gov.au/def/voc/ga/uom/percent > > zinc > > http://resource.geosciml.org/classifier/cgi/commodity-code/zinc > > 19851 > > 12223 > > 12223.ifr > > 19851.ifr > > 0.017 > > Kt > > kilotonnes > > http://pid.geoscience.gov.au/def/voc/ga/uom/kt > > 15.7 > > g-t > > grams per tonne > > http://pid.geoscience.gov.au/def/voc/ga/uom/g-t > > silver > > http://resource.geosciml.org/classifier/cgi/commodity-code/silver > > 23544 > > 14200 > > 14200.ifr > > 23544.ifr > > 0.032 > > Mt > > megatonne > > http://pid.geoscience.gov.au/def/voc/ga/uom/Mt > > 2 > > % > > percentage > > http://pid.geoscience.gov.au/def/voc/ga/uom/percent > > zinc > > http://resource.geosciml.org/classifier/cgi/commodity-code/zinc > > 23545 > > 14200 > > 14200.ifr > > 23545.ifr > > 0.133 > > Mt > > megatonne > > http://pid.geoscience.gov.au/def/voc/ga/uom/Mt > > 8.3 > > % > > percentage > > http://pid.geoscience.gov.au/def/voc/ga/uom/percent > > lead > > http://resource.geosciml.org/classifier/cgi/commodity-code/lead > > > > > > <er:oreAmount> > <er:Resource> > > *<!-- Missing er:measureDetails -->* > <er:classificationMethodUsed > xlink:href=" > http://resource.geosciml.org/classifier/cgi/classification-method-used/jorc-code > "/> > <er:date> > <gml:TimeInstant> > <gml:timePosition>2011-03-23Z > </gml:timePosition> > </gml:TimeInstant> > </er:date> > <er:sourceReference > xlink:href=" > http://www.opengis.net/def/nil/OGC/0/inapplicable" > xlink:title="Meridian Increases Total Mineral > Resource 130% to 17.7Mt in 16 Months at Lennard Shelf Project - 24 Mar 2011" > /> > <er:ore> > <gsmlu:GSML_QuantityRange> > <swe:uom code="Mt" > xlink:href=" > http://pid.geoscience.gov.au/def/voc/ga/uom/Mt" > xlink:title="megatonne"/> > <gsmlu:lowerValue>1.6</gsmlu:lowerValue> > <gsmlu:upperValue>1.6</gsmlu:upperValue> > </gsmlu:GSML_QuantityRange> > </er:ore> > <er:dimension xsi:nil="true" nilReason="missing"/> > <er:proposedExtractionMethod xsi:nil="true" nilReason= > "missing"/> > <er:category > xlink:href=" > http://resource.geosciml.org/classifier/cgi/resource-assessment-category/inferred-mineral-resource > " > xlink:title="inferred mineral resource"/> > <er:includesReserves>false</er:includesReserves> > </er:Resource> > </er:oreAmount> > > > > > > Thanks > > > > *Michael Sexton * > > > Data Analyst | MEGIS > > Minerals Energy Groundwater *|* *GEOSCIENCE AUSTRALIA* > > *__________________________________________________**__________* > > Phone: +61 2 6249 9262 Fax: +61 2 6249 9999 > > Email: michael.sex...@ga.gov.au Web: www.ga.gov.au > > Cnr Jerrabomberra Avenue and Hindmarsh Drive Symonston ACT 2609 > > GPO Box 378 Canberra ACT 2601 Australia > > *Applying geoscience to Australia’s most important challenges* > > > > Geoscience Australia Disclaimer: This e-mail (and files transmitted with > it) is intended only for the person or entity to which it is addressed. If > you are not the intended recipient, then you have received this e-mail by > mistake and any use, dissemination, forwarding, printing or copying of this > e-mail and its file attachments is prohibited. The security of emails > transmitted cannot be guaranteed; by forwarding or replying to this email, > you acknowledge and accept these risks. > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Regards, Nuno Oliveira == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services-us for more information. == Nuno Miguel Carvalho Oliveira @nmcoliveira Technical Lead / Project Manager GeoSolutions Group phone: +39 0584 962313 fax: +39 0584 1660272 https://www.geosolutionsgroup.com/ http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users