Opened 21 years ago
Last modified 21 years ago
#299 assigned enhancement
Request for default EXTENT
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer CGI | Version: | 4.1 |
Severity: | minor | Keywords: | |
Cc: |
Description
When no extent is set, MapServer now crashes. A default extent, based on the bounding box of all layers combined, would prevent this. Also, overviews of unknown maps and rasters could be generated very quickly. This would be especially handy in cases when people "don't see anything" as a result of setting the EXTENT wrong. From Steve Lime's posting 22-3-2003: Interestingly the tool (i.e. msLayerGetExtent() function) to get that value has already been written and just needs to be hooked up in the CGI version and perhaps as a method for MapScript (eg. $map->setDefaultExtent();). Jan Hartmann
Change History (3)
comment:1 by , 21 years ago
Cc: | added |
---|---|
Summary: | Request for default EXTENT → Request for default EXTENT |
comment:3 by , 21 years ago
Status: | new → assigned |
---|
A good idea, but low priority since there's a very workable solution- set an EXTENT! I *could* quickly modify the map file loader to throw an error if there isn't a default set though. That won't fix MapScript which allows you to build map files from scratch.
Note:
See TracTickets
for help on using tickets.