[mapserver-users] RE: Stress test wms demo application

2008-08-18 Thread Albrecht.Weiser
Hi Stijn, the Service works very good. Especially the client does its job very well! Which client did youo use? Best Albrecht Albrecht Weiser, E6, GIS Center Hessische Zentrale für Datenverarbeitung (HZD) Mainzer Straße 29, 65185 Wiesbaden Tel.: 0611 340-3113 Fax: 0611 340-5113 E-Mail:

[mapserver-users] Change a class name by url

2008-08-18 Thread Jefferson Bauer
Hello I was upgrading my mapserver from 4.6 to 5.2 (using MS4W v2.2.8 ) and everything was ok utntil i run a function that change the name of a CLASS by URL. My mapfile have a layer like: LAYER NAMEmunicipio ... CLASS NAME sedes ... END END I'm using

Re: [mapserver-users] WFS server configuration problems...

2008-08-18 Thread bartvde
Is you data inside of the MAP-extent? Best regards, Bart Hi all again =) Nowadays I’m trying to fire up a WFS server based on Mapserver 5.0.2, but I have a problem with it. This is what I have: 1) mapserv –v output: MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG

RE: [mapserver-users] Mapserver TIF Layer

2008-08-18 Thread Fawcett, David
Felix, Extent defines the bounding box that you want do display as a default for your map. The values need to be expressed in the same units as your output spatial reference system. (e.g. if your data is in decimal degrees of lat/long, your extent should be in decimal degrees). The format is

Re: [mapserver-users] WFS server configuration problems...

2008-08-18 Thread George A. Dubin
=)) Nope... I hadn't... After changing EXTENT to EXTENT 0 0 12000 16300 everything works fine! Really big TNX for quick answers! I was struggling with this problem since friday =/ On Mon, 18 Aug 2008 16:47:06 +0300, Rafael Almeida Fernandez Soto [EMAIL PROTECTED] wrote:

Re: [mapserver-users] WFS server configuration problems...

2008-08-18 Thread George A. Dubin
=)) Nope... I hadn't... After changing EXTENT to EXTENT 0 0 12000 16300 everything works fine! Really big TNX for quick answers! I was struggling with this problem since friday =/ On Mon, 18 Aug 2008 16:44:32 +0300, [EMAIL PROTECTED] wrote: Is you data inside of the MAP-extent?

[MAPSERVER-USERS] Use of gutter parameter with tilecache

2008-08-18 Thread Ritesh Ambastha
I want to specify gutter parameter while using tilecache. This is the code snippet from my tilecache.cfg file: snip [cache] type=Disk base=/var/www/tilecache # My MapServer layer configuration. [mycity] type=MapServer layers=layer1,layer2,layer3 mapfile=/var/www/mymap/mymap.map levels= 7

Re: [mapserver-users] PHP Mapscript $layerObj-set(data, $dataString) doesn't work with long Strings (2036 characters)

2008-08-18 Thread Michael Härtel
Hello Daniel and List I changed the mapfile and defined a layer with a DATA string which consists of 2036 characters. That works fine but as soon as I change it to 2037 characters I get the Server Error 500: premature End of script headers again. So it doesn't make a difference whether I set

[mapserver-users] image classifying

2008-08-18 Thread zhao peisheng
Hi all, I am a new user of MapServer. I am currently serving some HDF files using MapServer WMS and rendering them in classification. May I just assign a color for a specific pixel value, such as value 0 using red and value 0.0001 using yellow? I follow the MapServer document to do classifying

[mapserver-users] attach text to displayed features that are coming from postgis

2008-08-18 Thread John Mitchell
Hi, I would like to be able to attach text to displayed features that are coming from postgis. Currently I am just displaying points (layer displayed below) as an ellipse from postgis, but I would like to have text on top of each ellipse based on the contents of a field uniquely associated to

Re: [mapserver-users] How to display vector symbols (direction andmagnitude) in MapServer?

2008-08-18 Thread Steve Lime
Just in terms of the image... Steve On 8/18/2008 at 6:30 AM, in message [EMAIL PROTECTED], John Maurer [EMAIL PROTECTED] wrote: Thanks for the suggestion, Daniel! I was unaware of the ANGLE parameter in MapServer 5.0. One remaining concern I have, though, is how the angle will be

Re: [mapserver-users] attach text to displayed features that are comingfrom postgis

2008-08-18 Thread Steve Lime
Check out the LABELITEM property for a layer. You'll also need to define a LABEL for your class. Steve On 8/18/2008 at 11:17 AM, in message [EMAIL PROTECTED], John Mitchell [EMAIL PROTECTED] wrote: Hi, I would like to be able to attach text to displayed features that are coming from

RE: [mapserver-users] attach text to displayed features thatare comingfrom postgis

2008-08-18 Thread Fawcett, David
To be able to use a label, you will likely also have to modify your select statement to include the columns that you want to use in labels or expressions. Try something like: DATA the_geom from (select myLabelColumn, the_geom from myTable) as foo using unique gid using SRID=4326 Of course,

Re: [MAPSERVER-USERS] attach text to displayed features that are coming from postgis

2008-08-18 Thread Ritesh Ambastha
Dear John, You just need to use these additional lines in your class definition: CLASS - --- LABELITEM column_name LABEL COLOR 150 150 150 FONT sans TYPE truetype SIZE 10 PARTIALS FALSE END --- --- END #class Regards, Ritesh Ambastha John Mitchell-3 wrote:

Re: [mapserver-users] Re: msGetLabelSize(): TrueType Font error. Requested font (sans) not found.

2008-08-18 Thread Tamas Szekeres
John, You should specify the fonts to be used by mapserver in a fontset file and add the FONTSET section in your mapfile accordingly. For more information see: http://mapserver.gis.umn.edu/docs/reference/fontset/fontset/ Best regards, Tamas 2008/8/18 John Mitchell [EMAIL PROTECTED]: Sorry

Re: [mapserver-users] Fractional line widths?

2008-08-18 Thread Tamas Szekeres
Dane, I think it's reasonable but would only be feasible for the AGG renderer though. Best regards, Tamas 2008/8/19 Dane Springmeyer [EMAIL PROTECTED]: I can see from http://mapserver.gis.umn.edu/docs/reference/mapfile/style that only integers are supported for the Style Width parameter.

Re: [mapserver-users] Fractional line widths?

2008-08-18 Thread Dane Springmeyer
Tamas, Great, thanks!. I'll file a ticket then regarding the agg render and adding a FORMATOPTION for generating 'thinner' looking lines. My question comes from the context of comparing Mapnik's agg output to mapserver. Mapnik seems to interpret user-entered fractional widths in a clever

Re: [mapserver-users] Fractional line widths?

2008-08-18 Thread Tamas Szekeres
Dane, I think it would be implemented by means of replacing the int-s with doubles at the style and the symbol definitions and the corresponding interfaces since AGG have already been using doubles internally in the code. Best regards, Tamas 2008/8/19 Dane Springmeyer [EMAIL PROTECTED]:

Re: [mapserver-users] Change a class name by url

2008-08-18 Thread Jeff McKenna
hmm, u might also refer to the 5.0 migration guide, in case it helps you: http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT I have also seen a variation of this error: http://lists.osgeo.org/pipermail/mapserver-users/2008-May/055877.html -- Jeff