com.ontimize.util.gis.extension.google
Class URLGenerator
java.lang.Object
com.ontimize.util.gis.extension.google.URLGenerator
public class URLGenerator
- extends java.lang.Object
Class used to generate http requests for Google maps data provider
|
Method Summary |
static java.lang.String |
generateURL(com.vividsolutions.jts.geom.Envelope boundingBox,
int image_width,
int image_height,
int tsyNumber)
|
static com.vividsolutions.jts.geom.Envelope |
getResultBBox(com.vividsolutions.jts.geom.Envelope boundingBox,
int image_width,
int image_height)
Gets the resulting bounding box adjusted to the google maps request created with
generateURL method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLGenerator
public URLGenerator()
generateURL
public static java.lang.String generateURL(com.vividsolutions.jts.geom.Envelope boundingBox,
int image_width,
int image_height,
int tsyNumber)
getResultBBox
public static com.vividsolutions.jts.geom.Envelope getResultBBox(com.vividsolutions.jts.geom.Envelope boundingBox,
int image_width,
int image_height)
- Gets the resulting bounding box adjusted to the google maps request created with
generateURL method
- Parameters:
boundingBox - Interest bounding box on WGS 84 reference systemimage_width - Image widthimage_height - Image height
- Returns:
- Resulting bounding box