> --
> You received this message because you are subscribed to the Google Groups "libkml" group.
> To post to this group, send email to lib...@googlegroups.com.
> To unsubscribe from this group, send email to libkml+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/libkml?hl=en.
>
>
I've attached a diff that modifies
examples/helloworld/printgeometry.cc to print coordinates of
LineStrings and Points when it sees them. For example:
$ echo "<Placemark><Point><coordinates>0,1,2
3,4,5</coordinates></Point></Placemark>" > /tmp/x.kml &&
./examples/helloworld/printgeometry /tmp/x.kml
Found a Point
coordinates:
<coordinates>0,1,2
3,4,5
</coordinates>