1 /******************************************************************************* 2 * Copyright (c) 2015 VoyagerSearch 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Apache License, Version 2.0 which 5 * accompanies this distribution and is available at 6 * http://www.apache.org/licenses/LICENSE-2.0.txt 7 ******************************************************************************/ 8 9 package org.locationtech.spatial4j.io; 10 11 12 public interface ShapeIO { 13 public static final String WKT = "WKT"; 14 public static final String GeoJSON = "GeoJSON"; 15 public static final String POLY = "POLY"; 16 public static final String LEGACY = "LEGACY"; 17 18 /** 19 * @return the format name 20 */ 21 public String getFormatName(); 22 }