Hi there,
I would appreciate some help for the GolfML to OpenStreetMap bridge/conversion.
As expected, it wasn't too difficult to build a xslt to convert a golf course as described in GolfML into xml osm format.
I will add the stylesheet to perform the conversion to the golfml project later today.
1. So I now have a xml osm file. Where do I go from there? How and where can I test this file?
I'd like to upload it to some kind of osm sandbox to see how it looks like. How can I proceed?
2. I felt the need of a structure to shell around "golf holes" and "golf courses". I used an osm relation. Is that OK? Here is my thought:
= A golf hole consists of patches of land (green, fairways, rough...) and isolated "points" such as tree, tee, or pin (=hole=middle of green). I felt the need to group all those related items (ways and nodes) into a "relation". Is that OK?
= A course is a set of "holes" (as defined above). Again, I felt the need to "group" those holes into an entity and I used a relation to put them together. Was that OK?
I guess that sandboxing my data will soon clarify my questions.
Once this GolfML to OSM conversion works, I will work on the opposite direction, to convert an OSM file and extract golf information to generate a GolfML document with the course description. I already have a few golf courses, either from the OSM/golf discussion (Doral courses), or from Maps4Locus.
Many thanks for your help.
Pierre
PS: Have a look at
this project. They even mention golfml. It is time to revive that project!