MapScript projection error - CGI works fine

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Wed Jun 13 00:28:23 PDT 2007


On 6/12/07, Pascal Ehlert <dadark at dadark.de> wrote:
> Hi Frank!
>
> I figured that out myself in the meantime, I used the mapserver from the
> debian package
> and compiled mapscript on my own.
>
> As Ruby mapscript isn't very well documented and I didn't check the
> whole sourcecode yet,
> does anyone know how up-to-date it is?
> Are at least the current main features supported?

You might want to tell us what you need to do and we'll answer with a yes or no.
'Main features' is a bit fuzzy ;-)

Umberto

>
>
> Thank you (especially Frank for your help of course)
>
> Pascal
>
>
>
> Frank Warmerdam schrieb:
> > Pascal Ehlert wrote:
> >> Hi Mapserver Community!
> >>
> >> This is my first post here, I hope the project is still active.
> >>
> >> I've just been trying to migrate my MapServer stuff from the CGI
> >> version to
> >> the Ruby MapScript version
> >> for better integration with my Rails (for those of you who don't
> >> know, it's
> >> a Ruby web framework) application.
> >>
> >> Now, while CGI is working fine, the MapScript refuses to work at all,
> >> because of a projection error.
> >> This really confuses me, I'm using exactly the same mapfile for both
> >> of them.
> >>
> >>
> >> This is what I do in Ruby and the error I get:
> >>
> > > RuntimeError: loadProjection(): Projection library error. Projection
> > support
> > > is not available.
> >
> > Pascal,
> >
> > This generally means that your Ruby mapscript was built without PROJ.4
> > support.  I think you need to rebuild ruby mapscript ensuring that PROJ.4
> > support is enabled during the full build of mapscript and the underlying
> > mapserver library.  I'm guessing that your mapscript and mapserver cgi
> > are
> > not from the same build.
> >
> > PS. MapServer is still very active, though perhaps Ruby Mapscript is only
> > lightly used.
> >
> > Best regards,
>



More information about the MapServer-users mailing list