[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-user
Subject:    Re: [Qgis-user] Export to GML in 3.28?
From:       Even Rouault via QGIS-User <qgis-user () lists ! osgeo ! org>
Date:       2023-03-23 0:44:43
Message-ID: c7e2b9a4-1798-632a-d65d-8ebcfdfe504f () spatialys ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le 23/03/2023 à 01:25, Eric Ortmayr a écrit :
> 
> Hi Evan,
> 
> Thank you for the information, the document was very helpful.
> 
> Since the default changed to GML3.2 do you think the FORMAT dropdown 
> should include a GML2 option? I am not sure if this was missed or if 
> this was done by design.
> 
Good point ==> https://github.com/qgis/QGIS/pull/52350
> 
> Regards,
> 
> Eric
> 
> *From:*Even Rouault <even.rouault@spatialys.com>
> *Sent:* March 21, 2023 5:24 PM
> *To:* Eric Ortmayr <eortmayr@crgl.ca>; qgis-user@lists.osgeo.org
> *Subject:* Re: [Qgis-user] Export to GML in 3.28?
> 
> Le 22/03/2023 à 01:16, Eric Ortmayr via QGIS-User a écrit :
> 
> Hello,
> 
> Exporting to GML using version 3.16 results in a different
> coordinate format than in version 3.28. In 3.16 the X and Y values
> are separated by a comma (GML2?), but in 3.28 the X and Y values
> are separated by a space (GML3?) . Both exports were created using
> the <Default> FORMAT under the Datasource Options section in the
> Save Vector Layer as… dialog.
> 
> Are the 3.16 and 3.28 <Default> FORMATS different by design? I
> checked the changelogs and could not find anything obvious.
> 
> Yes, most file format export (and import) is done by GDAL. GDAL 3.4.0 
> changed to GML 3.2 as the default variant of GML. Cf 
> https://gdal.org/drivers/vector/gml.html#dataset-creation-options 
> <https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgdal.org%2Fdriver \
> s%2Fvector%2Fgml.html%23dataset-creation-options&data=05%7C01%7Ceortmayr%40crgl.ca%7 \
> Cc5533e1316c64ed7365c08db2a6baeba%7C2aa156d4b33c41688f39045b19f30a21%7C0%7C0%7C63815 \
> 0414206590656%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik \
> 1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=iLfZK7gmSVxOrNQDEwpRJqwiiDIiYL5GQkMINhJ6FY0%3D&reserved=0>
>  
> 
> 
> -- 
> http://www.spatialys.com  \
> <https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com% \
> 2F&data=05%7C01%7Ceortmayr%40crgl.ca%7Cc5533e1316c64ed7365c08db2a6baeba%7C2aa156d4b3 \
> 3c41688f39045b19f30a21%7C0%7C0%7C638150414206590656%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi \
> MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CEO3ReB4CP1RSXlkBHPmECVoCbFwFN2Lo8M7ML6IxOk%3D&reserved=0>
>  My software is free, but my time generally not.

-- 
http://www.spatialys.com
My software is free, but my time generally not.


[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 23/03/2023 à 01:25, Eric Ortmayr a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:YQXPR01MB46099E2EB94764715E2ACF92C7879@YQXPR01MB4609.CANPRD01.PROD.OUTLOOK.COM">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-ligatures:standardcontextual;
	mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0cm;
	font-size:10.0pt;
	font-family:"Courier New";}span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	mso-ligatures:standardcontextual;
	mso-fareast-language:EN-US;}span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}div.WordSection1
	{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi Evan, <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thank you for the information, the document
          was very helpful.
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Since the default changed to GML3.2 do you
          think the FORMAT dropdown should include a GML2 option? I am
          not sure if this was missed or if this was done by design.
        </p>
      </div>
    </blockquote>
    Good point ==&gt; <a class="moz-txt-link-freetext" \
href="https://github.com/qgis/QGIS/pull/52350">https://github.com/qgis/QGIS/pull/52350</a><br>
  <blockquote type="cite"
cite="mid:YQXPR01MB46099E2EB94764715E2ACF92C7879@YQXPR01MB4609.CANPRD01.PROD.OUTLOOK.COM">
  <div class="WordSection1">
        <p class="MsoNormal"><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Regards, <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Eric<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
                  style="mso-ligatures:none;mso-fareast-language:EN-CA"
                  lang="EN-US">From:</span></b><span
                style="mso-ligatures:none;mso-fareast-language:EN-CA"
                lang="EN-US"> Even Rouault
                <a class="moz-txt-link-rfc2396E" \
href="mailto:even.rouault@spatialys.com">&lt;even.rouault@spatialys.com&gt;</a>  <br>
                <b>Sent:</b> March 21, 2023 5:24 PM<br>
                <b>To:</b> Eric Ortmayr <a class="moz-txt-link-rfc2396E" \
                href="mailto:eortmayr@crgl.ca">&lt;eortmayr@crgl.ca&gt;</a>;
                <a class="moz-txt-link-abbreviated" \
                href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
                
                <b>Subject:</b> Re: [Qgis-user] Export to GML in \
3.28?<o:p></o:p></span></p>  </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">Le 22/03/2023 à 01:16, Eric Ortmayr via
            QGIS-User a écrit :<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal">Hello, <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Exporting to GML using version 3.16
            results in a different coordinate format than in version
            3.28. In 3.16 the X and Y values are separated by a comma
            (GML2?), but in 3.28 the X and Y values are separated by a
            space (GML3?) . Both exports were created using the
            &lt;Default&gt; FORMAT under the Datasource Options section
            in the Save Vector Layer as… dialog.
            <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Are the 3.16 and 3.28 &lt;Default&gt;
            FORMATS different by design? I checked the changelogs and
            could not find anything obvious.<o:p></o:p></p>
        </blockquote>
        <p>Yes, most file format export (and import) is done by GDAL. 
          GDAL 3.4.0 changed to GML 3.2 as the default variant of GML.
          Cf
          <a
href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgdal.org%2Fdri \
vers%2Fvector%2Fgml.html%23dataset-creation-options&amp;data=05%7C01%7Ceortmayr%40crgl \
.ca%7Cc5533e1316c64ed7365c08db2a6baeba%7C2aa156d4b33c41688f39045b19f30a21%7C0%7C0%7C63 \
8150414206590656%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6I \
k1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=iLfZK7gmSVxOrNQDEwpRJqwiiDIiYL5GQkMINhJ6FY0%3D&amp;reserved=0"
  moz-do-not-send="true">
https://gdal.org/drivers/vector/gml.html#dataset-creation-options</a><o:p></o:p></p>
        <p class="MsoNormal"><span
            style="mso-ligatures:none;mso-fareast-language:EN-CA"><br>
            <br>
            <o:p></o:p></span></p>
        <pre>-- <o:p></o:p></pre>
        <pre><a href="https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2 \
Fwww.spatialys.com%2F&amp;data=05%7C01%7Ceortmayr%40crgl.ca%7Cc5533e1316c64ed7365c08db \
2a6baeba%7C2aa156d4b33c41688f39045b19f30a21%7C0%7C0%7C638150414206590656%7CUnknown%7CT \
WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=CEO3ReB4CP1RSXlkBHPmECVoCbFwFN2Lo8M7ML6IxOk%3D&amp;reserved=0" \
                moz-do-not-send="true">http://www.spatialys.com</a><o:p></o:p></pre>
        <pre>My software is free, but my time generally not.<o:p></o:p></pre>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" \
href="http://www.spatialys.com">http://www.spatialys.com</a> My software is free, but \
my time generally not.</pre>  </body>
</html>



_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic