[postgis-users] postgis 1.x doesn't work with mapserver at all?
Zhiqiang Zhang
zqzhang01 at yahoo.com
Sat Dec 17 17:11:35 PST 2005
Ron, does your postgis data's geometry colume data
type a "multi-" type or a simple "linestring" "point"
type? If it is a simple "linestring" or "point" type,
it will work. But all "multi" type will fail.
--- "R. Müller" <r.mueller at unicomp-berlin.de> wrote:
> hi,
>
> there are significant changes in dataformat in
> version 1.x.
> you have to recompile your mapserver against the new
> postgis-libs.
> there is definitly no generell problem with postgis
> 1.x and mapserver
> 4.x. i'm running mapserver 4.6 and postgis 1.0.1 on
> my machine.
>
> ronald
>
>
>
> Zhiqiang Zhang wrote:
> > Anyone ever tried to use mapserver 4.x with
> postgis
> > 1.x together? It looks like mapserver can't draw
> the
> > geometry returned from the postgis DB. I have
> exactly
> > the same mapserver pointing to old postgis (0.8)
> and
> > postgres 7.x. It works fine. The data is simply a
> road
> > data, generated from shp2pgsql, multilinestring is
> the
> > geometry type. Debugging the mapserver code shows
> that
> > mappostgis.c's foree_to_lines() is ignoring the
> > shapes returned from postgis because its type is
> not
> > 2(linestring) and 3(polygon), but 5. So the shape
> gets
> > ignored and not drawn. The thing that really
> puzzles
> > me is why the same mapserver works for old postgis
> but
> > not the new postgis.
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> >
>
http://postgis.refractions.net/mailman/listinfo/postgis-users
> >
>
> --
>
*********************************************************
> *M-Unicomp GmbH
> *
> *Ronald Müller
> *
> *Plauener Straße 163-165, Haus 11
> *13053 Berlin
> *
> *fon : +49 ( 0 ) 30 / 98 69 61 54
> *mobil : +49 ( 0 ) 172 / 93 95 00 4
> *fax : +49 ( 0 ) 30 / 98 69 61 55
> *email : r.mueller at unicomp-berlin.de
> *web : www.unicomp-berlin.de
>
********************************************************
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
>
http://postgis.refractions.net/mailman/listinfo/postgis-users
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the postgis-users
mailing list