[MapProxy] Difficulty setting up Custom Projections
mharter at adc4gis.com
Tue Jun 8 16:31:45 EDT 2010
Thanks for your quick reply. Permissions unfortunately didn't help. I made that epsg file 777 and no luck. I'm running CentOS 5.
I did see this post:
Not sure if ESPG needs to be lowercase because of CentOS 5 or not but so far no luck on getting that projection in there. I run Ubuntu 10.04 locally, I will try to set it up here on my machine to see if I run into similar issues.
Marc Harter | Web Developer
APPLIED DATA CONSULTANTS, INC. | Marc.Harter at adc4gis.com
2985 58th STREET | EAU CLAIRE, WI 54703
Latitude: 44° 53' 09.06" N Longitude: 91° 33' 08.05" W
[P] 715.874.4397 | [F] 715.874.4387
www.adc4gis.com | www.adc4web.com
From: Oliver Tonnhofer [olt at omniscale.de]
Sent: Tuesday, June 08, 2010 2:27 AM
To: Marc Harter
Cc: mapproxy at lists.osgeo.org
Subject: Re: [MapProxy] Difficulty setting up Custom Projections
On 07.06.2010, at 21:52, Marc Harter wrote:
> I have this setup in my proxy.yaml file:
> proj_data_dir: "/var/www/mapproxy/srs"
> In that directory I have a file called 'espg' that contains this:
> <103930> +proj=tmerc +lat_0=44.66111111111111
> +lon_0=-92.63333333333334 +k=1 +x_0=141732.2834645669 +y_0=0
> +a=6378413.671 +b=6357028.9851403 +to_meter=0.3048006096012192
> +no_defs <>
That looks good and it works on my system.
> When I try to start my development server I get this stacktrace:
> $ paster serve etc/develop.ini --reload
> return _Proj.__new__(self, projstring)
> File "_proj.pyx", line 25, in _proj.Proj.__cinit__ (_proj.c:562)
> RuntimeError: no system list, errno: 2
"no system list" means that the projection init file was not found.
Can you double check that you have a /var/www/mapproxy/srs/epsg file
that is readable by the user.
If a specific EPSG code is not found, the error should be "no options
found in 'init' file".
I have to admit that the error messages from pyproj are not very
Oliver Tonnhofer <olt at omniscale.de>
Omniscale - Dominik Helle, Oliver Tonnhofer GbR
Nadorster Str. 60, 26123 Oldenburg
Tel: +49(0)441/9392774-2 (Fax: 9)
More information about the MapProxy