Talk:GeoHack

www.OpenSeaMap.org is a daughter of OSM, and also worldwide.

Google Maps
Is there a reason why Google Maps is much more highlighted than the other competitors?? --84.44.177.118 18:00, 11 October 2009 (UTC)
 * On English Wikipedia (Discussion) they thought it was too hard to find it in the list. I had suggested other ways of highlighting it but they opted for the simplest solution.  There was some debate over using Google Maps or OpenStreetMaps (CC license).  Dispenser 13:36, 12 October 2009 (UTC)
 * We have to get rid of this proprietary Google sh*t. I see no reason why to have a big "View this location in Google Maps" headline at the top of the English GeoHack page... OSM or other free mapping project should have such a headline there!!!--Kozuch 17:34, 14 September 2010 (UTC)

#ob_start('ob_gzhandler');
I'm having trouble with this part of geohack.php


 * 1) include "../common.php" ;
 * 2) ob_start('ob_gzhandler');

This causes the following error.

PHP Warning: ob_start [ref.outcontrol]: output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/content/x/x/x/xxx/html/GeoHack/geohack.php on line 10

This is self explanatory, but is there a way to eliminate the use of ob_gzhandler from Geohack? This line doesn't allow the use of zlib.output_compression or ZEND. Great, Geohack gets compressed, but not the rest of the wiki.--Cojoilustrado 18:46, 24 December 2009 (UTC)
 * This issue was solved. Geohack requires allow_url_fopen ON. We had it off as per Mediwiki's security recommendation. --Cojoilustrado 20:07, 24 December 2009 (UTC)
 * Sorry, something else. We kept getting this message:

output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/content/c/o/j/cojoilustrado/html/GeoHack/geohack.php on line 10

We # the ob_gzhandler mention in Geohack and it went away. Only God knows what else we broke now :( --Cojoilustrado 20:38, 24 December 2009 (UTC)


 * It is the "one liner" to enable gzip compression, your server may not support mod_gzip interface. See How to enable gzip compression with Php. Dispenser 19:56, 31 December 2009 (UTC)

enwiki GeoTemplate edits unnoticed
This edit has not propagated from w:en:Template:GeoTemplate to http://toolserver.org/~geohack/geohack.php after 4½ days.

Also, there is an unanswered suggestion at w:en:Template talk:GeoTemplate from June 2010.

— Richardguk 00:54, 22 August 2010 (UTC)
 * Seems like there is quite a delay in propagating... maybe it is even done manually. Unfortunatelly no docs mention it. --Kozuch 06:48, 15 September 2010 (UTC)

transcluding enwiki mainpage
I just discovered that http://toolserver.org/~geohack/geohack.php appears to be somehow transcluding the main page of enwiki. Please look into this. --70.36.159.31 22:24, 23 August 2010 (UTC)
 * Never mind. The problem has gone away. --70.36.159.31 22:30, 23 August 2010 (UTC)

Localization of OpenStreetMap page
Hello, how can I get a localized version of the project=osm page displayed. E.g. if I got to I'd like to have a different template (in French) called. I tried http://meta.wikimedia.org/wiki/Template:GeoTemplate/osm/fr but it does not seem to work. Thanks. Nakor 21:02, 29 September 2010 (UTC)