Hello again Dane.

Looks like I got the standalone WSGI server working!!! Phew!!! Now  I know
my installation works? What do I have to do for the server to respond to
requests like this?

http://greenstreamsa.com/wms.py?width=520&height=260&styles=Plain&bgcolor=0x
a0acb8&request=GetMap&version=1.1.1&format=image/png&layers=world&srs=EPSG:4
326&EXCEPTIONS=application/vnd.ogc.se_inimage&bbox=-179,-58.8110470437,179,7
2.092336216

 

Many Many thanks.

An excited newbie!!!!!

 

From: Dane Springmeyer [mailto:[email protected]] 
Sent: Tuesday, August 11, 2009 6:15 AM
To: Jome Akpoduado
Cc: [email protected]
Subject: Re: [Mapnik-users] My WMS server is running.... what next?

 

Hello Jome,

 

Glad you are excited about getting started. Sounds like you've made some
great progress so far.

 

Sorry about the lack of step by step documentation for WMS.  If you continue
to post places you get stuck we can surely provide tips as you go along. You
might also consider stopping by the #mapnik room on irc.freenode.net.

 

As far as the problem you describe below: Can you say a bit more about how
you are making the Http request? What is the full URL/Query String? Usually
one would use a client like OpenLayers to automatically create the request
once the server is set up properly. To confirm the server is set up you
should simply be able to go to the url where you have exposed it without
providing any query string and you'll get a welcome message like this:

 

http://wms.dbsgeo.com/

 

If you are not yet using the Firebug extension to Mozilla Firefox that is a
great way of debugging requests and responses, once you start adding layer
and other parameters.

 

Also, when I am configuring the WMS server I always first run in 'WSGI'
Standalone mode so that I don't have to dig through apache logs to figure
out potential configuration problems. Using the standalone WSGI setup as a
development server launched in a terminal process all errors simply print to
the screen.

 

See: http://trac.mapnik.org/wiki/OgcServer#SampleConfigurations

 

Hope that helps. Feel free to shoot more questions as you have them.

 

Dane

 

 

On Aug 10, 2009, at 5:52 AM, Jome Akpoduado wrote:





Hello,

Please let me establish a baseline before I proceed. I got excited about
Mapnik when I saw what it could achieve via the Drupal WMS client, Nice Map.
I decided to build my own WMS server for my Drupal websites and I think I've
gotten way over my head on this. I've no experience in python (but that has
been fast changing in the last few days) but I managed to get Mapnik
installed on my server (running Ubuntu 8.10) and followed the available
tutorials on creating first maps and I think I passed that hurdle so far.

However, where I get stumped is when I make an http request for a map (much
like what the Nice map Drupal module would do) and nothing just happens.

I've searched and scoured through sites looking for any good tutorials that
could help an enthusiastic newbie like me get off the ground with even the
simplest of external map requests. Can anyone help out or point me to good
enough documentation that us mere mortals can follow?

Many thanks.

 

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

 

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to