[Mapserver-users] World map projections without inverse projection
Jan Hartmann
jhart at frw.uva.nl
Wed Mar 26 08:03:34 PST 2003
No, it segfaults. Actually, I think those projections are mainly used
for whole-world maps, so skipping the rectangle search and returning a
default (like -18000000 -9000000 18000000 9000000 ) would make some sort
of sense. From what I saw in msproject.c, a few lines at the beginning
of msProject() would do. I'll try it out for myself; I need a few
illustrations for these projections.
Frank Warmerdam wrote:
>
> Jan,
>
> MapServer needs to convert both ways. It converts the extents rectangle
> from
> the map projection to the layer projection in order to establish a query
> rectangle in that projection for which features are required. Then it
> needs
> to project the feature geometries from the layer projection to the map
> projection.
>
> In theory MapServer could be modified to skip the extents rectangle inverse
> projection and just fetch all features but I am dubious about the value of
> that.
>
> You mention that it crashes MapServer. Do you mean an actual seg fault, or
> just that things fail with an error? If you can submit a simple case of
> mapserver crashing with un-invertable projections into bugzilla (and assign
> it to me) I would be willing to fix up mapserver to at least return a
> meaningful error.
>
> Best regards,
>
More information about the MapServer-users
mailing list