banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

#1 Thu 23 March 2023 07:22

Djelakwong
Juste Inscrit !
Date d'inscription: 10 Mar 2023
Messages: 1

Geonetwork et Metadonnees-Projection geonetwork pour elasticsearch

Bonjour,

Savez-vous comment on spécifier les projections dans geonetwork pour qu'elles soient prise en compte par elastisearch ?

La configuration actuelle de notre geonetwork est celle par défaut, il ne spécifie rien et ducoup on a une erreur quand ElasticSearch tente l'indexation d'une Forme géométrique du type Shape avec des coordonnées précisées dans la métadonnées.

Balise geométrique de notre Métadonnée :

Code:

              
             <gmd:geographicElement xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gml="http://www.opengis.net/gml">
              <gmd:EX_BoundingPolygon>
                <gmd:extentTypeCode><gco:Boolean>true</gco:Boolean></gmd:extentTypeCode>
                <gmd:polygon srsName="urn:x-ogc:def:crs:EPSG:6.6:2154">
                  <gml:MultiSurface gml:id="s.1">
                    <gml:surfaceMember>
              <gml:Polygon gml:id="p.1">
            <gml:exterior>
             <gml:LinearRing>
                <gml:posList>44.6060229706688 0.157571728915647 44.6068316372261 0.157665639432569 44.6070631059767 0.157908949901436 44.6074363828687 0.15858723241018 44.6077248451629 0.159645838018969 44.6077410313966 0.160275541063202 44.6071419044351 0.162376566876162 44.6075886101167 0.164512719191199 44.6081667185519 0.166505350836415 44.6083631751375 0.167316293391163 44.6084580149973 0.167501820868543 44.60854801495 0.167498560605397 44.609104862433 0.166028181649155 44.6092398752539 0.166023791444812 44.6092997110978 0.166776289723333 44.60912973753 0.167349535320633 44.6084796549325 0.168697595081335 44.6083643442824 0.169646773610963 44.608414167317 0.169833429508173 44.6100090807913 0.170905746436884 44.6103771137601 0.171206461011485 44.6103758397309 0.171332633861961 44.6106490289084 0.171447433391334 44.611348798819 0.17274279812384 44.6119023144327 0.173427575273536 44.6128594866988 0.174397581936576 44.6134126703874 0.175069798251131 44.6137311681691 0.175371399885252 44.6140900551006 0.175491012586345 44.6146237360747 0.175576646305757 44.6159941429414 0.17808943715207 44.6163734086341 0.178478078850364 44.6168273585309 0.177205480296646 44.6175919767547 0.176810134854517 44.6184555798578 0.174824533667672 44.619021239298 0.174046858172379 44.6192025239065 0.173914416704357 44.6205263496017 0.172665944226288 44.6210550721238 0.172205528951284 44.6215416629278 0.171682890544603 44.6221651928101 0.171407155090451 44.6234292643429 0.171168391386902 44.6242713546612 0.170632923205811 44.6246277535479 0.170303213496359 44.6250664664689 0.169846000063709 44.6260768833937 0.168672583506966 44.6267366658505 0.167702431145214 44.6269439183535 0.1670017448058 44.6270174241833 0.166179360037506 44.6271086993641 0.166050138154499 44.627914167405 0.166019479201162 44.6285842531377 0.165627520968007 44.6290448361266 0.165672480717883 44.6293585609244 0.165786892849929 44.6301685280146 0.165756002702324 44.6305783316821 0.165928537310768 44.6312986488964 0.166090255244775 44.6317919892386 0.166007416742999 44.6328570791249 0.165210779473776 44.6328486512101 0.164706565169007 44.6331953750157 0.164000286604096 44.6330506946823 0.163627951316003 44.6325858176591 0.162889220084669 44.6325774115051 0.162386268515372 44.6329344827071 0.159979072961222 44.6329998405398 0.158841599163538 44.6324555799166 0.158169988869858 44.63181381447 0.155284194480263 44.6318118273706 0.155031979181238 44.6337743652048 0.152007458587276 44.6341708560435 0.151487563293739 44.6341210015288 0.1513008383441 44.6328356960615 0.150015889305717 44.6327858065995 0.149827910119172 44.6330959244477 0.149627022481243 44.6341284813422 0.148970350807901 44.6353770631024 0.146212401712897 44.6362036274723 0.144730966285819 44.6361902231915 0.144037720225317 44.6368120532389 0.143698353075898 44.6368505544686 0.143445197713955 44.6389155492354 0.14317535964214 44.6399284802729 0.142631918808851 44.6399503501141 0.14260671012211 44.6409643643753 0.14158257803742 44.6413145903119 0.141191320174655 44.6403845613215 0.139715283536607 44.6401591912401 0.139535185596584 44.6399522578705 0.13937131322104 44.6399293094614 0.139354813407372 44.6395145810524 0.138993805774202 44.639282673776 0.138561189719231 44.6389608070847 0.138133524255085 44.6380608350961 0.138167746844328 44.6376506705073 0.13798316853667 44.6373303940188 0.137617009403481 44.6370939929708 0.137185022304461 44.6365455023395 0.136703160898091 44.6363654957717 0.136709530964334 44.6360668355829 0.137352014313656 44.6333147751635 0.139790223400224 44.6331797947239 0.139795938260381 44.6321317398274 0.136372296799155 44.6312396042203 0.136708923567634 44.6303392266811 0.137249068735537 44.6304438766305 0.137811454135426 44.6293356323634 0.138673852353586 44.6292156910245 0.139434588151057 44.6291256911767 0.139437894402626 44.6271437993991 0.139263348736394 44.6270108423579 0.139521257488204 44.6263441240057 0.142129614612961 44.6262569358355 0.145030222190396 44.6260332321579 0.144914272260525 44.6257084816952 0.144548377082456 44.6251766515878 0.1448843707192 44.6220799761651 0.147587914579006 44.6204531667345 0.14947796721637 44.6201864098492 0.149613552196383 44.6197838008672 0.15007032375121 44.6191020287493 0.149832351015646 44.6185320412799 0.15061049783055 44.6183200517235 0.151123327924584 44.617638600527 0.150897692932351 44.6175052116357 0.150965100956181 44.6174200861983 0.151157456668516 44.6172883499724 0.15128897819199 44.6161182953649 0.153601791708078 44.6159034157057 0.154177794951383 44.6155417945146 0.154127943810892 44.615155013698 0.155025141582418 44.6148400273206 0.155037127283625 44.6138464918231 0.154760871379807 44.6130280770866 0.154288630637051 44.6122931812099 0.153561598256972 44.6119295983316 0.153260761472959 44.6095011843311 0.151138649626947 44.6090512258188 0.15115659294622 44.6087792568754 0.150915347387077 44.6086426241369 0.150856928600274 44.6082327972322 0.150684444644138 44.6081428010365 0.150687857657442 44.6078304129034 0.153596603671768 44.6078385236997 0.153911454869121 44.6081117274456 0.154026038917664 44.6079868458045 0.154598677973729 44.6076867870516 0.155365273331299 44.607276614485 0.15500412736533 44.6069652374819 0.155331185010889 44.6064000439076 0.156296755581703 44.6060229706688 0.157571728915647</gml:posList>
                         </gml:LinearRing>
                        </gml:exterior>
                        </gml:Polygon>
                      </gml:surfaceMember>
                    </gml:MultiSurface>
                  </gmd:polygon>
                </gmd:EX_BoundingPolygon>
        </gmd:geographicElement>

Erreur d'indexation ElasticSearch :

Code:

ElasticsearchException[Elasticsearch exception [type=mapper_parsing_exception, reason=failed to parse field [shape] of type [geo_shape]]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Unable to Tessellate shape [[-57.0, 101.18999999994412] [-62.5, 51.68999999994412] [-52.5, 11.81000000005588] [-32.0, -18.0] [68.5, -117.0] [71.0, -171.61999999999534] [0.0, 49.13000000000466] [9.5, -1.0] [54.5, -1.3699999999953434] [54.0, -16.369999999995343] [24.0, -56.11999999999534] [43.0, -121.18999999994412] [43.0, -176.18999999994412] [17.5, 144.13000000000466] [1.5, 49.31000000005588] [-44.0, -25.31000000005588] [-45.0, -125.18999999994412] [-70.5, -174.86999999999534] [-74.5, 130.38000000000466] [-23.5, 25.880000000004657] [-7.5, -98.86999999999534] [33.0, -153.5] [53.0, -168.31000000005588] [68.0, -123.18999999994412] [62.0, -127.68999999994412] [-12.5, -117.11999999999534] [-82.0, -141.36999999999534] [81.5, 140.31000000005588] [76.0, 90.31000000005588] [61.0, 60.5] [10.5, 16.0] [-54.5, -18.369999999995343] [-30.5, -108.61999999999534] [-21.0, 166.38000000000466] [-8.5, 132.68999999994412] [8.0, 134.68999999994412] [-24.0, 45.38000000000466] [36.5, -10.18999999994412] [44.5, -19.0] [50.5, -31.68999999994412] [54.5, -37.18999999994412] [64.5, -43.0] [72.5, -59.36999999999534] [68.5, -74.5] [87.0, -92.31000000005588] [48.5, -101.0] [38.5, -61.61999999999534] [-17.0, -83.81000000005588] [-12.5, -107.18999999994412] [-57.0, -152.61999999999534] [-56.5, 180.0] [79.0, 145.63000000000466] [85.0, 67.0] [0.5, 15.18999999994412] [14.5, -12.369999999995343] [34.0, -35.68999999994412] [-28.5, -132.5] [-68.5, -119.68999999994412] [-63.5, -44.36999999999534] [7.0, 18.130000000004657] [31.0, 68.81000000005588] [65.5, 62.5] [74.0, 4.130000000004657] [64.5, -87.31000000005588] [9.0, -134.11999999999534] [-21.0, -128.81000000005588] [-46.0, -113.61999999999534] [-46.0, -88.61999999999534] [-35.5, -63.68999999994412] [-35.5, -48.68999999994412] [-70.5, -38.36999999999534] [-55.0, -8.619999999995343] [-55.0, 6.380000000004657] [-85.0, 21.68999999994412] [-80.5, 31.81000000005588] [-80.5, 51.81000000005588] [-89.5, 56.68999999994412] [-85.5, 76.68999999994412] [-61.0, 111.88000000000466] [-1.5, 152.38000000000466] [13.0, -21.31000000005588] [-41.0, 79.13000000000466] [-75.5, 114.38000000000466] [-65.0, -170.31000000005588] [55.0, 160.68999999994412] [55.0, 166.31000000005588] [35.0, -173.5] [20.5, -133.36999999999534] [-24.5, -148.0] [-60.0, 167.31000000005588] [-80.5, 132.5] [-49.5, 98.0] [-14.0, 28.31000000005588] [-4.0, 28.380000000004657] [16.0, 38.63000000000466] [85.5, 94.18999999994412] [84.5, 109.18999999994412] [85.0, 129.13000000000466] [85.0, 169.13000000000466] [46.0, -105.5] [1.5, -65.18999999994412] [-18.5, -60.0] [-18.0, 4.880000000004657] [-52.5, 60.18999999994412] [1.5, -178.81000000005588] [50.5, -93.36999999999534] [50.0, -28.369999999995343] [19.5, 36.31000000005588] [19.0, 106.18999999994412] [33.5, 141.31000000005588] [28.0, -153.81000000005588] [-18.0, -49.31000000005588] [-69.5, 175.13000000000466] [-74.5, -75.18999999994412] [-38.0, 104.31000000005588] [-2.0, -151.11999999999534] [0.0, 98.68999999994412] [-14.5, 143.81000000005588] [-13.5, -131.18999999994412] [2.0, -41.36999999999534] [9.0, -171.61999999999534] [31.0, 43.0] [46.5, 112.88000000000466] [57.0, -177.31000000005588] [57.5, -122.86999999999534] [32.0, -88.11999999999534] [-3.0, -53.5] [-13.5, 11.380000000004657] [-79.5, -114.5] [1.5, -10.31000000005588] [47.0, 34.31000000005588] [82.5, 93.88000000000466] [42.5, 138.38000000000466] [41.5, -151.61999999999534] [66.0, -71.5] [39.5, 73.18999999994412] [23.5, -122.0] [-2.0, -102.31000000005588] [-42.0, -77.61999999999534] [-87.5, -28.119999999995343] [-42.0, 36.5] [8.5, 86.0] [13.5, 110.88000000000466] [19.0, 175.81000000005588] [44.5, -139.36999999999534] [60.0, -84.61999999999534] [79.5, -20.0] [24.0, 49.5] [-22.0, 134.0] [-62.5, -131.86999999999534] [-47.0, -92.0] [-41.0, 17.81000000005588] [31.5, -3.0] [83.0, 131.5] [56.5, -149.0] [26.0, -69.31000000005588] [-15.0, 15.31000000005588] [-70.5, 74.81000000005588] [-54.5, 109.31000000005588] [77.0, -57.0] [67.0, 32.63000000000466] [57.0, 52.5] [-3.5, 92.0] [-84.0, 176.18999999994412] [-15.0, -49.61999999999534] [10.5, 0.18999999994412065] [1.0, 60.18999999994412] [-23.5, 120.38000000000466] [-18.0, 170.31000000005588] [12.5, -150.0] [37.5, -135.18999999994412] [57.0, -61.0] [-3.5, -16.5] [-34.0, 28.18999999994412] [-80.0, 147.68999999994412] [-84.5, -142.5] [82.5, 85.88000000000466] [67.0, 150.63000000000466] [32.0, -164.68999999994412] [26.5, -144.81000000005588] [-19.5, -30.31000000005588] [-55.5, 99.31000000005588] [-62.0, -75.86999999999534] [-53.5, 69.13000000000466] [-44.0, 144.13000000000466] [-40.0, -100.86999999999534] [-88.5, 58.5] [50.5, -42.61999999999534] [40.0, -48.36999999999534] [-74.5, 0.31000000005587935] [76.0, 74.0] [79.0, 78.81000000005588] [-14.5, -126.86999999999534] [-49.0, 177.81000000005588] [-77.5, 47.5] [-62.5, 27.31000000005588] [-4.0, -103.11999999999534] [-15.0, 132.13000000000466] [57.0, 151.68999999994412] [60.0, -103.11999999999534] [49.5, -168.0] [4.0, 117.38000000000466] [-72.0, 28.18999999994412] [-87.0, 3.3100000000558794] [-17.0, -81.0] [45.5, 75.5] [44.5, -24.5] [33.0, -87.36999999999534] [20.5, -138.86999999999534] [-44.0, 47.63000000000466] [-29.0, 17.68999999994412] [-1.5, 93.13000000000466] [64.0, 149.38000000000466] [78.0, 61.88000000000466] [36.5, -78.81000000005588] [27.5, -163.68999999994412] [11.0, 150.38000000000466] [32.0, 109.81000000005588] [41.0, 76.18999999994412] [44.5, 51.31000000005588] [-8.0, -121.11999999999534] [-84.0, -67.0] [-54.5, 84.68999999994412] [-28.0, -22.869999999995343] [-28.0, -62.86999999999534] [-42.5, -78.0] [-37.0, -162.86999999999534] [-46.5, 162.0] [-66.5, 121.88000000000466] [-81.0, 71.81000000005588] [-64.5, 21.5] [-55.0, -3.5] [-80.0, -13.31000000005588] [-85.5, -68.18999999994412] [-76.0, -138.31000000005588] [-52.0, 131.63000000000466] [-42.0, 121.5] [23.0, 121.0] [28.0, 100.88000000000466] [3.0, 91.18999999994412] [41.5, -74.11999999999534] [9.0, -95.18999999994412] [-76.0, 44.0] [34.0, 33.0] [58.5, -2.1199999999953434] [72.0, -87.5] [42.5, -127.68999999994412] [-7.5, -143.18999999994412] [-72.0, -173.68999999994412] [-63.5, 145.88000000000466] [-24.0, 60.68999999994412] [10.0, -34.61999999999534] [69.0, -145.0] [-22.0, 115.81000000005588] [-57.0, 101.18999999994412] ]. Possible malformed shape detected.]];

L'exception elasticSearch montre bien qu'on a des coordonnées différentes de celle spécifiées dans la métadonnées, d'où le constat que geonetwork ne précise pas la bonne projection pour elasticSearch selon moi.

Qu'en pensez-vous ? avez-vous déjà rencontré ce genre de problème ? comment configurer Geonetwork pour envoyer la bonne projection à ElasticSearch?

Geonetwork version 4.2.2
ElasticSearch : version 7.11.1


Merci d'avance, cordialement.

Dernière modification par Djelakwong (Thu 23 March 2023 16:52)

Hors ligne

 

#2 Thu 23 March 2023 18:43

Bruno
Membre du bureau
Lieu: Toulouse
Date d'inscription: 22 Jun 2005
Messages: 11927
Site web

Re: Geonetwork et Metadonnees-Projection geonetwork pour elasticsearch

C'est plutôt une question pour ce forum.

Hors ligne

 

Pied de page des forums

Powered by FluxBB