com.ontimize.util.gis.extension.google
Class GoogleMapsDataProvider
java.lang.Object
com.ontimize.util.gis.extension.google.GoogleMapsDataProvider
- All Implemented Interfaces:
- IDataProvider
public class GoogleMapsDataProvider
- extends java.lang.Object
- implements IDataProvider
Scales: 0.000010759;0.000021518;0.000043036;0.000086072;0.0001712144;0.000344288;0.000688576;0.0013177152;0.00274658203125;0.0054931640625;0.010986328125;0.02197265625;0.0439453125;0.087890625;0.17578125;0.3515625;0.703125;1.40625
|
Method Summary |
protected java.awt.image.BufferedImage |
createBuffer(int width,
int height)
|
void |
initProvider(java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
|
protected com.vividsolutions.jts.geom.Envelope |
parseBBOX(java.util.Hashtable<java.lang.String,java.lang.Object> appliedFilters)
|
protected java.net.URL |
parseURLWMSRequest(java.util.Hashtable<java.lang.String,java.lang.Object> appliedFilters)
|
java.lang.Object |
query(java.lang.Object keysValues,
java.lang.Object attributes,
int sessionId)
This method must implement a standard query operation returning the set
of data that matches the conditions specified by the keysValues
parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
protected boolean DEBUG
tsyNumber
protected int tsyNumber
image_format
protected int image_format
GoogleMapsDataProvider
public GoogleMapsDataProvider()
GoogleMapsDataProvider
public GoogleMapsDataProvider(java.util.Hashtable parameters)
query
public java.lang.Object query(java.lang.Object keysValues,
java.lang.Object attributes,
int sessionId)
throws java.lang.Exception
- Description copied from interface:
IDataProvider
- This method must implement a standard query operation returning the set
of data that matches the conditions specified by the keysValues
parameter. The attributes defines which attributes (or columns if data is
obtained from a database) must be recovered, and keysValues specifies
which set of records must be recovered.
- Specified by:
query in interface IDataProvider
- Parameters:
keysValues - Identifiers for the dataattributes - Data attributes to querysessionId - Session Id for this user
- Returns:
- Requested data
- Throws:
java.lang.Exception
parseURLWMSRequest
protected java.net.URL parseURLWMSRequest(java.util.Hashtable<java.lang.String,java.lang.Object> appliedFilters)
- Parameters:
appliedFilters -
parseBBOX
protected com.vividsolutions.jts.geom.Envelope parseBBOX(java.util.Hashtable<java.lang.String,java.lang.Object> appliedFilters)
- Parameters:
appliedFilters -
createBuffer
protected java.awt.image.BufferedImage createBuffer(int width,
int height)
initProvider
public void initProvider(java.util.Hashtable<java.lang.String,java.lang.Object> parameters)
- Specified by:
initProvider in interface IDataProvider