select st_astext(st_geomfromgml('<gml:Polygon xmlns:gml="http://www.opengis.net/gml/3.2" gml:id="HPA.15449990010" srsName="urn:ogc:def:crs:EPSG::2065" srsDimension="2"><gml:exterior><gml:Ring><gml:curveMember><gml:LineString gml:id="HPA.15449990010.1"><gml:posList>711540.35 1070163.61 711523.82 1070166.54 711521.30 1070164.14 711519.52 1070162.44 711518.57 1070164.62 711517.18 1070167.80 711508.72 1070167.46 711508.88 1070165.94 711463.07 1070163.99 711448.08 1070162.05 711429.02 1070156.85 711407.52 1070150.12 711350.56 1070131.73 711296.13 1070112.93 711253.34 1070098.28 711222.63 1070086.66 711206.39 1070081.71 711183.16 1070080.78 711173.14 1070081.32 711157.48 1070086.16 711145.55 1070091.58 711131.21 1070101.44 711111.36 1070114.34 711086.62 1070128.65 711063.30 1070140.28 711031.71 1070158.06 711003.29 1070175.66 710971.89 1070192.88 710955.00 1070200.71 710927.00 1070206.87 710908.39 1070207.08 710884.72 1070204.59 710864.48 1070199.37 710848.78 1070192.76 710830.83 1070181.33 710797.13 1070157.50 710788.88 1070151.79 710780.30 1070148.88 710773.85 1070147.53 710769.01 1070147.63 710758.06 1070142.25 710751.45 1070142.24 710743.74 1070146.31 710739.99 1070151.68 710738.81 1070157.55 710739.69 1070162.86 710742.47 1070167.99 710750.03 1070176.56 710756.15 1070187.85 710765.92 1070213.11 710771.95 1070239.37 710771.88 1070249.40 710770.41 1070256.02 710766.88 1070265.20 710762.03 1070272.99 710752.55 1070284.67 710725.07 1070316.26 710718.57 1070321.35 710715.25 1070321.39 710712.27 1070319.09 710713.08 1070312.58 710719.24 1070302.51 710721.51 1070300.00 710707.45 1070311.94 710717.01 1070292.13 710705.78 1070306.02 710699.76 1070311.93 710700.13 1070316.59 710700.64 1070323.15 710705.05 1070331.88 710716.53 1070335.39 710732.84 1070322.46 710758.77 1070291.02 710770.63 1070277.67 710775.93 1070270.50 710781.77 1070257.49 710782.76 1070250.73 710781.29 1070236.95 710774.72 1070210.84 710765.26 1070178.06 710770.31 1070162.18 710774.40 1070158.24 710778.55 1070157.75 710782.11 1070158.50 710785.50 1070159.73 710788.11 1070161.24 710824.19 1070188.35 710845.48 1070199.84 710861.56 1070207.97 710905.28 1070217.11 710929.93 1070217.71 710941.45 1070217.25 710962.00 1070212.61 710964.35 1070214.48 710985.93 1070202.92 711011.19 1070187.17 711038.49 1070171.66 711071.16 1070154.29 711094.93 1070143.84 711117.22 1070130.23 711141.74 1070112.74 711153.78 1070103.70 711163.11 1070097.94 711174.15 1070094.61 711185.07 1070091.69 711203.02 1070093.68 711218.85 1070098.78 711247.58 1070107.44 711293.01 1070122.77 711347.71 1070141.04 711404.03 1070159.92 711407.38 1070161.02 711407.54 1070161.53 711411.29 1070162.68 711411.59 1070162.55 711419.29 1070165.15 711430.10 1070169.09 711450.81 1070171.98 711463.57 1070172.61 711500.75 1070175.45 711505.18 1070175.58 711508.73 1070175.69 711528.58 1070175.56 711535.35 1070174.79 711549.74 1070169.81 711574.80 1070160.13 711578.90 1070158.54 711607.11 1070152.37 711630.12 1070152.09 711639.88 1070152.37 711654.93 1070152.80 711681.85 1070155.24 711703.12 1070160.17 711788.16 1070182.78 711809.21 1070188.49 711850.87 1070206.54 711892.47 1070221.33 711944.24 1070239.34 711948.33 1070240.76 711954.55 1070244.70 711982.15 1070264.20 712006.69 1070283.34 712041.13 1070315.53 712072.94 1070355.20 712088.61 1070374.49 712097.95 1070390.71 712104.10 1070407.55 712116.19 1070461.13 712140.87 1070500.19 712144.43 1070508.64 712153.14 1070530.75 712154.96 1070530.16 712162.37 1070550.83 712165.99 1070564.20 712168.45 1070577.89 712169.51 1070585.99 712170.20 1070603.98 712166.66 1070625.68 712157.24 1070694.33 712152.66 1070715.79 712149.99 1070726.50 712146.19 1070736.01 712144.10 1070740.12 712135.85 1070752.97 712131.77 1070757.74 712122.31 1070766.86 712116.33 1070773.75 712110.37 1070781.56 712111.51 1070789.03 712112.54 1070791.95 712114.98 1070796.16 712117.80 1070799.01 712154.47 1070824.94</gml:posList></gml:LineString></gml:curveMember><gml:curveMember><gml:Curve gml:id="HPA.15449990010.2"><gml:segments><gml:ArcString><gml:posList>712154.47 1070824.94 712154.98 1070826.04 712154.41 1070827.22</gml:posList></gml:ArcString></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:LineString gml:id="HPA.15449990010.3"><gml:posList>712154.41 1070827.22 712160.31 1070837.07 712160.92 1070835.36 712170.68 1070837.77 712202.18 1070863.28 712217.98 1070873.75 712222.85 1070878.84 712227.45 1070891.41 712228.85 1070898.32 712229.34 1070907.64 712228.53 1070915.72 712226.36 1070922.88 712209.05 1070966.71 712199.92 1070999.63 712159.25 1071102.77 712167.26 1071105.82 712169.16 1071106.61 712178.55 1071103.88 712185.12 1071086.27 712189.64 1071074.60 712200.57 1071047.22 712207.84 1071029.01 712220.16 1071027.05 712225.06 1071015.67 712207.89 1071007.95</gml:posList></gml:LineString></gml:curveMember><gml:curveMember><gml:Curve gml:id="HPA.15449990010.4"><gml:segments><gml:ArcString><gml:posList>712207.89 1071007.95 712207.48 1071005.59 712208.38 1071001.28</gml:posList></gml:ArcString></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:LineString gml:id="HPA.15449990010.5"><gml:posList>712208.38 1071001.28 712228.74 1070949.67 712233.98 1070936.15 712238.39 1070925.21 712240.32 1070921.48 712244.47 1070917.20 712249.33 1070914.14 712252.83 1070913.22 712256.21 1070912.84 712261.73 1070913.42 712297.63 1070928.69 712307.83 1070933.81 712316.08 1070938.10 712334.07 1070948.49 712379.55 1070977.38 712382.90 1070979.51 712382.23 1070980.78 712431.91 1071010.03 712480.95 1071034.89 712498.79 1071043.94 712502.66 1071034.84 712521.29 1071043.78 712517.61 1071051.06 712516.96 1071052.34 712517.18 1071052.46 712521.02 1071054.53 712584.17 1071088.70 712623.03 1071111.59 712627.79 1071114.71 712648.11 1071120.47 712668.51 1071127.28 712703.31 1071136.94 712767.43 1071145.59 712767.91 1071145.65 712776.31 1071146.78 712788.80 1071145.96 712806.18 1071143.10 712818.51 1071141.08 712821.37 1071140.61 712824.11 1071140.16 712827.59 1071142.45 712837.91 1071141.61 712839.20 1071141.12 712840.95 1071140.46 712844.59 1071139.08 712865.52 1071135.18 712893.21 1071130.02 712919.04 1071121.53 712984.60 1071089.27 713023.22 1071062.36 713060.46 1071027.96 713107.56 1070965.01 713124.50 1070932.80 713142.31 1070886.04 713149.45 1070855.69 713151.52 1070844.19 713154.16 1070829.52 713159.38 1070800.57 713157.03 1070754.99 713154.70 1070733.46 713151.77 1070706.47 713124.74 1070596.30 713100.98 1070469.73 713100.33 1070466.27 713077.68 1070349.97 713070.29 1070321.82 713066.84 1070293.45 713070.87 1070247.63 713075.30 1070217.21 713082.01 1070186.98 713092.44 1070161.11 713121.66 1070125.10 713150.00 1070103.81 713183.90 1070089.08 713214.12 1070081.32 713248.34 1070078.46 713256.53 1070078.51 713299.36 1070081.47 713345.13 1070090.16 713372.61 1070099.14 713402.79 1070111.19 713491.81 1070158.22 713584.15 1070206.88 713605.61 1070218.19 713606.22 1070217.20 713607.61 1070213.99 713609.98 1070208.53 713611.17 1070205.80 713590.37 1070195.01 713497.75 1070146.84 713407.31 1070099.86 713346.17 1070078.81 713300.85 1070068.91 713256.19 1070066.12 713211.30 1070068.55 713194.45 1070069.49 713178.32 1070075.74 713143.13 1070090.89 713112.44 1070113.53 713101.75 1070121.28 713082.20 1070151.00 713068.33 1070183.11 713058.81 1070213.35 713052.66 1070246.43 713048.36 1070286.53 713048.32 1070320.25 713058.02 1070354.92 713056.11 1070355.73 713056.62 1070357.56 713060.81 1070375.29 713067.23 1070402.44 713073.60 1070429.41 713079.99 1070456.44 713083.21 1070470.28 713085.92 1070483.84 713087.39 1070491.19 713092.46 1070516.59 713093.59 1070522.22 713097.90 1070543.79 713100.95 1070559.06 713104.02 1070574.42 713107.05 1070589.57 713108.99 1070599.30 713110.15 1070604.83 713113.32 1070620.04 713116.48 1070635.18 713119.66 1070650.38 713122.81 1070665.46 713125.97 1070680.62 713129.83 1070699.10 713131.70 1070708.09 713136.22 1070729.73 713138.68 1070747.80 713140.70 1070762.63 713140.82 1070780.30 713140.95 1070798.72 713137.50 1070829.72 713134.23 1070846.61 713125.53 1070879.00 713118.66 1070896.86 713104.41 1070933.94 713104.08 1070934.79 713076.42 1070980.96 713069.05 1070990.12 713065.90 1070994.01 713052.72 1071010.37 713047.56 1071016.78 713038.48 1071025.77 713031.82 1071032.38 713017.58 1071046.49 713002.14 1071058.34 712978.53 1071074.46 712965.03 1071081.41 712919.71 1071103.72 712908.87 1071106.66 712896.51 1071110.92 712855.96 1071119.99 712848.98 1071121.20 712849.42 1071122.25 712845.39 1071124.95 712819.57 1071129.89 712819.91 1071126.06 712816.17 1071126.68 712785.57 1071130.77 712784.96 1071137.92 712767.13 1071135.20 712749.37 1071132.48 712749.71 1071129.53 712731.88 1071127.49 712716.89 1071125.86 712699.22 1071122.68 712691.42 1071120.99 712677.39 1071116.37 712668.49 1071113.04 712666.01 1071112.11 712658.28 1071109.21 712642.71 1071102.64 712638.08 1071100.48 712637.27 1071100.09 712611.62 1071086.33 712579.60 1071065.62 712566.46 1071056.80 712557.90 1071050.32 712549.66 1071044.90 712544.07 1071041.64 712535.37 1071037.53 712503.07 1071024.68 712502.44 1071024.51 712436.60 1070996.40 712401.03 1070975.88 712364.67 1070954.90 712357.76 1070948.39 712356.93 1070944.60 712346.23 1070944.72 712345.23 1070946.01 712315.78 1070929.60 712315.70 1070928.30 712297.63 1070919.02 712293.94 1070917.78 712286.30 1070915.20 712283.44 1070913.92 712271.46 1070908.45 712265.33 1070906.33 712260.62 1070905.06 712254.09 1070903.23 712248.27 1070900.42 712242.05 1070894.51 712232.71 1070880.88 712225.27 1070871.42 712218.76 1070864.65 712199.68 1070848.10 712191.56 1070841.48 712175.30 1070828.61 712124.93 1070788.72</gml:posList></gml:LineString></gml:curveMember><gml:curveMember><gml:Curve gml:id="HPA.15449990010.6"><gml:segments><gml:ArcString><gml:posList>712124.93 1070788.72 712124.28 1070785.87 712124.63 1070783.38</gml:posList></gml:ArcString></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:LineString gml:id="HPA.15449990010.7"><gml:posList>712124.63 1070783.38 712141.04 1070764.12 712146.60 1070757.01 712150.40 1070751.29 712155.78 1070742.33 712160.35 1070730.49 712162.34 1070723.74 712164.64 1070713.43 712167.11 1070696.39 712169.06 1070680.62 712169.18 1070680.24 712172.74 1070654.15 712174.56 1070640.58 712175.83 1070631.03 712177.13 1070620.56 712178.00 1070606.08 712177.94 1070598.93 712177.17 1070585.69 712176.71 1070580.22 712175.49 1070572.00 712171.35 1070553.71 712162.38 1070527.45 712164.03 1070527.64 712158.03 1070514.09 712154.23 1070506.59 712149.79 1070500.17 712140.58 1070486.84 712139.15 1070484.75 712126.09 1070459.72 712128.64 1070458.64 712114.28 1070407.17 712112.99 1070402.99 712109.34 1070391.12 712107.30 1070388.14 712100.41 1070375.96 712097.88 1070372.41 712061.22 1070327.10 712057.74 1070322.80 712047.51 1070310.16 712045.26 1070307.18 712012.51 1070277.69 711988.61 1070258.56 711953.34 1070232.78 711945.27 1070228.45 711932.98 1070224.44 711932.52 1070224.28 711894.74 1070213.30 711853.17 1070199.23 711812.68 1070182.17 711789.93 1070175.59 711704.70 1070152.27 711682.44 1070147.16 711655.74 1070144.66 711630.40 1070143.80 711605.90 1070145.11 711596.64 1070146.44 711595.84 1070146.15 711586.70 1070147.76 711576.13 1070149.50 711548.13 1070162.23 711540.35 1070163.61</gml:posList></gml:LineString></gml:curveMember></gml:Ring></gml:exterior><gml:interior><gml:LinearRing><gml:posList>713061.62 1070354.46 713053.59 1070335.12 713049.58 1070315.92 713049.65 1070298.33 713051.60 1070276.15 713063.43 1070230.57 713055.45 1070282.88 713064.18 1070354.27 713061.62 1070354.46</gml:posList></gml:LinearRing></gml:interior></gml:Polygon>'));
