phayes / geoPHP

Advanced geometry operations in PHP
https://geophp.net
Other
864 stars 263 forks source link

Add attribute support for KML #141

Open NickStallman opened 7 years ago

NickStallman commented 7 years ago

This only adds support for metadata from KML files, no other formats. It does not support writing the metadata when using write().

It does add the groundwork for more extensive metadata handling in geoPHP however and may be useful to others as-is.

Some work was done to geometryReduce to preserve metadata from collections that are optimised away.

CuCTeMeH commented 7 years ago

I need this feature also. Just to let you know that I will copy this code in my local geophp. Thanks for providing it! Best regards!