changed code so that we can concatenate one or more ref_points files to ref_points.local.php
bugfixed inverted lon/lat parameters on RefPoint (+ added convenience ref_point->get_name())
Refacto of Tiles handling and simplified a bit file naming for tiles/params.By the way, fixes #297
THIS COMMIT BREAKS FILE LAYOUT AND REQUIRES MIGRATION (SEE BELLOW).
To migrate data :
cd tilesfind . '*.jpg' -exec rename 's/[^\/]*_(([0-9]{3}_){2}([0-9]{3}))/$1/' {} \;...
do not display ref_points and panorama further than 25km from the current one (tunable in constant)
Use propper RefPoint::get_all() instead of requiring ref_points.local.php
moved the ref_points path to a constant.
some request input checking/sanitization
The one-step upload now handles as well the tiles generation and stops on generation errors if needed
fixes bug : image_loop not returned properly after being parsed from file
tolerate that the dir exists before tiles creation
Moved error handling and autoloading outside of the utils::init() (__autoload was not working actuallly)
allow upload with same names
added params generation to upload
does the same upload job, bet refactored the form and receive action for future
fix array format that seems not to work with some PHP versions
Added sanity checks
adds a rm_reference.php webservice and fixed the typing from/to ini files
webservice to reference ref_points is ready
first steps of add_reference.php webservice : input validation/sanitization and RefPoint class
modified site_point to allow empty panoramas (when just instanciated)
moved panorama generation to class : PanoramaGenerator
small fixes arround site_point::get_all() usage
moved all_points webservice to use methods from site_point
make use of constants
has_params and get_all for site_point
handle a params cache
separate function for listing available images
linked the map points to panorama visualization
added site_point->get_url() method
remise en forme du travail de Victor Pongnian suit à son stageIl reste pas mal de cosmétique à revoir mais le système devrait déjà être utilisable dans l'état.
Version réaliée pour la sage de Victor Pongnian
Première version enregistrée