地址/位置的通用标记语言
我正在寻找一种标准标记语言来传输地址(位置)。我真的不需要比带有一些元数据的地址列表更复杂的东西,每个地址都需要名称、地址、州、电话、电子邮件、地理坐标和一些其他元数据。我不想将这些地址解析为它们的组成部分;我需要它们作为离散部分传输。
我研究过 GML 和 KML,但似乎都不符合要求。我可以使用 KML 完成我想要的工作,使用地标列表并将地址片段作为已知的键值对存储在 ExtendedData 中。然而,这看起来就像试图将方钉装入圆孔,因为 KML 非常以显示为中心。我也查看了 OASIS xAL(KML 使用的),但它对于我正在做的事情来说似乎太过分了,而且文档也很少。
此外,我希望找到一个已经有围绕它构建的 .NET 库的解决方案。
如果有必要,我可以足够简单地创建自己的 ML,但是当客户希望我们处理他们的自定义 Excel 文档时,使用标准会给我很大的力量。
谢谢!
I'm looking for a standard markup language to transmit addresses (locations). I really need nothing more complicated than a list of addresses with some metadata, each requiring a name, address, state, phone, email, geocoordinates, and some other metadata. I don't want to have to parse these addresses into their constituent parts; I need them transmitted as discrete parts.
I've looked into both GML and KML and neither seems to fit the bill. I could get what I want done with KML, using a list of Placemarks and storing the pieces of the address in the ExtendedData as known key value pairs. However, this seems like trying to fit a square peg into a round hole since KML is so centered around display. I looked at OASIS xAL (which KML uses) as well, but it seemed overkill for what I am doing, and documentation is sparse.
Additionally, I'm hoping to find a solution that already has a .NET library built around it.
If I have to I can create my own ML simple enough, but using a standard will give me great power when pushing back on customers who want us to handle their custom Excel documents.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你没有提到XML。
有什么理由不符合要求吗?标准库中的出色支持。
You didn't mention XML.
Any reason why that won't fit the bill? Excellent support in the standard library.