[OSM-talk] New static-maps API

OJ W ojwlists at googlemail.com
Mon Jul 6 22:42:07 BST 2009


thus showing why I shouldn't be the one running the
'stable/production' server ;)

hopefully fixed now - default gpx number of -1 easily passing the
naive "not zero" validity test...  you didn't want to view gpx #0 did
you?





On Mon, Jul 6, 2009 at 10:37 PM, Ævar Arnfjörð
Bjarmason<avarab at gmail.com> wrote:
> On Mon, Jul 6, 2009 at 9:31 PM, OJ W<ojwlists at googlemail.com> wrote:
>> you hard taskmasters - these features [gpx/relations] weren't planned
>> for ages yet!
>>
>> OK, I just implemented GPX traces on the static map:
>>
>> http://dev.openstreetmap.org/~ojw/StaticMap/?gpx=434404&lat=53.669&lon=-1.55665&z=13&show=1
>
> This works but all the tinyurl links in your original message are now
> broken with errors like:
>
> Warning: imagecreatefrompng() [function.imagecreatefrompng]:
> 'http://dev.openstreetmap.org/~ojw/gpx/tile.php?gpx=-1&t=16/32750/21789.png'
> is not a valid PNG file in /home/ojw/public_html/StaticMap/map.php.inc
> on line 118
>




More information about the talk mailing list