1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
| [root@node-kubeadm-250 geomesa-hbase_2.11-3.1.0]# bin/geomesa-hbase ingest --catalog china --feature-name china_1 --input-format shp "/usr/local/geomesa/china.shp" INFO No converter defined - will attempt to detect schema from input files INFO Inferred converter: { "fields" : [ { "name" : "the_geom", "transform" : "$1" }, { "name" : "adcode", "transform" : "$2" }, { "name" : "name", "transform" : "$3" }, { "name" : "childrenNu", "transform" : "$4" }, { "name" : "level", "transform" : "$5" }, { "name" : "subFeature", "transform" : "$6" }, { "name" : "adchar", "transform" : "$7" } ], "id-field" : "$0", "options" : { "encoding" : "UTF-8", "error-mode" : "skip-bad-records", "parse-mode" : "incremental", "validators" : [ "index" ] }, "type" : "shp" }
Use inferred converter (y/n)? y Persist this converter for future use (y/n)? y INFO Added import in reference.conf and saved inferred converter to /usr/local/geomesa/geomesa-hbase_2.11-3.1.0/conf/china_1_4.conf INFO In future commands, the converter may be invoked with '--converter china_1' INFO Schema 'china_1' exists INFO Running ingestion in local mode INFO Ingesting 1 file with 1 thread [============================================================] 100% complete 35 ingested 0 failed in 00:00:01 INFO Local ingestion complete in 00:00:02 INFO Ingested 35 features with no failures for file: /usr/local/geomesa/china.shp
|