Tabnine Logo
GpxFileConverter
Code IndexAdd Tabnine to your IDE (free)

How to use
GpxFileConverter
in
ca.carleton.gcrc.couch.onUpload.gpx

Best Java code snippets using ca.carleton.gcrc.couch.onUpload.gpx.GpxFileConverter (Showing top 7 results out of 315)

origin: ca.carleton.gcrc/nunaliit2-couch-onUpload

@Override
public void performWork(
  String work
  ,AttachmentDescriptor attDescription
  ) throws Exception {
  
  if( work == FileConversionPlugin.WORK_ANALYZE ) {
    analyzeFile(attDescription);
  
  } else if( work == FileConversionPlugin.WORK_APPROVE ) {
    approveFile(attDescription);
  
  } else {
    throw new Exception("Plugin can not perform work: "+work);
  }
}
origin: ca.carleton.gcrc/nunaliit2-couch-onUpload

if( null != tracks && tracks.size() > 0 ) {
  for(GpxTrack tr : tracks) {
    convertTrack(attDescription.getContext(), context, tr);
if( null != routes && routes.size() > 0 ) {
  for(GpxRoute rt : routes) {
    convertRoute(attDescription.getContext(), context, rt);
if( null != wayPoints && wayPoints.size() > 0 ) {
  for(GpxWayPoint wp : wayPoints) {
    convertWayPoint(attDescription.getContext(), context, wp);
origin: ca.carleton.gcrc/nunaliit2-couch-onUpload

installCommonFields(approvedContext, context, obj);
origin: ca.carleton.gcrc/nunaliit2-couch-onUpload

context.setSourceDocumentId( doc.getString("_id") );
convertGpx(attDescription, context, gpx, doc);
origin: ca.carleton.gcrc/nunaliit2-couch-command

  uploadWorker.addConversionPlugin( mmPlugin );
uploadWorker.addConversionPlugin( new GpxFileConverter() );
uploadWorker.addConversionPlugin( new GeoJsonFileConverter() );
origin: ca.carleton.gcrc/nunaliit2-couch-onUpload

installCommonFields(approvedContext, context, obj);
origin: ca.carleton.gcrc/nunaliit2-couch-onUpload

installCommonFields(approvedContext, context, obj);
ca.carleton.gcrc.couch.onUpload.gpxGpxFileConverter

Most used methods

  • <init>
  • analyzeFile
  • approveFile
  • convertGpx
  • convertRoute
  • convertTrack
  • convertWayPoint
  • installCommonFields

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ImageIO (javax.imageio)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now