https://bugzilla.wikimedia.org/show_bug.cgi?id=19860

           Summary: Adapt cgi-bin/export to our needs
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://svn.openstreetmap.org/sites/tile.openstreetmap.or
                    g/cgi-bin/export
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Maps
        AssignedTo: [email protected]
        ReportedBy: [email protected]


We need to hack OSM's cgi-bin/export script (or write a new CGI script that
uses mapnik so that it:

 * Can read a YAML config file listing valid render targets (styles) &
languages

E.g. the languages.yml created by
http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/osm-tools/osm2pgsql-style/wikipedia-language-codes.pl?view=markup

It should then read mapnik styles from a whitelist of styles/languages, I'm
creating the osm.xml files with this script:

http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/osm-tools/osm2pgsql-style/create-mapnik-stylesheets.pl?view=markup

 * Sets configurable Expire: and other appropriate HTTP Proxy-friendly headers
so we can stick squid in front of it.

Currently it's designed to render a new map every time it's called.

 * Doesn't support all those export formats

We only want PNG for now I think.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to