[OSM-dev] Problem retrieving wiki pages - solution
Andreas Kalsch
andreaskalsch at gmx.de
Sun Aug 30 01:11:37 BST 2009
Explicitly omit accepted encodings:
1) wget --header='Accept-Encoding: '
'http://wiki.openstreetmap.org/wiki/Main_Page'
2) <?php
$streamContext = stream_context_create(array(
'http' => array(
'header' => 'Accept-Encoding: \r\n'
)
));
file_get_contents('http://wiki.openstreetmap.org/wiki/Main_Page', 0,
$streamContext);
Roland Olbricht schrieb:
>> Anyone who can solve this puzzle, so that we can download with simple
>> commands ?-)
>>
>
> What about
> wget -O - http://wiki.openstreetmap.org/wiki/Map_Features | gunzip >file
> ?
>
> Cheers,
> Roland
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
>
>
More information about the dev
mailing list