Description:
Hallo!
Can I ask You to add to the standard distributution another spatial data format - Geography Markup Languague (GML)? It means to add two functions:
a) AsGml(g),
b) GeomFromGml(GmlFragment).
At least AsGml(), because it is time (system time, not mine) consuming to run user defined function to do that and I hope also easy to implement in MySQL, because You have anyway data from database in structure ready to publish in GML. Implementing GeomFromGml() can be much more harder, because of new "richer" features of new version of GML. Also GeomFromGml() is not so time critical, because it will be mostly up to time of administrator, not user.
Short example of GML to see how close it has to AsText() function:
<gml:MultiLineString srsName="">
<gml:lineStringMember>
<gml:LineString>
<gml:coordinates>0.0,0.0 10.0,10.0 0.0,20.0</gml:coordinates>
</gml:LineString>
</gml:lineStringMember>
<gml:lineStringMember>
<gml:LineString>
<gml:coordinates>0.0,30.0 40.0,10.0</gml:coordinates>
</gml:LineString>
</gml:lineStringMember>
</gml:MultiLineString>
How to repeat:
Description: Hallo! Can I ask You to add to the standard distributution another spatial data format - Geography Markup Languague (GML)? It means to add two functions: a) AsGml(g), b) GeomFromGml(GmlFragment). At least AsGml(), because it is time (system time, not mine) consuming to run user defined function to do that and I hope also easy to implement in MySQL, because You have anyway data from database in structure ready to publish in GML. Implementing GeomFromGml() can be much more harder, because of new "richer" features of new version of GML. Also GeomFromGml() is not so time critical, because it will be mostly up to time of administrator, not user. Short example of GML to see how close it has to AsText() function: <gml:MultiLineString srsName=""> <gml:lineStringMember> <gml:LineString> <gml:coordinates>0.0,0.0 10.0,10.0 0.0,20.0</gml:coordinates> </gml:LineString> </gml:lineStringMember> <gml:lineStringMember> <gml:LineString> <gml:coordinates>0.0,30.0 40.0,10.0</gml:coordinates> </gml:LineString> </gml:lineStringMember> </gml:MultiLineString> How to repeat: