类 MvtParser
- java.lang.Object
-
- org.wowtools.giscat.vector.mvt.MvtParser
-
public class MvtParser extends Object
mvt bytes解析- 作者:
- liuyu
- createdate
- 2022/5/10
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classMvtParser.MvtFeatureLayer图层
-
构造器概要
构造器 构造器 说明 MvtParser()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static MvtParser.MvtFeatureLayer @NotNull []parse2TileCoords(byte[] data, @NotNull org.locationtech.jts.geom.GeometryFactory gf)解析为瓦片坐标系static MvtParser.MvtFeatureLayer @NotNull []parse2Wgs84Coords(byte z, int x, int y, byte[] data, @NotNull org.locationtech.jts.geom.GeometryFactory gf)解析瓦片并将坐标转为wgs84坐标系
-
-
-
方法详细资料
-
parse2TileCoords
public static MvtParser.MvtFeatureLayer @NotNull [] parse2TileCoords(byte[] data, @NotNull @NotNull org.locationtech.jts.geom.GeometryFactory gf)
解析为瓦片坐标系- 参数:
data- 矢量瓦片 bytesgf- jts GeometryFactory- 返回:
- MvtFeatureLayer
-
parse2Wgs84Coords
public static MvtParser.MvtFeatureLayer @NotNull [] parse2Wgs84Coords(byte z, int x, int y, byte[] data, @NotNull @NotNull org.locationtech.jts.geom.GeometryFactory gf)
解析瓦片并将坐标转为wgs84坐标系- 参数:
z- zx- xy- ydata- 矢量瓦片 bytesgf- jts GeometryFactory- 返回:
- MvtFeatureLayer
-
-