|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
trying to run a wms request against a Mapnik OGC WMS Server within a Windows serverHi,
I am trying to run a wms request against a Mapnik OGC WMS Server within a Windows server: Below is the WMS request: ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- http://localhost/mapnik/mapnikwms.py?LAYERS=world&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-180.0000000000001,-90,119.46385052802589,209.463850528026&WIDTH=256&HEIGHT=256 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Instead of getting a map to return I get the contents of the mapnikwms.py file within the browser which is listed below: --------------------------------------------------------------------------------------------------------------------------------------- #!/usr/bin/env python -- John J. Mitchell _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
|
|
Re: trying to run a wms request against a Mapnik OGC WMS Server within a Windows serverFor getting started the easiest thing to do is run the 'WSGI' standalone server.
Your script below needs to be run within Apache (can't be run standalone) and likely needs to be renamed with the file extension 'cgi' or the 'py' handler added to the Apache directive like: AddHandler cgi-script .cgi .py Dane On Nov 5, 2009, at 2:15 PM, John Mitchell wrote: Hi, _______________________________________________ Mapnik-users mailing list Mapnik-users@... https://lists.berlios.de/mailman/listinfo/mapnik-users |
| Free embeddable forum powered by Nabble | Forum Help |