Releases: JsLth/photon
Releases · JsLth/photon
photon 1.0.0
Adjusts to changes in version 1.0.0 of photon geocoder
Major changes
- structured() geocoding does not require special setups anymore
download_database()is adjusted for the new interface of the download server.list_regions()provides an overview of possible regions fordownload_database()- Add
$status()method that interfaces new/statusendpoint - Deprecate
date,exact, andsectionarguments indownload_database()without replacement - Deprecate
countryargument indownload_database()in favor ofregion - Deprecate
structured,update, andenable_update_apiarguments in$import(). Usephoton_optsfor older versions of the photon geocoder.
Minor changes
- Add support for unpacking and importing JSON dumps in
$import() - Automatically convert countries to countrycodes in
.dataargument ofstructured() - Add new API parameters
dedupe,inlude, andexcludeas function arguments - Fix progress bar termination condition in
structured() - Align behavior of
$import()with$start()more consistently - Adjust log parsing of
$start()and$import()to new format $is_ready()now uses new/statusendpoint- Add new subsection on JSON dump imports to vignette
photon 0.7.4
- Increment photon version to 0.7.4
- Match package version to photon version
- Update examples to work in photon 0.7.4
- Set photon 0.7.4 as default and add a supersede warning if version < 0.7.0
- Add photon type (OpenSearch/ElasticSearch) to error message
- Adjust geocoding error detection to OpenSearch
- Update vignettes to OpenSearch
- Switch from Samoa to Monaco as example country (more reliable)
- Add
mountargument tonew_photon(). IfFALSE, instance is created but not mounted. - Add function
with_photon()to execute code using a local photon instance - Add extra info to HTTP404 when search index download does not yield a result
- Add
$help()method to show raw argument information from jar file - Add CRS checks and transformations when an sf geometry is provided to
reverse() - Improve URL checker by relying on
httr2::url_parse() - Fix
$download_data()method not untaring archive and storing metadata - Fix error detection during setup when encountering an exception without a timestamp
- Fix error detection not recognizing OpenSearch import errors
- Fix path arguments defaulting to
"." - Fix an example in
new_photon() - Fix progress bar in
reverse() - Purge photon instances after examples
photon 0.3.5
- Set
limit = 1as default (#2) - Increment photon version number
- Document
lang = "default"(#8) - Allow
osm_tagsandlayerarguments to take vectors of length > 1 (#7) - Fix typos and old info in documentation (#4)
- Add current date to metadata if search index is tagged as "latest" (#5)
- Fix typo in range assertion (#9)
- Add details to HTTP error messages (#6)
- Improve performance by querying duplicates only once (#10)
- Always keep number of rows from original dataset (#3)
- Fix broken
pscommand on newer Linux versions - Made setups more stable by splitting logs (#11, #12)
- Handle
NAas argument input more elegantly - Added optional latinization
- Renamed
consentargument ofpurge_java()toask
photon 0.3.1
- Initial CRAN submission.