[ gpsdrive ] GPSdrive SVN, Mapnik and a Patch

Mark Wilkinson mark.wilkinson at 2pmtech.com
Thu May 29 04:09:44 AKDT 2008



Mark Wilkinson wrote:
> Hi Guenther
>
> Guenther Meyer wrote:
>> Am Donnerstag 29 Mai 2008 schrieb Mark Wilkinson:
>>   
>>> Point 3 - I had a problem with the maps produced by the mapnik code. the
>>> center was always some distance south of where it should have shown. I
>>> traced it to the Projection in the mapnik code that used '+proj=merc
>>> +datum=WGS84'. When I replaced this with the projection from the mapnik
>>> example code, the maps looked to be centered correctly.
>>>
>>>     
>> hmm, I never noticed that, how big was the deviation?
>>   
>
> I'm not sure how to measure this... it was enough to throw my location 
> in plymouth UK, several miles into the english channel.. guess i'm 
> gonna have to figure it out now :-)
>
It seems to be approx  11' 19.61"  south

>>   
>>> Points 1,2,4 - I've added additional config parameters,
>>>
>>>     
>> fine, thanks!
>> the initial inclusion of mapnik was a very quick hack. we were glad, that it 
>> worked at all. but it really IS better, to have these things configurable.
>>
>>   
>>> Additionally, rather than generating the mapnik xml file everytime
>>> gpsdrive is run, I've coded it to check the modification times on both
>>> the xml file (if it exists) and the xml template file and only generate
>>> the xml file if the template is newer.
>>>
>>>     
>> sounds reasonable.
>>
>>   
>>> Like I said at the top, this may not be the right place to post this
>>> patch, but it may be of benefit to others.
>>>
>>>     
>> this is exactly the right place for patches, thank you very much :-)
>> I will have a look and apply them to svn...
>>
>>   
> :-) wonderful, I look forward to seeing them there.
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> GPSdrive mailing list
>> GPSdrive at lists.gpsdrivers.org
>> http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
>>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> GPSdrive mailing list
> GPSdrive at lists.gpsdrivers.org
> http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080529/98bf561b/attachment.html 


More information about the GPSdrive mailing list