Examples of Transformation


Examples of de.fhpotsdam.unfolding.geo.Transformation

*/
public class MapQuestProvider {
  public static abstract class GenericMapQuestProvider extends AbstractMapTileUrlProvider {

    public GenericMapQuestProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

 
  private static final String JDBC_PREFIX = "jdbc:sqlite:";
  protected String jdbcConnectionString;

  public MBTilesMapProvider() {
    super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
        -1.068070890e7, 3.355443057e7)));
  }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

public class Microsoft {

  public static abstract class MicrosoftProvider extends AbstractMapTileUrlProvider {

    public MicrosoftProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0, -1.068070890e7,
          3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

*/
public class OpenMapSurferProvider {
  public static abstract class GenericOpenMapSurferProvider extends AbstractMapTileUrlProvider {

    public GenericOpenMapSurferProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

public class GeoMapApp {

  public static abstract class GeoMapAppProvider extends AbstractMapTileUrlProvider {

    public GeoMapAppProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0,
          3.355443185e7, 0.0, -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

*/
public class ThunderforestProvider {
  public static abstract class GenericThunderforestProvider extends AbstractMapTileUrlProvider {

    public GenericThunderforestProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

*/
public class AcetateProvider {
  public static abstract class GenericAcetateProvider extends AbstractMapTileUrlProvider {

    public GenericAcetateProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

*/
public class OpenWeatherProvider {
  public static abstract class GenericOpenWeatherMapProvider extends AbstractMapTileUrlProvider {

    public GenericOpenWeatherMapProvider() {
      super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0, 3.355443185e7, 0.0,
          -1.068070890e7, 3.355443057e7)));
    }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

  private String carto = null;
  public static Logger log = Logger.getLogger(CartoDBProvider.class);
  public AbstractMapProvider masterProvider = null;

  public CartoDBProvider(String account, String dbTable) {
    super(new MercatorProjection(26, new Transformation(1.068070779e7, 0.0f, 3.355443185e7, 0.0,
        -1.068070890e7, 3.355443057e7)));
    this.subdomain = account;
    this.table = dbTable;
  }
View Full Code Here

Examples of de.fhpotsdam.unfolding.geo.Transformation

    // from MercatorProjection#rawProject
    PVector point2 = new PVector(point1.x, PApplet.log(PApplet.tan(0.25f * PApplet.PI + 0.5f * point1.y)));
    System.out.printf("\tpoint2 : x = %.9f y = %.9f \n", point2.x, point2.y);

    // from AbstractProjection#project
    Transformation transformation = new Transformation(1.068070779e7f, 0.0f, 3.355443185e7f, 0.0f,
        -1.068070890e7f, 3.355443057e7f);
    PVector point3 = transformation.transform(point2);
    System.out.printf("\tpoint3a : x = %.9f y = %.9f \n", point3.x, point3.y);

    double x = 1.068070779e7 * point2.x + 0.0 * point2.y + 3.355443185e7;
    double y = 0.0 * point2.x + -1.068070890e7 * point2.y + 3.355443057e7;
    System.out.printf("\tpoint3b : x = %.9f y = %.9f \n", x, y);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.