/* * The Unified Mapping Platform (JUMP) is an extensible, interactive GUI * for visualizing and manipulating spatial features with geometry and attributes. * * Copyright (C) 2003 Vivid Solutions * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * For more information, contact: * * Vivid Solutions * Suite #1A * 2328 Government Street * Victoria BC V8T 5G5 * Canada * * (250)385-6040 * www.vividsolutions.com */ package com.vividsolutions.jump.coordsys; /** * This class is a base for geographic coordinate systems. * * @author $Author: javamap $ * @version $Revision: 4 $ * * <pre> * $Id: Geographic.java 4 2005-06-16 15:27:48Z javamap $ * $Date: 2005-06-16 17:27:48 +0200 (Do, 16. Jun 2005) $ * $Log$ * Revision 1.1 2005/06/16 15:24:52 javamap * *** empty log message *** * * Revision 1.2 2005/05/03 15:13:05 javamap * *** empty log message *** * * Revision 1.2 2003/11/05 05:20:42 dkim * Added global header; cleaned up Javadoc. * * Revision 1.1 2003/09/15 20:26:11 jaquino * Reprojection * * Revision 1.2 2003/07/25 17:01:04 gkostadinov * Moved classses reponsible for performing the basic projection to a new * package -- base. * * Revision 1.1 2003/07/24 23:14:44 gkostadinov * adding base projection classes * * Revision 1.1 2003/06/20 18:34:31 gkostadinov * Entering the source code into the CVS. * </pre> * */ public class Geographic { public double lat, lon, hgt; public Geographic() { lat = 0; lon = 0; hgt = 0; } public Geographic(double _lat, double _lon) { lat = _lat; lon = _lon; hgt = 0; } public String toString() { return lat + ", " + lon; } }