[MapProxy] map proxy and proj4

Henrik Jakobsen henrik at henge.dk
Wed Feb 22 06:35:18 PST 2017


ahh thanks

sorry, I thought I did that with just using reply

Best regards

Henrik Jakobsen






> Den 22. feb. 2017 kl. 15.30 skrev Oliver Tonnhofer <olt at omniscale.de>:
> 
> Hi,
> 
> the file need to be named epsg.
> 
> Also, please always reply to the list.
> 
> 
> Regards,
> Oliver
> 
> -- 
> Oliver Tonnhofer  | Omniscale GmbH & Co KG  | https://omniscale.com
> OpenStreetMap WMS and tile services         | https://maps.omniscale.com
> 
> 
> 
> 
> 
>> On 22.02.2017, at 15:21, Henrik Jakobsen <henrik at henge.dk> wrote:
>> 
>> Thanks a lot for your help
>> 
>> Not sure I get this right
>> because if I create an file called 99999
>> and add this to it
>> 
>> # own
>> <99999> +proj=tpers +h=580000.000 +lat_0=19 +lon_0=19 +x_0=0 +y_0=0 +azi=30 +tilt=40 +R=6371000 +units=m <>
>> 
>> add this to my yams file
>> 
>>  srs:
>>    proj_data_dir: /usr/share/proj/ # path of proj4
>> 
>> 
>> I get this error
>> 
>> 
>>    (proj_def, init, libproj.pj_strerrno(errno)))
>> mapproxy.proj.ProjInitError: error initializing Proj(proj_def=None, init='epsg:99999'): no options found in 'init' file
>> 
>> Best regards
>> 
>> Henrik Jakobsen
>> 
>> 
>> 
>> 
>> 
>> 
>>> Den 22. feb. 2017 kl. 09.31 skrev Oliver Tonnhofer <olt at omniscale.de>:
>>> 
>>> Hi,
>>> 
>>> you can use a custom EPSG file with:
>>> 
>>> globals:
>>> srs:
>>>   proj_data_dir: /path/to/epsg_dir/
>>> 
>>> See: https://mapproxy.org/docs/nightly/configuration.html?highlight=epsg#id14
>>> 
>>> Regards,
>>> Oliver
>>> 
>>> -- 
>>> Oliver Tonnhofer  | Omniscale GmbH & Co KG  | https://omniscale.com
>>> OpenStreetMap WMS and tile services         | https://maps.omniscale.com
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On 12.02.2017, at 15:02, Henrik Jakobsen <henrik at henge.dk> wrote:
>>>> 
>>>> Hi
>>>> 
>>>> how can I use this proj4 projection string mapproxy
>>>> 
>>>> +proj=tpers +ellps=WGS84 +h=5000000 +azi=30 +tilt=40 +lat_0=20 +lon_0=0
>>>> 
>>>> Best regards
>>>> 
>>>> Henrik Jakobsen
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> MapProxy mailing list
>>>> MapProxy at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/mapproxy
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20170222/358bdcce/attachment.html>


More information about the MapProxy mailing list