简体   繁体   English

MapGuide开源:通过java / jsp处理SDF数据?

[英]MapGuide open source : manipulating SDF data via java/jsp?

I am relatively new to MapGuide open source technology. 我对MapGuide开源技术比较陌生。 I would like to parse and modify data that is in SDF format so that my map displays this updated feature data (dynamically). 我想解析和修改SDF格式的数据,以便我的地图(动态)显示此更新的要素数据。 How can i do so? 我该怎么办? I have MapGuide installed and configured on Linux. 我在Linux上安装并配置了MapGuide。 I went through the MapGuide Web API documentation but there were no examples on how to manipulate SDF data. 我浏览了MapGuide Web API文档,但没有有关如何处理SDF数据的示例。 Currently i am generating the SDF data in a different environment (in a Windows OS domain) by using scripts to query a spatial database and the query generates SHP files. 当前,我正在使用脚本查询空间数据库,并在其他环境(在Windows OS域中)中生成SDF数据,并且查询生成了SHP文件。 I then transform those SHP files into SDF files (using scripts) before transferring them to the MapGuide server repository in the Linux OS environment. 然后,我将这些SHP文件转换为SDF文件(使用脚本),然后再将其传输到Linux OS环境中的MapGuide服务器存储库。 On the Windows OS end, I am able to edit the SHP files (in particular the dbf file just using a spread sheet) to change the values for the particular feature source. 在Windows操作系统端,我可以编辑SHP文件(特别是仅使用电子表格的dbf文件)来更改特定功能源的值。 However this process is static and so i was hoping to be able to do so programmatically (using java / jsp) by parsing the SDF files for the particular feature source in the Linux domain. 但是,此过程是静态的,因此我希望能够通过解析Linux域中特定功能源的SDF文件以编程方式(使用java / jsp)来实现。 Thanks 谢谢

Okay.. from what i have learnt elsewhere...The SDF data cannot be edited directly using the Java Web API, instead Mapguide uses FDO which is an abstraction layer for accessing spatial data using a common api. 好的..从我​​在其他地方学到的知识...无法使用Java Web API直接编辑SDF数据,而是Mapguide使用FDO,它是使用通用api访问空间数据的抽象层。 FDO on MapGuide Open Source Hope this helps anyone with a similar question to my original question. MapGuide开源上的FDO希望这对遇到与我的原始问题相似的问题的人们有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM