All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.locationtech.geowave.adapter.raster.operations.InstallGdalCommand Maven / Gradle / Ivy

/**
 * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
 *
 * 

See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Version 2.0 which accompanies this distribution and is * available at http://www.apache.org/licenses/LICENSE-2.0.txt */ package org.locationtech.geowave.adapter.raster.operations; import org.locationtech.geowave.adapter.raster.plugin.gdal.InstallGdal; import org.locationtech.geowave.core.cli.annotations.GeowaveOperation; import org.locationtech.geowave.core.cli.api.Command; import org.locationtech.geowave.core.cli.api.DefaultOperation; import org.locationtech.geowave.core.cli.api.OperationParams; import com.beust.jcommander.Parameter; import com.beust.jcommander.Parameters; @GeowaveOperation(name = "installgdal", parentOperation = RasterSection.class) @Parameters(commandDescription = "Install GDAL by downloading native libraries") public class InstallGdalCommand extends DefaultOperation implements Command { @Parameter(names = "--dir", description = "The download directory", required = false) private String downloadDirectory = "./lib/utilities/gdal"; @Override public void execute(final OperationParams params) throws Exception { InstallGdal.main(new String[] {downloadDirectory}); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy