public class GeoUtils extends Object
Constructor and Description |
---|
GeoUtils() |
Modifier and Type | Method and Description |
---|---|
static Vector<com.nutiteq.components.MapPos> |
decompress(String encoded,
double precision,
com.nutiteq.projections.Projection proj)
decompress Google Polyline Encoding Format.
|
static com.nutiteq.components.Envelope |
transformBboxJavaProj(com.nutiteq.components.Envelope bbox,
String fromProj,
String toProj)
Reproject bounding box using javaProj library.
|
static com.nutiteq.components.Envelope |
transformBboxProj4(com.nutiteq.components.Envelope bbox,
String fromProj,
String toProj)
Reproject bounding box using Proj.4 (NDK) library
|
public static com.nutiteq.components.Envelope transformBboxJavaProj(com.nutiteq.components.Envelope bbox, String fromProj, String toProj)
bbox
- input bounding boxfromProj
- proj4 texttoProj
- public static com.nutiteq.components.Envelope transformBboxProj4(com.nutiteq.components.Envelope bbox, String fromProj, String toProj)
bbox
- input bounding boxfromProj
- proj4 texttoProj
- public static Vector<com.nutiteq.components.MapPos> decompress(String encoded, double precision, com.nutiteq.projections.Projection proj)
encoded
- precision
- , usually 5proj
- result is converted from WGS84 to this projectionCopyright © 2014. All rights reserved.