[mapserver-users] What is the best way to generate WMS?

Sven Schroeter schroeter at netgis.de
Fri Sep 21 06:54:51 PDT 2018


I have no experience with other programming languages at mapserver, so far I only used php and that works well, e.g. I use a wrapper here:
https://geodaten.naturschutz.rlp.de/kartendienste_nature_protection/mod_ogc/

I developed this on the basis of this example:
https://mapserver.org/ogc/mapscript.html

Greetings
Sven


Von: Vladimir [mailto:fl_v at inbox.ru] 
Gesendet: Freitag, 21. September 2018 13:50
An: Sven Schroeter; 'mapserver-users'
Betreff: Re: AW: [mapserver-users] What is the best way to generate WMS?

Thank you very much, Sven.

Is it right to use FastCGI for less resource consumption?
What language of MapScript is more suitable the best performance?

Regards.

Hi Vladimir,

the fastest way is probably the CGI variant. You write your mapfiles and deliver the data via mapserv and the corresponding parameters.
In the case of PHP you have to build a wrapper, which is no problem. If your server runs under windows, this is the better variant, because many firewalls close when you call mapserv.exe.
When it comes to custom programming, the php (or python or C# or Java) variant has more influence.

Greetings
Sven



Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Vladimir
Gesendet: Freitag, 21. September 2018 09:51
An: mapserver-users
Betreff: [mapserver-users] What is the best way to generate WMS?

Hi list,

There are several tables with a lot of objects in PostGis database.
Fields of the tables contain styles(color, width etc)

The goal is fast getting a single image(WMS) on client .
I am aware about two ways to do it:
mapserv as FactCGI and some kind of MapScript(PHP in my case)

What is the best for performance?
Is there more productive way? 

Regards.




More information about the mapserver-users mailing list