Package org.apache.sis.index.tree

Examples of org.apache.sis.index.tree.GeoRSSData


                if (item.getGuid() != null)
                  filename = cleanStr(item.getGuid().getValue()) + ".txt";
                else
                  filename = cleanStr(item.getLink()) + ".txt";

                GeoRSSData data = new GeoRSSData(filename, new LatLon(
                    geoRSSModule.getPosition().getLatitude(), geoRSSModule
                        .getPosition().getLongitude()));
                if (this.tree.insert(data)) {
                  data.saveToFile(item, geoRSSModule, georssStoragePath);
                } else {
                  System.out.println("[INFO] Unable to store data at location "
                      + data.getLatLon().getLat() + ", "
                      + data.getLatLon().getLon() + " under filename "
                      + data.getFileName());
                }
              }
            }
          }
          configStream.close();
View Full Code Here


                if (item.getGuid() != null)
                  filename = cleanStr(item.getGuid().getValue()) + ".txt";
                else
                  filename = cleanStr(item.getLink()) + ".txt";

                GeoRSSData data = new GeoRSSData(filename, new DirectPosition2D(
                    geoRSSModule.getPosition().getLongitude(),
                    geoRSSModule.getPosition().getLatitude()));
                if (this.tree.insert(data)) {
                  data.saveToFile(item, geoRSSModule, georssStoragePath);
                } else {
                  System.out.println("[INFO] Unable to store data at location "
                      + data.getLatLon().y + ", "
                      + data.getLatLon().x + " under filename "
                      + data.getFileName());
                }
              }
            }
          }
          configStream.close();
View Full Code Here

TOP

Related Classes of org.apache.sis.index.tree.GeoRSSData

Copyright © 2018 www.massapicom. 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.