[mapserver-users] ScaleHint

Stephen Lime steve.lime at dnr.state.mn.us
Mon Jul 23 10:55:35 PDT 2001


It's all semantics. I still think it's wrong, a single parameter is hardly complex- just name the service.

>>> Rob Atkinson <rob at socialchange.net.au> 07/23/01 12:42PM >>>

A host has no specific semantics in a service architecture, unless you treat it as something that supports the routing
level - in which case its the TCP/IP listening port I guess.

In "Services" we think of "service access points" and "services" - in this case you have one "service access point"
delivering multiple "services", but if you changed your service access point definition to include the service name,
you would simply have a one-one mapping. This is the short term preferred approach becuase it obviates the need to add
additional level of complexity on how to model each possible service implementations set of configuration parameters.

Rob

Stephen Lime wrote:

> Depends on what you consider a service and a host. I have a host (http://maps.dnr.state.mn.us/cgi-bin/mapserv)
> with 10 services available and the WMS stuff does a poor job with that type of a setup without wrappers or vendor
> specific parameters. Certainly possible, even desireable for a host, any host, to be home to a number of services.
>
> >>> Rob Atkinson <rob at socialchange.net.au> 07/19/01 02:12PM >>>
>
> Actually if you work this through you reach the conclusion that the service is the URI , with qualifiers to
> the right of the ? if required, and the host is irrelevant, which is exactly what is supported!
>
> :-)
>
> Stephen Lime wrote:
>
> > So after all the discussion the current behavior is correct, correct? That is the map is generated but
> > the layer will not appear if the scaling limits are violated. Performance issues abound if this is not the
> > case so I don't know of an alternative.
> >
> > On the map "vendor specific" parameter I just wanted to add that I think OGC missed the boat by
> > not being able to specify a particular service on a host other than using the root of the URL (i.e.
> > left of the ?). It's going to be pretty common for sites to host multiple applications using the same
> > engine, MapServer, ArcIMS or whatever and maintaining the wrapper scripts while simple is a
> > bit of a pain. Being able to refer to the service (in our case using a mapfile name) would've been
> > a nice addition to the spec.
> >
> > Steve
> >
> > Stephen Lime
> > Internet Applications Analyst
> >
> > Minnesota DNR
> > 500 Lafayette Road
> > St. Paul, MN 55155
> > 651-297-2937




More information about the MapServer-users mailing list