ropensci / geojsonio

Convert many data formats to & from GeoJSON & TopoJSON
https://docs.ropensci.org/geojsonio
Other
150 stars 59 forks source link

Topojson write also writes a GeoJSON #127

Closed martgnz closed 6 years ago

martgnz commented 7 years ago

While using topojson_write I've noticed that it also writes a GeoJSON file with the same name and the .geojson extension. Is this expected? Or am I doing something wrong?

This is my code:

> topojson_write(df, file = "df.json", geometry='polygon', group="group")
Success! File at df.json
<topojson-file>
  Path:       df.json
  From class: data.frame
sckott commented 7 years ago

thx @martgnz , can you reinstall devtools::install_github("ropensci/geojsonio") and try again

martgnz commented 7 years ago

Now it works as expected, thank you 👍

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.