-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
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
Submission: tiler #226
Comments
👋 @leonawicz I'm just returning from vacation (and email/work deluge). I will follow up with next steps shortly and also begin looking for reviewers. Stay tuned. |
@karthik Thank you and no rush :) Also, please feel free to ignore the unpublished (to CRAN) |
Editor checks:
Editor comments👋 @leonawicz The package looks to be in really good shape and no substantial issues emerged from the checks. The only minor suggestion is to break up long lines of code to improve readability, but we can wait to see what concrete suggestions the reviewers have. No worries on the
You can go ahead and add a rOpenSci review badge to your readme. It will autoupdate as the review progresses.
Reviewers: reviewer 1: @jasdumas; Currently seeking reviewer 2 |
@karthik Thanks! Badge added. I can shorten the longer lines (I think my default lintr check allows 120 instead of 80). Thanks. Yeah, please ignore the |
Thank you @jasdumas for agreeing to review! Please note due date above and reach out if you need more time. 🙏 |
Package ReviewPlease check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
DocumentationThe package includes all the following forms of documentation:
Functionality
Final approval (post-review)
Estimated hours spent reviewing: 2.5 Hours
Review CommentsManual review of GitHub Repo, vignette & installation directions
Automated testsvia opening up the Development 📦 R project with packrat in a new RStudio session
|
Thank you so much @jasdumas ! This is really helpful. I've included a
Re: installation on different systems. I don't know how to do it for Mac and don't have access to any Macs. For Linux, the only systems I have access to are server environments that already have everything Python and geospatial installed that could possibly be needed (and I'm not the sys admin so I don't know those details). I do use Linux with Travis CI but in that environment it's not truly testing for the successful creation of map tile files. E.g., I'll take a closer look at some of the lines not covered by unit tests. Some lines can be difficult to test. Thanks! |
@leonawicz Quick update. Let me know once you've worked through Jasmine's suggestion. The second reviewers email got lost but I have contacted them again to complete the review. If it doesn't arrive shortly, I will act as second reviewer. |
@karthik Thanks. I've done everything I'm able to at this time. I don't think the handful of lines without code coverage via Travis CI/Codecov are that important. Some cannot be covered like If ensuring a true tile-generating (i.e., file-generating) test occurs on Linux builds via Travis CI is important, I am stuck there (see link to issue above regarding installing Python and GDAL on Travis/Appveyor) and unable to resolve that myself. |
Thanks @leonawicz, I'll take a look at those issues. Also @Paula-Moraga is going to be our second reviewer and she will complete her review shortly. |
Package ReviewPlease check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide
DocumentationThe package includes all the following forms of documentation:
Functionality
Final approval (post-review)
Estimated hours spent reviewing: 3 hours Review CommentsThe The package works fine and the documentation is clear. The package requires Python and the Congrats on the package! InstallationI use Windows 10 and I needed to download and install To make the package work I needed to execute this: Then I tried the package adding the Windows environment variables instead. As it is specified in the documentation, I added C:\OSGeo4W64 to the Windows environment variable PATH so R can find OSGeo4W.bat. Then I executed Then I executed Documentation
Automated tests
|
@Paula-Moraga thanks for your review! :) Sorry for delays, work has been very busy lately. The function I will look into adding a visible I'm currently at my limit for the moment in terms of system installation knowledge/experience. I only have one Windows 10 system to test installation and use. It worked for me but I do not have the broader OS experience to be able to determine what an ideal generic solution for Windows installation that works for all users would be. I am even more limited with my knowledge about how to install system requirements on Linux at the moment, and Mac is not even in the picture for me. This is a problematic situation, but unfortunately not one I have been able to resolve on my own yet. |
@leonawicz Thanks for the |
@Paula-Moraga I still have to update the vignette with a mention about I have added two examples, one geographic and one non-geographic, using These are located in the final section "Serving map tiles," in a Leaflet Examples subsection right before the Local Preview subsection. The Local Preview section is where I will also mention |
@leonawicz The leaflet examples are not working for me. Could it be that the variables |
I have been checking here after using pkgdown and hosting online with the GitHub repo: https://leonawicz.github.io/tiler/articles/tiler.html The Leaflet widgets in the Are you seeing something different? |
Oh wait, I think I understand. If you mean the code is not working in RStudio, click the little button at the top of the map viewing pane to open the widget in your browser. Then it may display. Alternatively, run the code in regular R (not RStudio). This should also work automatically. Let me know if this fixes it. I don't know the details, but remotely hosted components may not display automatically in RStudio's preview pane. |
Yes, that was the reason! I do not see them in RStudio's preview pane but when I click the right panel it works perfectly! The examples you chose are great, thank you! |
@leonawicz 👋 I just wanted to check in on the status of this review. Have all of the issues raised by @Paula-Moraga been addressed now? |
@karthik @Paula-Moraga I think so??? I've done everything I planned on doing There are some other issues I mentioned earlier that I am unable to do. See #226 (comment) for example of something I really can't figure out, but don't know how critical it is- I defer to your judgement on the necessity. ropensci/tiler#6 Side note: I pushed a small Windows-only bug fix to CRAN last week which is pending (v0.2.1). |
Thanks @leonawicz! I see that all issues have now been addressed. I'll proceed with accepting your package. Congrats @leonawicz, your submission has been approved! 🎉 Thank you for submitting and @jasdumas and @Paula-Moraga for thorough and timely reviews. To-dos:
Welcome aboard! We'd also love a blog post about your package, either a short-form intro to it (https://ropensci.org/technotes/) or long-form post with more narrative about its development. ((https://ropensci.org/blog/). If you are, @stefaniebutland will be in touch about content and timing. |
@karthik @jasdumas @Paula-Moraga Thank you all for your help throughout! :) I will find time in the next day to complete the documentation updates and complete the transfer. |
Congrats, @leonawicz! |
Hello @leonawicz and congratulations. This link will give you many examples of blog posts by authors of onboarded packages. In case you are considering writing one, here are some technical and editorial guidelines: https://github.com/ropensci/roweb2#contributing-a-blog-post. No obligation to do this. Happy to answer any questions. |
Summary
Purpose: Create geographic and no-geographic map tile sets from R.
URL for the package (the development repository, not a stylized html page):
https://github.com/leonawicz/tiler
Please indicate which category or categories from our package fit policies this package falls under *and why
geospatial, because (1) the package assists with tiling high resolution geospatial maps for practical use in online applications where displaying the source image would be too heavy a resource load and (2) even the non-geographic/"simple CRS" use case can be geospatial. For example, an image of an old, hand-drawn but historically significant map may be used as the background of a tiled map application whereas something standard like zooming in on Google Maps containing modern, current georeferenced locations would be visually incompatible and a distraction from the data shown on the map.
R users who wish to create geographic as well as non-geographic map tiles,
(1) easily and seamlessly with only a single line of R code
(2) without a bunch of heavy package dependencies and extraneous general features and functions that do not have to do with tile generation
(3) without having to code directly in other software or interact directly with Python or make calls at the command line; staying comfortably within the familiar R environment.
(4) who may wish to create non-standard maps, which may also be followed by georeferencing locations in non-standard map space.
The typical applications would be to provide the generated tile sets to tile-based map applications such as Leaflet maps and this package brings together XYZ format, TMS format, and most especially the edge case of non-geographic format, together in a single interface.
yours differ or meet our criteria for best-in-category?
Not that I am aware of on ROpenSci. The
mapview
package apparently has some overlapping or related functionality just added, so I think it is only in the dev version and not the CRAN version, but looking at the source code on GitHub it appears to take a different approach, piggybacking tile creation as part of a chained or piped process that creates a Leaflet map. I wanted a package that made tiles without trying to do something specific with them "on the fly", so there is no interleaving in my package of tile creation and map creation. There is definitely value in other approaches, and perhaps in the future (not during this review process, if it gets reviewed) I may add some functionality that helps streamline processes for users such as pushing their created tile sets to GitHub for serving after they've been generated, if that gives some sense of potential future package scope. Buttiler
is not aimed at combining tile creation with map making. They are decidedly treated as separate endeavors.I favor the approach and perspective of separating map tile set creation (which can be slow/bulky/resource heavy depending on the map, and can create tens of thousands of tiles, or more) from applications involving the generated tiles that I'd prefer to keep remotely hosted.
tiler
is suited to users who want to create tile sets, host them online, and then once that processing and scaffolding is in place and ready to be served- separately do something with those tiles as base maps. Whiletiler
contains a simple tile previewer function, this is the "extra feature", not the core purpose or functionality. The package is intended for tile generation rather than drawing maps.Requirements
Confirm each of the following by checking the box. This package:
Publication options
paper.md
matching JOSS's requirements with a high-level description in the package root or ininst/
.Detail
Does
R CMD check
(ordevtools::check()
) succeed? Paste and describe any errors or warnings:Does the package conform to rOpenSci packaging guidelines? Please describe any exceptions:
If this is a resubmission following rejection, please explain the change in circumstances:
If possible, please provide recommendations of reviewers - those with experience with similar packages and/or likely users of your package - and their GitHub user names:
The text was updated successfully, but these errors were encountered: