mappostgis.c and PostGIS 1.0.0

Bart van den Eijnden bartvde at XS4ALL.NL
Thu Feb 3 13:57:14 EST 2005


Hi Paul,

with Mapserver 4.4.1 and Postgis 0.8 I get:

[Thu Feb 03 19:57:02 2005] [error] [client 192.168.3.4] Premature end of
script headers: mapserv.exe
[Thu Feb 03 19:57:02 2005] [error] [client 192.168.3.4] Thu Feb 03
19:57:01 2005 - msAddLine(): Memory allocation error. \r

WMS works fine, WFS GetFeature fails. WFS DescribeFeatureType works.

Best regards,
Bart

On Thu, 3 Feb 2005 10:44:12 -0800, Paul Ramsey <pramsey at REFRACTIONS.NET>
wrote:

> Has anyone tried mapserver as a WFS against PostGIS of any version? I
> have been trying to figure out how the <Filter>s are applied against
> database backends, perhaps something I can do as I loll about in bed
> this afternoon, but it was not immediately clear to me.
>
> That said, I guess you were also having problems with WMS, right Tom?
>
> P
>
> Kralidis,Tom [Burlington] wrote:
>
>> I've been trying for between mapserver-users and postgis-users to figure
>> this one out (I'm starting to feel like one of thoese guys).
>>
>> Has anyone successfully tested MapServer CVS with PostGIS 1.0.0RC2?  I'm
>> trying to do this, and after much debugging and testing, it looks like
>> the MapServer code needs to be updated for the new PostGIS dist.
>>
>> Test:
>>
>> Here is what's been done successfully:
>>
>> - configure PostGIS DB
>> - insert sample data
>> - fetch sample data via psql
>> - configure mapfile to connect with the following:
>>
>>   CONNECTIONTYPE postgis
>>   CONNECTION "user=postgres dbname=devgeodb"
>>   DATA "the_geom from service_resources"
>>
>> - Run OGC:WFS GetCapabilities
>> - Run OGC:WFS DescribeFeatureType
>>  - response as expected, I can see the table schema via XML output
>>
>> ...when I go to run GetFeature, no data comes back.  DescribeFeatureType
>> works, so I know the connection is ok.  I'm wondering if the data
>> fetching bindings in PostGIS 1.0.0RC2 have changed, and if MapServer
>> needs to update these.
>>
>> I'm miffed.
>>
>> ..Tom
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the mapserver-dev mailing list