Read & write shapefiles in android or java (.shp)

徘徊边缘 提交于 2019-12-24 01:15:45

问题


Read & Write shapefiles in android or java

How can i read and write shapefiles in Android or java?

.shp .shx and etc

i much searched but nothing

I want read file and edit information and write in same file or new file.

This is important i can write to file. i can read file but this isn't my problem

Thanks


回答1:


Take Gdal for android for a try.

  • Gdal

A translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing. The NEWS page describes the January 2017 GDAL/OGR 2.1.3 release.

http://www.gdal.org/

  • Read/Write API Tutorial

http://www.gdal.org/ogr_apitut.html

  • Building for Android on Linux

https://trac.osgeo.org/gdal/wiki/BuildingForAndroid

  • Either, google for pre-compiled package


来源:https://stackoverflow.com/questions/42482347/read-write-shapefiles-in-android-or-java-shp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!