Closed mattjdnv closed 3 years ago
Running this:
#!/bin/bash set -e rm -rf output* x_*.txt hoot convert -C NodeExport.conf \ -D convert.ops="hoot::SchemaTranslationOp" \ -D schema.translation.script=$HOOT_HOME/translations/RenderDb.js \ export_one.osm outputA.shp > x_A.txt hoot convert export_one.osm outputB.shp > x_B.txt hoot convert -C NodeExport.conf \ -D convert.ops="hoot::SchemaTranslationOp" \ -D schema.translation.script=$HOOT_HOME/translations/RenderDb.js \ export_one.osm export_one2.osm outputC.shp > x_C.txt
Results in this output:
hoot3:/home/dg/matt_test/test_max_renderdb $ ls * dc.zip export_one2.osm export_one.osm export.osm hoot_test.sh x_A.txt x_B.txt x_C.txt outputA: Area.cpg Area.dbf Area.prj Area.shp Area.shx outputB.shp: Lines.cpg Lines.prj Lines.shx Points.dbf Points.shp Polygons.cpg Polygons.prj Polygons.shx Lines.dbf Lines.shp Points.cpg Points.prj Points.shx Polygons.dbf Polygons.shp outputC.shp: Lines.cpg Lines.prj Lines.shx Points.dbf Points.shp Polygons.cpg Polygons.prj Polygons.shx Lines.dbf Lines.shp Points.cpg Points.prj Points.shx Polygons.dbf Polygons.shp
outputC is wrong. The internal structure is correct but the layer naming has reverted to the generic shapefile naming
outputC
The issue is:
NOTE: "single" == 1 x FGDB, 1 x directory of shapefiles etc
Merged
Running this:
Results in this output:
outputC
is wrong. The internal structure is correct but the layer naming has reverted to the generic shapefile naming