Strange imagetype/outputformat behaviour - SOLVED

Gambin Dejan Dejan.Gambin at PULA.HR
Sun Jul 15 23:55:03 PDT 2007


Frank,

You were right of course. I found that p-mapper selects the output
format by selectOutputFormat function that has an input defined in
p.mapper config file as "png". So I suppose it just couldn't work using
custom imagetype/name. 

Now I know the image I see is RGB and the "better" one shown in DWG
viewer is probably using sub-pixel rendering

thanks very much Frank

regards, dejan

> -----Original Message-----
> From: Frank Warmerdam [mailto:warmerdam at pobox.com] 
> Sent: Sunday, July 15, 2007 4:12 PM
> To: Gambin Dejan
> Subject: Re: [UMN_MAPSERVER-USERS] Spam: Re: 
> [UMN_MAPSERVER-USERS] Strange imagetype/outputformat behaviour
> 
> Dejan Gambin wrote:
> > Frank,
> > 
> > I am using MS4W and p.mapper framework. The request is very 
> simple - I 
> > have a raster layer made by tileindex shape file, like this:
> > 
> > LAYER # raster
> >   NAME         "ortofoto"
> >   GROUP	       "ortofoto"
> >   STATUS       ON
> >   TYPE         RASTER
> >   METADATA 
> >     "DESCRIPTION" "Ortofoto"
> >   END
> >   TILEINDEX "vodnjan"
> >   TILEITEM "LOCATION"
> >     CLASS
> >     Name 'ortofoto'
> >     COLOR 51 102 160
> >     OUTLINECOLOR 0 0 0 
> >     TEMPLATE void
> >   END
> > END
> > 
> > Maybe I need to look in the p.mapper somewhere and debug the 
> > requests...I'll try...
> 
> Dejan,
> 
> I am not familiar with the details of p.mapper, but I do 
> think you need to understand the requests it is making.
> 
> Best regards,
> 
> -- 
> ---------------------------------------+----------------------
> ----------
> ---------------------------------------+------
> I set the clouds in motion - turn up   | Frank Warmerdam, 
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGeo, 
> http://osgeo.org
> 
> 



More information about the MapServer-users mailing list