Re: [Wms2go-users] problems with sending jobs
Brought to you by:
terrestris
From: Daniel K. <ko...@te...> - 2012-04-04 07:12:52
|
-------- Original-Nachricht -------- Betreff: Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: [Wms2go-users] problems with sending jobs Datum: Tue, 3 Apr 2012 16:33:16 +0200 Von: Eri...@dl... An: Daniel Koch <ko...@te...> Ok, everything works now :-) THX!!! Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: Eri...@dl... Internet: www.dlr-rnh.rlp.de Von: Daniel Koch <ko...@te...> An: Eri...@dl... Datum: 03.04.2012 12:06 Betreff: Re: Antwort: Re: Antwort: Re: Antwort: Re: [Wms2go-users] problems with sending jobs ------------------------------------------------------------------------ cs2cs is a tool used for coordinate transformation. And it's missing... sudo apt-get install proj-bin Am 03.04.2012 11:29, schrieb _Er...@dl..._ <mailto:Eri...@dl...>: I'm using the preconfigured layers, which comes with the tool. I haven't added any third wms which isn't defined in whitelist. I started jobhandler.php from terminal. sh: cs2cs: not found sh: cs2cs: not found PHP Notice: Undefined offset: 1 in /var/www/data/wms2go-pus-light-1.0/main.php on line 103 PHP Notice: Undefined offset: 1 in /var/www/data/wms2go-pus-light-1.0/main.php on line 105 So what about cs2sc? Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: _Er...@dl..._ <mailto:Eri...@dl...> Internet: _www.dlr-rnh.rlp.de_ Von: Daniel Koch _<ko...@te...>_ <mailto:ko...@te...> An: _Er...@dl..._ <mailto:Eri...@dl...> Datum: 03.04.2012 11:04 Betreff: Re: Antwort: Re: Antwort: Re: [Wms2go-users] problems with sending jobs ------------------------------------------------------------------------ Which layers do you select? Note that only the pre-configured ones (based on wsvmapserv.wsv.bund.de) will work without changes on the whitelist. Another possibility to check for failures is to view the full log created by the jobhandler.php: - deactive the cronjob (terminal: crontab -e, insert a # before your cron and save) - start a new job using the pickupclient - in terminal navigate to your wms2go-pus-light-1.0 folder and type in: php jobhandler.php Then have a look to the log and look for any error message. Am 03.04.2012 10:51, schrieb _Er...@dl..._ <mailto:Eri...@dl...>: Mh, I've deleted the slashes. But there are no tiles ore tile_LAYER folders on my system. Any idea? Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: _Er...@dl..._ <mailto:Eri...@dl...> Internet: _www.dlr-rnh.rlp.de_ Von: Daniel Koch _<ko...@te...>_ <mailto:ko...@te...> An: _Er...@dl..._ <mailto:Eri...@dl...> Datum: 03.04.2012 10:07 Betreff: Re: Antwort: Re: [Wms2go-users] problems with sending jobs ------------------------------------------------------------------------ I'm not sure if it helps, but I've found that there is a another double slash in the path of the "tiles_LAYER" variable. Try the following: - open tiler.php - go to line 195 and delete the slash previous to "...tiles_".$layers[$q]..." (here is the full corrected line $filename = $storage_path."tiles_".$layers[$q]."/".$tile['zoom']."/".$tile['x']."/".$tile['y'].".png";) - delete the slash (in front of "tiles") in lines 197, 198, 199 as well: exec("mkdir '".$storage_path."tiles_".$layers[$q]."/'"); exec("mkdir '".$storage_path."tiles_".$layers[$q]."/".$tile['zoom']."'"); exec("mkdir '".$storage_path."tiles_".$layers[$q]."/".$tile['zoom']."/".$tile['x']."'"); Am 03.04.2012 09:38, schrieb _Er...@dl..._ <mailto:Eri...@dl...>: No problem. Nope, no folders, no tiles :-( Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: _Er...@dl..._ <mailto:Eri...@dl...> Internet: _www.dlr-rnh.rlp.de_ Von: Daniel Koch _<ko...@te...>_ <mailto:ko...@te...> An: _Er...@dl..._ <mailto:Eri...@dl...> Datum: 03.04.2012 09:31 Betreff: Re: [Wms2go-users] problems with sending jobs ------------------------------------------------------------------------ Hi Erik, sorry for the delay... Within your offline client are folders (beside the folder "client") named after your downloaded layers, e.g. tiles_Harbour. Do you have such folders? Are there any tiles in it? Many thanks for your questions and feedback, i'll improve the source and installation guide of wms2GO with all of your comments. Daniel Am 29.03.2012 18:18, schrieb _Er...@dl..._ <mailto:Eri...@dl...>: first thank you for your help, without it would have been hard for me to get the staff working. Now I've got the generated jobs and client zip file. but within there are no tiles, in generated openlayers code, the layers are there. but nothing on file system. where should they be? or what I'm missing? in my database table tbl_jobs job status is finished, no error message in wms2go_pus.log. Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: _Er...@dl..._ <mailto:Eri...@dl...> Internet: _www.dlr-rnh.rlp.de_ Von: Daniel Koch _<ko...@te...>_ <mailto:ko...@te...> An: _wm...@li..._ <mailto:wms...@li...> Datum: 28.03.2012 16:11 Betreff: Re: [Wms2go-users] Antwort: Re: Antwort: Re: Antwort: Re: wms2go, problems with sending jobs ------------------------------------------------------------------------ You are right, there is one slash to much, change it in the prepareclient.php in line 63 (delete the first slash before "client"): $filename = $storage_path . "client/configs/application.conf.js"; Furthermore check line 60, there must be the right path (absolute) to the offline client, e.g.: exec("cp -R /home/wms2go/wms2go-ol-olc-1.0/* " . $storage_path . "/"); Finally look at the main.php: line 62: link to your actual machine, e.g.: $machineurl = '_http://localhost_ <http://localhost/>'; line 67: define the right path to your destination folder, e.g.: $storage_basepath = '/home/wms2go/data'; Daniel Am 28.03.2012 15:20, schrieb _Er...@dl...:_ <mailto:Eri...@dl...:> One stepp ahead..... logfile is in var/log and folders in var/www applied (job1, job2 etc) in the new jobfolders are folders like wms2go_name, but without content. wms2go_pus.logfile message for one job ( it's for all the same message) last line: isn't it one slash to much in the path? Found a job, details: Array ( [id] => 4 [jobinfo] => {"title":"teste","configuration":[{"layersWms":["Blattschnitte","Harbour","Kilometermarken","Gewaessernetz","Wasserstrassenklassen","Gewaessernamen"],"layersWfs":[],"urlWms":["_http://wsvmapserv.wsv.bund.de/ienc?_","_http://wsvmapserv.wsv.bund.de/ienc?_","_http://wsvmapserv.wsv.bund.de/wms_bwastr?_","_http://wsvmapserv.wsv.bund.de/wms_bwastr?_","_http://wsvmapserv.wsv.bund.de/wms_bwastr?_","_http://wsvmapserv.wsv.bund.de/wms_bwastr?_"],"urlWfs":[],"bbox0":801898.7472689,"bbox1":"6485863.9820469","bbox2":"804344.73217366","bbox3":"6488615.7150648","currentZoom":10,"maxZoom":10,"email":_"eri...@dl..."_ <mailto:eri...@dl...>}]} [timestamp] => 16:19:09.382964 [status] => queued ) ************************************************************ ************************************************************ start processing of job 4 at Wed, 28 Mar 12 15:05:01 +0200 ************************************************************ ************************************************************ Getting first WMS Tile ... ************************************************************ ************************************************************ Getting first WMS Tile complete ************************************************************ ************************************************************ Filling Tiles Array ... ************************************************************ ************************************************************ Filling of Tiles Array complete ************************************************************ ************************************************************ Getting Tiles from Server ... ************************************************************ ************************************************************ Getting of Tiles from Server complete ************************************************************ ************************************************************ File /var/www/job4_teste/wms2go_teste//client/configs/application.conf.js is not writeable Aborting proces..... Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: _Er...@dl..._ <mailto:Eri...@dl...> Internet: _www.dlr-rnh.rlp.de_ ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here _ __http://p.sf.net/sfu/sfd2d-msazure_ _______________________________________________ Wms2go-users mailing list_ __W...@li..._ <mailto:Wms...@li...>_ __https://lists.sourceforge.net/lists/listinfo/wms2go-users_ -- B.Sc. Geograph Daniel Koch - Studentischer Mitarbeiter - terrestris GmbH & Co. KG Pützchens Chaussee 56 53227 Bonn Tel: +49 (0)228 / 96 28 99 -53 Fax: +49 (0)228 / 96 28 99 -57 Email: _k...@te..._ <mailto:ko...@te...> Web: _http://www.terrestris.de_ <http://www.terrestris.de/> Amtsgericht Bonn, HRA 6835 Komplementärin: terrestris Verwaltungsgesellschaft mbH vertreten durch: Hinrich Paulsen, Till Adams |