[mapserver-users] How to create a chart layer from a php function

2008-10-03 Thread Sandra Liliana Moreno
Hi I want to create a chart layer from a PHP function, but in the style of the class of the layer, a parameter called "SIZE" in the mapfile, I do not know how to set in the object styleObj. Does anyone know how to do this? Thank. #==MapFile===# LAYER NAME "Gr

[mapserver-users] Java Mapscript & SLD's...

2008-10-03 Thread Bill Zborowski
Hi Guys, I'm relatively new to Mapserver and MapScript, and am having some issues with the applySLD(String, String) function. I am writing a small Java utility that reads a WMC context file with GML and SLD and returns an image. I can read the context and GML just fine, but when i call the ap

Re: [mapserver-users] how to improve and speed Mapserver queries on PostGIS

2008-10-03 Thread Paul Ramsey
Turn on statement logging in PostgreSQL and extract the SQL that mapserver is sending to the database. Run that yourself in psql, using EXPLAIN ANALYZE to see what query plan is being generated, and how much time the database itself is taking. Consider increasing the amount of memory you are devo

[mapserver-users] classgroup and group

2008-10-03 Thread Steve . Toutant
Hi, I can't figure out how classgroup and group work. I have defined the following layer. Using it with this query http://ipaddress/cgi-bin/mapserv.exe?map=\path\mapfile.map&mode=map I get all the points on a map but the style is not applied. If I remove the 2 CLASSGROUP statements but keep the G

[mapserver-users] how to improve and speed Mapserver queries on PostGIS

2008-10-03 Thread Fabio D'Ovidio
Hello... I developed a WebGIS application trought cartoweb (www.cartoweb.org). My aim is to display a large numerber of points for each couple of (USER, ROLE) that login into the system... The problem is they are more than 50.000 points and even if I set MINSCALE, MAXSCALE to display them, th

Re: [mapserver-users] WMS in Google Earth

2008-10-03 Thread Alexandre Dube
Tom, The log told me : "SERVICE parameter missing"... I must have done something wrong with my first attempt because now it's working if I add "service=WMS" in the Link string. Thank you very much, Alexandre Alexandre Dube wrote: OK, I'll try that. Many thanks, Tom Alexandre Kralidis

Re: [mapserver-users] WMS in Google Earth

2008-10-03 Thread Alexandre Dube
OK, I'll try that. Many thanks, Tom Alexandre Kralidis,Tom [Burlington] wrote: Right, those may or may not have MapServer WMSs with the service= required behaviour. That said, I can connect a WMS from my local ms4w to Google Earth without problem. Try this and check your web logs. See the

RE: [mapserver-users] WMS in Google Earth

2008-10-03 Thread Kralidis,Tom [Burlington]
Right, those may or may not have MapServer WMSs with the service= required behaviour. That said, I can connect a WMS from my local ms4w to Google Earth without problem. Try this and check your web logs. See the actual request passed by GE, and this should help you diagnose the issue. Since

Re: [mapserver-users] WMS in Google Earth

2008-10-03 Thread Alexandre Dube
Hi Tom, Thanks for your reply, but unfortunately that didn't solved the problem. In fact, the existing WMS servers in GE, don't use "service=WMS" in any "Link" string and they work... However, the wms_onlineresource IS always the first part of the "Link" string, not the actual local link you