Hi Andrea,

I'm running a recent install of 2.12.0

-Gavin

On Mon, Oct 23, 2017 at 11:45 AM, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Gavin,
> one question, which version of GeoServer are you using?
> Looked through the posts and could not see it.
>
> Cheers
> Andrea
>
> On Fri, Oct 20, 2017 at 7:38 PM, Gavin Medley <med...@unavco.org> wrote:
>
>> Hi,
>>
>> I understand that App Schema enforces GML striping, i.e. “complex types
>> are never the direct property of another complex type; they are always
>> contained in a property type to ensure that their type is encoded in a
>> surrounding element.” However, in GeodesyML, there are complex types (
>> geo:GnssReceiver) and simple types (geo:dateInserted) *both* nested
>> inside a geo:gnssReceiver property element like so.
>>
>> <geo:gnssReceiver>
>>  <geo:GnssReceiver 
>> gml:id="GnssReceiver.87bff11d-a3bc-4e84-b7bc-5175f824f0f5">
>>     <geo:notes>Receiver 1</geo:notes>
>>     <geo:manufacturerSerialNumber>3213</geo:manufacturerSerialNumber>
>>     <geo:igsModelCode 
>> codeList="http://xml.gov.au/icsm/geodesyml/codelists/antenna-receiver-codelists.xml#GeodesyML_GNSSReceiverTypeCode";
>>  codeListValue="ASHTECH Z-XII3" 
>> codeSpace="https://igscb.jpl.nasa.gov/igscb/station/general/rcvr_ant.tab";>ASHTECH
>>  Z-XII3</geo:igsModelCode>
>>     <geo:satelliteSystem 
>> codeSpace="eGeodesy/satelliteSystem">GPS</geo:satelliteSystem>
>>     <geo:firmwareVersion>1Y05-1D04</geo:firmwareVersion>
>>     <geo:elevationCutoffSetting 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true"/>
>>     <geo:dateInstalled>1996-01-01T00:00:00.000Z</geo:dateInstalled>
>>     <geo:dateRemoved>1998-09-17T00:00:00.000Z</geo:dateRemoved>
>>     <geo:temperatureStabilization 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:nil="true"/>
>>  </geo:GnssReceiver>
>>  <geo:dateInserted>1996-01-01T00:00:00.000Z</geo:dateInserted>
>> </geo:gnssReceiver>
>>
>> I have a feature chained element such that I map geo:GnssReceiver type
>> into the geo:gnssReceiver property but I cannot figure out how to get
>> geo:dateInserted to appear in each (of *many*) geo:gnssReceiver
>> elements. I tried referencing the XPath and simply adding the
>> AttributeMapping after my GnssReceiver feature chain element (as below)
>> but dateInserted only appears on *one* instance of gnssReceiver.
>>
>> ...
>> <AttributeMapping>
>>         <targetAttribute>geo:gnssReceiver</targetAttribute>
>>         <sourceExpression>
>>                 <OCQL>fourid</OCQL>
>>                 <linkElement>geo:GnssReceiver</linkElement>
>>                 <linkField>FEATURE_LINK[1]</linkField>
>>         </sourceExpression>
>>         <isMultiple>true</isMultiple>
>>         <encodeIfEmpty>false</encodeIfEmpty>
>> </AttributeMapping>
>>
>> <AttributeMapping>
>>         <targetAttribute>geo:gnssReceiver/geo:dateInserted</targetAttribute>
>>         <sourceExpression>
>>                 <OCQL></OCQL>
>>         </sourceExpression>
>>         <encodeIfEmpty>true</encodeIfEmpty>
>>         <isMultiple>true</isMultiple>
>> </AttributeMapping>
>> ...
>>
>> Does anyone have a suggestion on how to achieve this or am I missing
>> something obvious?
>>
>> Regards,
>>
>> Gavin
>> ​
>> --
>> Gavin Medley
>> Software Engineer, UNAVCO
>> 6350 Nautilus Drive
>> <https://maps.google.com/?q=6350+Nautilus+Drive+Boulder,+CO+80301&entry=gmail&source=g>
>> Boulder, CO 80301
>> <https://maps.google.com/?q=6350+Nautilus+Drive+Boulder,+CO+80301&entry=gmail&source=g>
>> -5394
>> Mobile: 505-819-1270 <(505)%20819-1270>
>> med...@unavco.org
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> 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-users@lists.sourceforge.net
>> 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
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> 55054  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> (LU)
> phone: +39 0584 962313 <+39%200584%20962313>
> fax: +39 0584 1660272 <+39%200584%20166%200272>
> mob: +39  339 8844549 <+39%20339%20884%204549>
>
> 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.
>
>


-- 
Gavin Medley
Software Engineer, UNAVCO
6350 Nautilus Drive
Boulder, CO 80301-5394
Mobile: 505-819-1270
med...@unavco.org
------------------------------------------------------------------------------
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-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to