|
@@ -23,7 +23,11 @@ public class CommandMsg {
|
|
public static String MODEL_VTS_REMOVE = "vts /var/vts/store/stage.melown2015 --remove @fileName";
|
|
public static String MODEL_VTS_REMOVE = "vts /var/vts/store/stage.melown2015 --remove @fileName";
|
|
|
|
|
|
// ogr2ogr -f "GeoJson" /var/vts/mapproxy/datasets/road2/road.geojson /var/vts/mapproxy/datasets/road2/Road.shp
|
|
// ogr2ogr -f "GeoJson" /var/vts/mapproxy/datasets/road2/road.geojson /var/vts/mapproxy/datasets/road2/Road.shp
|
|
- public static String VECTOR_OGR2OGR = "ogr2ogr -f \"GeoJson\" @fileName.geojson @fileName.shp";
|
|
|
|
|
|
+// public static String VECTOR_OGR2OGR = "ogr2ogr -f \"GeoJson\" @fileName.geojson @fileName.shp";
|
|
|
|
+
|
|
|
|
+ // 使用docker
|
|
|
|
+ public static String VECTOR_OGR2OGR = "docker run --rm -v /var/vts/mapproxy:/var/vts/mapproxy " +
|
|
|
|
+ "osgeo/gdal ogr2ogr -f \"GeoJSON\" @fileName.geojson @fileName.shp";
|
|
|
|
|
|
public static String VECTOR_TIPPECANOE = "tippecanoe -o @fileName.mbtiles -z 19 -Z 8 -B 8 -ps @fileName.geojson";
|
|
public static String VECTOR_TIPPECANOE = "tippecanoe -o @fileName.mbtiles -z 19 -Z 8 -B 8 -ps @fileName.geojson";
|
|
|
|
|