Re: [mapserver-users] FastCGI with multiple map files

2014-01-06 Thread Paul Ramsey
Andy's correct, the mapfile parse overhead is so small as to be almost unmeasurable (I once tried). FCGI re-parses every time. It's a good thing, makes working w/ FCGI transparent. P. On Fri, Jan 3, 2014 at 2:41 PM, Andy Colson wrote: > On 1/3/2014 4:08 PM, Richard Greenwood wrote: >> >> I'm run

Re: [mapserver-users] Intersect and Union with mapserver

2014-01-06 Thread Rahkonen Jukka
saka royban wrote: > Finally, as Jukka talked about QGIS. This is a little confusing to me. In a > web mapping application which is implemented by MapServer, Can we rely on > QGIS capabilities and use the in our application? If so, how would be the > connection between MapServer and QGIS. I want

Re: [mapserver-users] custom programming with Mapserver's python or java or C# (OR perl) mapscript

2014-01-06 Thread Umberto Nicoletti
+1 to Andy's reply, I could not have said it better. All mapscript implementations (java, c#, python, ruby, perl and tcl) share the same code base, with the language specific glue being automatically generated by swig. PHP mapscript is the only exception. Umberto On Mon, Jan 6, 2014 at 4:32 PM

Re: [mapserver-users] Intersect and Union with mapserver

2014-01-06 Thread saka royban
Thanks a world for your very helpful answers. Also sorry for a bit latency. I wasn't around here for a while. I was thinking a solution like the one suggested by Brent. Thanks to him for his detailed solution. It sounds at the end i should choose a database-dependent solution, as described by Bren

Re: [mapserver-users] custom programming with Mapserver's python or java or C# (OR perl) mapscript

2014-01-06 Thread Andy Colson
On 1/6/2014 6:34 AM, Sajid Anwar wrote: Hello, I am wondering how to write a program (function) for Map server, which dynamically handle arbitrary shapefile, and will change the style like color etc, on the basis of attribute from shapefile. I want to develop and rendered choropleth map for arbi

Re: [mapserver-users] Displaying a line between objet and label

2014-01-06 Thread Lime, Steve D (MNIT)
What sort of an error message to you receive? --Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of wiltomap [wilt...@gmail.com] Sent: Monday, January 06, 2014 7:50 AM To: mapserver-users@lists.osgeo.

Re: [mapserver-users] custom programming with Mapserver's python or java or C# mapscrip

2014-01-06 Thread Jeff McKenna
On 2014-01-06 8:34 AM, Sajid Anwar wrote: > Hello, > > I am wondering how to write a program (function) for Map server, which > dynamically handle arbitrary shapefile, and will change the style like > color etc, on the basis of attribute from shapefile. I want to develop > and rendered choropleth

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-06 Thread Jeff McKenna
On 2014-01-06 10:39 AM, Lime, Steve D (MNIT) wrote: > You can also encrypt the database password using MapServer utilities. I do > the following: > > - store the mapfiles outside web htdocs directory > - encrypt database passwords (if in a shared hosting environment) > - use webserver envir

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-06 Thread Lime, Steve D (MNIT)
You can also encrypt the database password using MapServer utilities. I do the following: - store the mapfiles outside web htdocs directory - encrypt database passwords (if in a shared hosting environment) - use webserver environment variables to reference mapfiles... this obfuscates your

Re: [mapserver-users] Displaying a line between objet and label

2014-01-06 Thread wiltomap
Dear Steve, Thank you for your answer. I'm just back from a week off, so sorry for late reply... I enclose a screenshot of the mapfile I use to display labels. I have disabled the lines 39 - 40 where I use the LEADERMAXDISTANCE and LEADERGRIDSTEP parameters. The use of these parameters crashes the

[mapserver-users] custom programming with Mapserver's python or java or C# mapscrip

2014-01-06 Thread Sajid Anwar
Hello, I am wondering how to write a program (function) for Map server, which dynamically handle arbitrary shapefile, and will change the style like color etc, on the basis of attribute from shapefile. I want to develop and rendered choropleth map for arbitrary shapefile. I know that we can use M

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-06 Thread Håvard Tveite
Your MAP file does not have to be visible to / readable by the web server, but it must be visible to Mapserver (mapserv). Håvard On 1/6/2014 10:16 AM, Stefan Schwarzer wrote: Hi there, I am wondering how to deal with the CONNECTION information in the .MAP which is used for WMS requests. As th

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-06 Thread Siki Zoltan
Hi Stefan, you should hide your map file using a wrapper script on the server side. See http://mapserver.org/cgi/wrapper.html You can find some other methods at http://mapserver.org/ogc/wms_server.html look for "Changing the Online Resource URL" Regards, Zoltan On Mon, 6 Jan 2014, Stefan Schw

[mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-06 Thread Stefan Schwarzer
Hi there, I am wondering how to deal with the CONNECTION information in the .MAP which is used for WMS requests. As the .MAP file must be visible and is readable, the CONNECTION information for my database is readable too. # Layers definition - LAYER