We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-merge-layers
I was trying to merge three files into one, but got three output files instead.
Very likely, this is because sometimes one or more of those files have null geometries.
Command I used:
mapshaper -i filea.json fileb.json filec.json combine-files \ -merge-layers \ -o format=geojson precision=0.001 merged.json
In my test case, each source file is essentially empty:
{"type":"FeatureCollection", "features": [ ]}
Resulting in:
[o] Wrote data/merged1.json [o] Wrote data/merged2.json [o] Wrote data/merged3.json
Ideally, we'd end up with one merged.json file that contains this:
merged.json
{"type":"GeometryCollection", "geometries": [ ]}
Current workaround is to add the combine-layers to the -o command in lieu of using -merge-layers.
combine-layers
-o
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was trying to merge three files into one, but got three output files instead.
Very likely, this is because sometimes one or more of those files have null geometries.
Command I used:
In my test case, each source file is essentially empty:
Resulting in:
Ideally, we'd end up with one
merged.json
file that contains this:Current workaround is to add the
combine-layers
to the-o
command in lieu of using-merge-layers
.The text was updated successfully, but these errors were encountered: