[mapserver-users] ScaleHint
Daniel Morissette
morissette at dmsolutions.ca
Thu Jul 19 08:35:49 PDT 2001
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.
>
Yep... current behavior is correct. And based on the replies I got on
the WMS-Dev list, that's the behavior that most other WMS servers
adopted as well.
> 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.
>
I agree that OGC should have included an INSTANCE parameter or something
similar that specifies which particular mapfile (in the mapserver
language) is being accessed.
However, we are not completely stuck since it is still legal to use the
following as the OnlineResource for HTTP GET in the Capabilities output:
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://my.svr.com/cgi-bin/mapserv?map=/path/to/my.map&"/>
</Get>
</HTTP>
And BTW I don't think 'map' is considered a vendor-specific parameter in
this case since the spec says that OnlineResource is an opaque string.
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
More information about the MapServer-users
mailing list