You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java -jar ./shp-to-osm-0.8.8-SNAPSHOT-jar-with-dependencies.jar --outputFormat osm --shapefile somefile.shp --osmfile otherfile.shp
3. get error:
Missing one of the required file paths.
usage: java -cp shp-to-osm.jar [--glomKey <key>] [--rulesfile <RULESFILE>]
--osmfile <OSMFILE> [--maxnodes <nodes>] [--copyTags <prefix>]
[--outputFormat <format>] --shapefile <SHPFILE> [--outdir <OUTDIR>]
--copyTags <prefix> Copy all shapefile attributes to OSM tags
verbatim, with an optional prefix.
--glomKey <key> The key to 'glom' on. Read the README for
more info.
--maxnodes <nodes> Maximum elements per OSM file.
--osmfile <OSMFILE> Prefix of the output file name.
--outdir <OUTDIR> Directory to output to. Default is working
dir.
--outputFormat <format> The output format ('osm' or 'osmc'
(default)).
--rulesfile <RULESFILE> Path to the input rules file.
--shapefile <SHPFILE> Path to the input shapefile.
By trial and error, I have determined that --rulesfile is actually mandatory. Therefore, it shouldn't be in brackets - that's a commonly used syntax for "optional parameter".
What to do? Either a) fix the program to not require rulesfile, or b) fix the docs to show rulesfile as required.
The text was updated successfully, but these errors were encountered:
Friends, i dont actually understand the usage. I got the same errorlog with trying java -jar ./shp-to-osm-0.8.8-SNAPSHOT-jar-with-dependencies.jar --outputFormat osm --shapefile ./Road.shp --osmfile Road1
How should i design rules file and what format should i assign postfix for rules file? I am trying to transform Road.shp and I want all attributes it has. I tried " line , , , - " but i guess this is wrong. Any idea ?
java -jar ./shp-to-osm-0.8.8-SNAPSHOT-jar-with-dependencies.jar --outputFormat osm --shapefile somefile.shp --osmfile otherfile.shp
3. get error:
By trial and error, I have determined that
--rulesfile
is actually mandatory. Therefore, it shouldn't be in brackets - that's a commonly used syntax for "optional parameter".What to do? Either a) fix the program to not require
rulesfile
, or b) fix the docs to showrulesfile
as required.The text was updated successfully, but these errors were encountered: