[MapProxy] Antw: Re: Need help for get runinng mapproxy on openSUSE

André Pirard A.Pirard.Papou at gmail.com
Wed Nov 20 16:02:30 PST 2013


On 2013-11-18 17:49, edv hotline wrote :
> Hi,
>  
> >>It seems to me, Mila, that your openSUSE systems lacks the libproj0
> package.
> I think so:( here what I have installd
> # rpm -qa | grep libproj0*
> libproj-devel-4.8.0-22.2.i586
> libproj0-4.8.0-3.1.4.i586
>  
> (on Ubuntu I have libproj0 version 4.7)
4.7 too on my Ubuntu 12.04; libproj0 installs in /usr/lib/
lrwxrwxrwx 1 root root     16 Nov  8  2009 /usr/lib/libproj.so.0 ->
libproj.so.0.6.6
-rw-r--r-- 1 root root 271496 Nov  8  2009 /usr/lib/libproj.so.0.6.6
but it requires proj-data 4.7 that installs many files in  /usr/share/proj

If you've got that, unless you used the proj_data_dir config command
with an error, it should work.

BTW, instead of using proj_data_dir and have to duplicate all
/usr/share/proj in it, I'd be better off adding a file to
/usr/share/proj. Easy to publish with a DEB.

>
> If I switch from EPSG:21781 LV03  to 900913,  I can start and access
> maps in my mapproxy.yaml.
That's probably because MP needs not reproject in that case.
> I install mapproxy on openSUSE 32 Bit, follow all steps in
> www.mapproxy.de <http://www.mapproxy.de>
> after I spend 1 Week trying to runn MapProxy on 64 Bit system SLES or
> openSUSE
That's exactly why I recommend DEBs/RPMs.
If all that's needed to install and test is a click of the DEB/RPM and
of a shortcut, one cannot make any installation mistake and if the
installed sample doesn't run (and the Internet is connected, of course)
the error is most certainly in the system.
And spending even a full day to spare tens of persons a week each is
time well spent !!!

In this case, it can be an installation error, a mapproxy.yaml error or
a MP error.
I'd recommend running the distributed .yaml sample.  If it runs, the
error is in your config, else only ⅔ of the problem remains ;-)
 
> Don't know if I'm on right way with what I did till now:(
>  
> Reason why we test mapproxy is that, here we have one departemant that
> work with ArcGIS Software but they don't have Internet Access
> So, my Ideea was to get maps offline with mapproxy and with "WMS
> GetCapabilities" put to ArcGIS Katalog.
> Switch mapproxy to run with Apache (this is a not Problem at all)
> I say some Swiss maps because I don't know what they realy need.
> Here some links that I have:
>  
> http://www.sogis1.so.ch/cgi-bin/sogis/sogis_uep.wms
> http://wfs.geo.gl.ch/Public
> http://maps.zh.ch/wfs/FnsNSWFS
> http://wfs.geo.gr.ch/region
Don't forget OSM.org !!!

> I'm very new with python and mapproxy, so I still have no Idee how to
> make right settings in mapproxy.yaml to get this maps mentioned above
> to run and cache.
>  
> Please can you gev me any advices, never mind if with Ubuntu or SUSE?
>  
> Thanks
> Regards  (Grüsse)
> Amila

Please post your questions to the list.

Cheers,

André.


> >>> André Pirard<A.Pirard.Papou at gmail.com> 16.11.2013 07:25 >>>
> On 2013-11-15 17:36, edv hotline wrote :
>> Hi,
>>  
>> I'm new with mapproxy, and I tray to run any Swiss map with mapproxy
>> On github.com site I find this
>> https://github.com/gjn/mf-chsdi/blob/master/mapproxy/mapproxy.yaml
>> but if I try to run I get a error message below.
> OK, for some good Swiss cheese. Or a knife ;-)
>> mapproxy.platform.cpython.proj.ProjInitError: error initializing
>> Proj(proj_def=None, init='epsg:21781'): no system list, errno: 2
>>  ...
>> openSUSE 12.2 (i586)
>> VERSION = 12.2
>> CODENAME = Mantis
>> With Ubuntu I can run this mapproxy.yaml file without any problem,
>> but we prefer SuSE.
> It seems to me, Mila, that your openSUSE systems lacks the libproj0
> package.
> If it were installed, it would mean that Mapproxy doesn't find it.
> Install it and tell us (about the cheese ;-))
>
> I would like to know how you installed Mapproxy on SUSE.
> There is a Mapproxy RPM packet that should avoid that kind of problems
> by requiring libproj0.
> If you installed the package and libproj0 is missing, you should
> report that RPM package problem.
> See my next message to this list.
>
> Cheers (Grüßen),
>
> André.
>
>
>
>
> Haftungsausschluss:
> Diese E-Mail enthaelt u.U. vertrauliche und/oder rechtlich geschuetzte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
> E-Mail irrtuemlich erhalten haben, informieren Sie bitte den Absender
> und vernichten Sie diese E-Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail
> sind untersagt.
> Diese E-Mail wurde durch unseren MAILsweeper geprueft. Weder die
> Gruner Gruppe noch der Sender koennen zur Verantwortung gezogen werden
> fuer defekte Daten infolge von Viren oder Uebermittlungsfehlern.
>
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20131121/41942402/attachment-0001.html>


More information about the MapProxy mailing list