|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Mapnik WMS using ogcserver componentHi,
I am interested in using Mapnik via WMS and I read in the open street map documentation that Mapnik has a component called ogcserver which is a python based wms server. I currently have Mapnik_0_6_1 installed and I have been able to successfully generate tile via generate_tiles.py and then view these tiles within an openlayers clients. What I would like to be able to do next is to allow WMS requests to these generated tiles. Could someone please point me to documentation for setting up the ogcserver. Thanks, John -- John J. Mitchell _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: Mapnik WMS using ogcserver componentHi John,
On Thu, Nov 5, 2009 at 8:51 AM, John Mitchell <mitchelljj98@...> wrote: Hi, I have found these 2 links: http://www.perrygeo.net/wordpress/?p=49 http://www.perrygeo.net/wordpress/?p=50 Hope this will help. --Ciprian _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: Mapnik WMS using ogcserver componentJohn,
John Mitchell wrote: > What I would like to be able to do next is to allow WMS requests to > these generated tiles. The ogcserver does not serve WMS based on tiles; it does a live rendering for each request! - I believe there is some code in the OSM SVN somewhere that actually serves WMS from pre-computed tiles, but of course this incurs a loss of quality. Bye Frederik _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: Mapnik WMS using ogcserver componentRegarding:
I believe there is some code in the OSM SVN somewhere that actually serves WMS from pre-computed tiles, but of course this incurs a loss of quality. Why would you incur a loss of quality if your pre-computer tiles were based on rendering from generate_tiles.py? John On Thu, Nov 5, 2009 at 6:57 AM, Frederik Ramm <frederik@...> wrote: John, -- John J. Mitchell _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: Mapnik WMS using ogcserver componentHi,
WMS would maintain the quality only if BBOX and WIDTH
and HEIGHT parameters of the request happen to suit exactly the dimensions of
the prerendered tiles. Otherwise tiles need to be resampled before
generating WMS output. Loss in quality will be worse if tiles are also
re-projected to some other projection.
-Jukka Rahkonen-
_______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: Mapnik WMS using ogcserver componenthttp://code.google.com/p/mapnik-utils/wiki/WmsInstallGuide
From the above link it gives you 4 choices
Will these method work on a windows server? Thanks, John On Thu, Nov 5, 2009 at 3:57 AM, Ciprian Talaba <cipriantalaba@...> wrote: Hi John, -- John J. Mitchell _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Fwd: Mapnik WMS using ogcserver componentHi,
I know that I have already asked the below question. I figured that I would ask one more time in case someone has an opinion http://code.google.com/p/mapnik-utils/wiki/WmsInstallGuide From the above link it gives you 4 choices
Thanks, John _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: Fwd: Mapnik WMS using ogcserver componentJohn,
Generally I would assume mod_wsgi > mod_python > cgi, but I've not benchmarked. If it is of interest to you, it would be great to see your comparisons. Keep in mind if you are rendering data on the fly (rather than serving cached tiles) speed differences between server implementations may not be noticeable. However, given the large size of the OSM stylesheet, which you are presumably using, a server implementation that loads the map xml once will be significantly faster than loading the xml each request, so cgi will be the slowest. Dane On Nov 8, 2009, at 2:23 PM, John Mitchell wrote: Hi, _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: Fwd: Mapnik WMS using ogcserver componentSo then including fastcgi with the order being fastest first and slowest last would be:
mod_wsgi > mod_python > fastcgi > cgi Correct? Just to prototype something quickly I have used wsgi as a standalone server but that is not mod_wsgi which goes through Apache. The mapnik documentation lists how to configure: wsgi,mod_python,cgi,fastcgi but not mod_wsgi. I don't know anything regarding mod_wsgi but I found the following information: mod_wsgi is an Apache module which allows Apache to serve John
On Sun, Nov 8, 2009 at 8:48 PM, Dane Springmeyer <blake@...> wrote:
-- John J. Mitchell _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: Fwd: Mapnik WMS using ogcserver componentOn Nov 9, 2009, at 2:14 AM, John Mitchell wrote: > How would I configure mod_wsgi? http://www.google.com/search?rls=en&q=configure+mod_wsgi Short version is you just: 1) install mod_wsgi 2) point mod_wsgi at your mapnik wsgi script (which I think you called 'wmsWSGI.py') - mod_wsgi looks for is the variable named 'application' in that script 3) restart apache To 'point' mod_wsgi you need to put a few configuration parameters in your apache conf like: WSGIScriptAlias /<url> /path/to/the/wsgi_app.py WSGIDaemonProcess <process name> user=<user> group=<group> processes=10 threads=1 WSGIProcessGroup <process name> Dane _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
| Free embeddable forum powered by Nabble | Forum Help |