[英]using wms and wfs with with osmdroid or any other opensource java based library
I was asked to develop an android map application which uses wms-wfs source from geoserver. 我被要求开发一个使用来自geoserver的wms-wfs源的android地图应用程序。
in order to be more clear I want to accomplish 为了更清楚我想完成
get xml response(either kml or an xml file I'm not sure about difference) then parse this xml file to get geometry's info which is at touch point. 获取xml响应(kml或我不确定差异的xml文件),然后解析该xml文件以获取处于接触点的几何图形信息。 This xml may include this info
此xml可能包含此信息
create appropriate geometry depending on this xml file. 根据此xml文件创建适当的几何。
I know I need too much help. 我知道我需要太多帮助。 Thanks for any reply(I explain may way for anyone new in this area maybe the question can help)
谢谢您的答复(我向这个领域的任何新人解释可能的方式,也许这个问题可以帮助您)
By the way I have found some resources during this time. 顺便说一下,我在这段时间内找到了一些资源。 They're said to support wms, wfs services.
据说它们支持wms,wfs服务。 Let me share them:
让我分享一下:
Not exactly sure what you are looking for above, but it would help if you could show some of what you have tried / used, and exactly where you are having problems. 不确定上面的内容,但是如果可以显示您尝试过/使用过的内容以及出现问题的确切位置,则将有所帮助。 To be helpful, here are the results of my googling:
为了提供帮助,以下是我的谷歌搜索结果:
Look here for a simple KML Parser example for Android: http://www.java2s.com/Open-Source/Android/android-core/platform-sdk/com/android/ddmuilib/location/KmlParser.java.htm 在此处查找适用于Android的简单KML解析器示例: http : //www.java2s.com/Open-Source/Android/android-core/platform-sdk/com/android/ddmuilib/location/KmlParser.java.htm
Here is an example of XML parsing on Android: http://www.warriorpoint.com/blog/2009/07/19/android-simplified-source-code-for-parsing-and-working-with-xml-data-and-web-services-in-android/ 这是在Android上进行XML解析的示例: http : //www.warriorpoint.com/blog/2009/07/19/android-simplified-source-code-for-parsing-and-working-with-xml-data-和Android中的网络服务/
Here is a tutorial on mapview on Android: https://developers.google.com/maps/documentation/android/v1/hello-mapview 这是Android上关于Mapview的教程: https : //developers.google.com/maps/documentation/android/v1/hello-mapview
Please update you question with more details and I expect you will get a better response. 请用更多详细信息更新您的问题,我希望您会得到更好的答复。
Take a look at Esri's ArcGIS SDK for Android. 看看Esri的Android版ArcGIS SDK。 It has support for rendering WMS layers (not sure how it stands with more advanced stuff though):
它支持渲染WMS图层(尽管不确定如何与更高级的内容配合使用):
ArcGIS Runtime SDK for Android 适用于Android的ArcGIS Runtime SDK
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.