Re: [mapserver-users] Getting centroid coords

2013-02-05 Thread Thomasch
object print Centroid=. $centroid(x).,. $centroid(y); try print Centroid=.$centroid-x; Thomasch ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Map background color using OL/WMS

2010-05-25 Thread Thomasch
only one Layer, your wms Layers should be transparent. And as wms serves only Layers, there is no way to change the backgroundcolor on Server Side. But maybe I'm wrong Thomasch ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http

Re: [mapserver-users] Map background color using OL/WMS

2010-05-25 Thread Thomasch
; background-color:#FF } [...] /style Thomasch ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] wms with gernerated Layers

2010-03-18 Thread Thomasch
'); $req = ms_newOwsrequestObj(); $req-loadParams(); $myMap-owsdispatch($req); ? The plain Call of GetCapabilities like http://myserver/cgi-bin/mapserv?map=/home/thomas/public_html/wms/maps/wms.mapSERVICE=WMSVERSION=1.1.1REQUEST=GetCapabilities works fine. Thomasch Am 17.03.2010 03:01, Jeff

Re: [mapserver-users] OSM2pgsql, latlong, OpenStreetMap data, uDig = weird projection

2010-03-15 Thread Thomasch
init=epsg:900913 END END END Maybe that helps. Thomasch ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] wms with gernerated Layers

2010-03-15 Thread Thomasch
Hi, I've got an map which contains some generated Layers using PHP Mapscript. How do I serve these Layers as wms? I read http://mapserver.org/ogc/mapscript.html but I don't really understand at which place i could modify the map itself. Thomasch

Re: [mapserver-users] Re: OSM2pgsql, latlong, OpenStreetMap data, uDig = weird projection

2010-03-15 Thread Thomasch
Hi Mulone, I'm not familiar with OpenLayers - in a quick search I found http://trac.openlayers.org/wiki/SphericalMercator If the Map itself (without using wms) is displayed correctly, did you try another WMS Client? Thomasch ___ mapserver-users

Re: [mapserver-users] Label on Query Result

2009-08-25 Thread Thomasch
Hi, the combination MINDISTANCE 0 an POSITION AUTO works as is should. Every other settings cause no or two Labels. Anyway, thank you for the workaraound. Thomasch Steve Lime wrote: Depending on the TYPE of querymap the layer can have features drawn twice. Those features use the same label

[mapserver-users] Mapscript Strange behaviour of drawQuery

2009-08-23 Thread Thomasch
Hi, I'm using Mapserver 5.2.1 on WinXP. If I try to draw a query using drawQuery() the scale of my map is changed - even if the qurery returns no result. If I don't draw the query, everyting is fine. Please see my code in Attachement. Is there a workaraund? Thank you Thomasch MAP

[mapserver-users] Label on Query Result

2009-08-23 Thread Thomasch
Hi, in the GMAP Demo the Query Results (e.g. for the Layer Cities) are labeled twice. If I change the Label positon from AUTO to someting other, the label of my result disappaers. Is there a way to label only the query results? Thanks Thomasch

[mapserver-users] Can't get any Results from a simple query

2009-08-20 Thread Thomasch
MEDIUM POSITION CC PARTIALS TRUE BUFFER 2 END END END Thanks in advance Thomasch ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users