[OpenLayers-Users] MapServer to OpenLayers line rendition

Aileen aileen at mapcentral.ph
Sun Oct 7 23:55:04 EDT 2007


Hi Steve,

Sorry about my email format. Changed it to text format now.

I re-installed mapserver 4.10 first this morning to our test server since 
there are other developers using
mapserver in our server.

I'll just install mapserver 5.0 and the latest OpenLayers in another test 
server for testing where it is not being used
by other developers to avod interruption.

Just a quick question: Have you tested the compatibilty of Mapserver 5.0 
with Openlayers 2.4?

----- Original Message ----- 
From: "Christopher Schmidt" <crschmidt at metacarta.com>
To: "Aileen" <aileen at mapcentral.ph>
Cc: "Steve Lime" <Steve.Lime at dnr.state.mn.us>; <users at openlayers.org>
Sent: Monday, October 08, 2007 10:06 AM
Subject: Re: [OpenLayers-Users] MapServer to OpenLayers line rendition


> On Mon, Oct 08, 2007 at 09:25:27AM +0800, Aileen wrote:
>> Hi Steve!
>
> Aileen:
>
> Your email would be more readable for me if you didn't use HTML email --
> you should see if you can tell your mail client not to do that. (I only
> say this because I had to do a fair amount of work to actually see this
> email as you meant it due to the HTML stuff.)
>
>> var myqry = new OpenLayers.Layer.MapServer.Untiled("Map", 
>> "/cgi-bin/mapserv?", {map: '/hometo/maps/mymap.map', layer:'#qrylayer#', 
>> map_#qrylayer#_classitem:'#qryitem#', 
>> map_#qrylayer#_class_expression:'#q.code#', layers:"#onlayer#", format: 
>> 'gif', transparent:'false'});
>
> The URl actually being passed to MapServer, which is, I believe, the one
> that matters, is:
>
> http://203.131.125.60/cgi-bin/mapserv?map=%2Fhome%2Fmapsfinal%2Fmaps%2Flonlat.map&layers=&format=gif&transparent=false&numZoomLevels=10&mode=map&map_imagetype=png&srs=EPSG%3A4326&mapext=121.011138%2014.626299%20121.045862%2014.651101&imgext=121.011138%2014.626299%20121.045862%2014.651101&map_size=700%20500&imgx=350&imgy=250&imgxy=700%20500
>
> Hm, looking at what you're syaing, that doesn't make sense -- I'm
> looking at the code in
> http://203.131.125.60/GoogleApi/OpenLayersSVN/mapOL.cfm?type=&ids=60738,60739,60740,79907&mypoint=&clickmap=&click_x=&click_y=&olfile=MOL2007-10-08-10:01:03&mzoom=&mcenter=&current_extent=&name=Quezon%20Avenue&location=Quezon%20Cityi&userid=
> and it doesn't match the layer creation you mention above: instead, it
> says:
>
> mcmap = new OpenLayers.Layer.MapServer.Untiled("Map",
>  "/cgi-bin/mapserv?", {map:
>  '/home/mapsfinal/maps/lonlat.map', layers:'base', layers:"",
>  format: 'gif', transparent:'false', numZoomLevels:'10'});
>
>
> Where am I going worng?
>
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> 




More information about the Users mailing list