Bug #357 Fetching geometry type in GML
Submitted: 2 May 2003 6:37 Modified: 21 Aug 2003 2:56
Reporter: Stepan Rybar Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:4.1, 5.x OS:Any (All)
Assigned to: Alexander Barkov CPU Architecture:Any

[2 May 2003 6:37] Stepan Rybar
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:
[8 Aug 2003 2:44] Lenz Grimmer
Assigned to bar for consideration.
[21 Aug 2003 2:56] Alexander Barkov
I added this into our TODO database. Under low priority though.