Re: [mapserver-users] help with AGG support

2010-03-24 Thread Frank Warmerdam

Julie Knoll wrote:
That worked perfectly and didn't cause the postgis error like in 5.6.1, 
Thank you!!!


On Wed, Mar 24, 2010 at 10:15 AM, Alan Boudreault 
mailto:aboudrea...@mapgears.com>> wrote:


With mapserver 5.6.3, could you try to open the mapstring.c file and
add the
following include at the line 40:
#include 

Fixed by FrankW in http://trac.osgeo.org/mapserver/changeset/9998


Folks,

I'll just note that I have filed a ticket on this:

 http://trac.osgeo.org/mapserver/ticket/3401

and fixed it in 5.6 branch as well. The problem seems not to affect
maximal builds which pull in lots of supporting libraries since one of them
is apparently pulling in errno.h for us so I don't think it is a particularly
critical bug in 5.6.3.  I believe it was introduced with 5.6.3 and does not
affect earlier versions.

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] help with AGG support

2010-03-24 Thread Julie Knoll
That worked perfectly and didn't cause the postgis error like in 5.6.1,
Thank you!!!

On Wed, Mar 24, 2010 at 10:15 AM, Alan Boudreault
wrote:

> With mapserver 5.6.3, could you try to open the mapstring.c file and add
> the
> following include at the line 40:
> #include 
>
> Fixed by FrankW in http://trac.osgeo.org/mapserver/changeset/9998
>
> Alan
>
> On March 24, 2010 11:04:23 am Julie Knoll wrote:
> > Actually we are using version 5.4.
> >
> > I just tried compiling 5.6.3 and got a new set of errors on make
> > (non-related to agg)
> >
> > mapstring.c: In function ‘msConvertWideStringToUTF8’:
> > mapstring.c:1542: warning: dereferencing type-punned pointer will break
> > strict-aliasing rules
> > mapstring.c:1544: error: ‘errno’ undeclared (first use in this function)
> > mapstring.c:1544: error: (Each undeclared identifier is reported only
> once
> > mapstring.c:1544: error: for each function it appears in.)
> > mapstring.c:1545: error: ‘E2BIG’ undeclared (first use in this function)
> > mapstring.c:1548: error: ‘EILSEQ’ undeclared (first use in this function)
> > mapstring.c:1551: error: ‘EINVAL’ undeclared (first use in this function)
> > make: *** [mapstring.o] Error 1
> >
> > I then tried version 5.6.1 which compiled and installed perfectly, but
> when
> > trying to actually draw a map, it reported an error with my postgis
> layer:
> >
> > [Wed Mar 24 09:49:48 2010].943741 msPostGISLayerGetItems(): Query error.
> > Error (ERROR:  column "box" does not exist
> > LINE 1: ...om geom_cassidi_states where the_geom &&
> setsrid(!BOX!,4269)...
> >  ^
> > ) executing SQL: select * from (select the_geom, state_name, gid from
> > geom_cassidi_states where the_geom && setsrid(!BOX!,4269)) as foo where
> > false limit 0
> >
> >
> > so not sure what to do now ...
> >
> >
> > On Wed, Mar 24, 2010 at 9:52 AM, Alan Boudreault
> >
> > wrote:
> > > Julie, what mapserver version are you using? AGG is already included in
> > > mapserver 5.6.x source. Just compile with "--with-agg" option. I'm not
> > > sure MS
> > > has been tested with agg 2.5.
> > >
> > > Alan
> > >
> > > On March 24, 2010 10:22:35 am Julie Knoll wrote:
> > > > Hi,
> > > >
> > > > I have installed packages for agg-2.5 and agg-devel-2.5 on our
> server.
> > > > Compling mapserver using ./configure --with-php=/usr/include/php
> > > > --with-postgis --with-proj --with-geos --with-freetype
> --with-agg=/usr
> > > >  works fine. However make returns the following errors. Could someone
> > > >  please help? The server is CentOS 5.4
> > > >
> > > > /usr/include/agg2/agg_pixfmt_rgba.h:1637: error: no type named
> > > > ‘row_data’ in ‘class mapserv_row_ptr_cache’
> > > > /usr/include/agg2/agg_pixfmt_rgba.h:1675: error: no type named
> > > > ‘row_data’ in ‘class mapserv_row_ptr_cache’
> > > > mapagg.cpp: In member function ‘void
> > > > AGGMapserverRenderer::renderEllipse(double, double, double, double,
> > >
> > > double,
> > >
> > > > agg::rgba8&, agg::rgba8&, double)’:
> > > > mapagg.cpp:299: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp: In function ‘void
> msCircleDrawShadeSymbolAGG(symbolSetObj*,
> > > > imageObj*, pointObj*, double, styleObj*, double)’:
> > > > mapagg.cpp:1077: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp:1101: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp:1144: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp:1177: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp: In function ‘void msDrawMarkerSymbolAGG(symbolSetObj*,
> > > > imageObj*, pointObj*, styleObj*, double)’:
> > > > mapagg.cpp:1300: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp: In function ‘void drawPolylineMarkers(imageObj*,
> shapeObj*,
> > > > symbolSetObj*, styleObj*, double)’:
> > > > mapagg.cpp:1426: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp:1427: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp:1428: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp: In function ‘void msDrawLineSymbolAGG(symbolSetObj*,
> > >
> > > imageObj*,
> > >
> > > > shapeObj*, styleObj*, double)’:
> > > > mapagg.cpp:1713: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp: In function ‘void msDrawShadeSymbolAGG(symbolSetObj*,
> > > >  imageObj*, shapeObj*, styleObj*, double)’:
> > > > mapagg.cpp:1831: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp:1878: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > mapagg.cpp:1926: error: ‘class agg::path_storage’ has no member named
> > > > ‘transform’
> > > > make: *** [mapagg.o] Er

Re: [mapserver-users] help with AGG support

2010-03-24 Thread Alan Boudreault
With mapserver 5.6.3, could you try to open the mapstring.c file and add the 
following include at the line 40:
#include  

Fixed by FrankW in http://trac.osgeo.org/mapserver/changeset/9998

Alan

On March 24, 2010 11:04:23 am Julie Knoll wrote:
> Actually we are using version 5.4.
> 
> I just tried compiling 5.6.3 and got a new set of errors on make
> (non-related to agg)
> 
> mapstring.c: In function ‘msConvertWideStringToUTF8’:
> mapstring.c:1542: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> mapstring.c:1544: error: ‘errno’ undeclared (first use in this function)
> mapstring.c:1544: error: (Each undeclared identifier is reported only once
> mapstring.c:1544: error: for each function it appears in.)
> mapstring.c:1545: error: ‘E2BIG’ undeclared (first use in this function)
> mapstring.c:1548: error: ‘EILSEQ’ undeclared (first use in this function)
> mapstring.c:1551: error: ‘EINVAL’ undeclared (first use in this function)
> make: *** [mapstring.o] Error 1
> 
> I then tried version 5.6.1 which compiled and installed perfectly, but when
> trying to actually draw a map, it reported an error with my postgis layer:
> 
> [Wed Mar 24 09:49:48 2010].943741 msPostGISLayerGetItems(): Query error.
> Error (ERROR:  column "box" does not exist
> LINE 1: ...om geom_cassidi_states where the_geom && setsrid(!BOX!,4269)...
>  ^
> ) executing SQL: select * from (select the_geom, state_name, gid from
> geom_cassidi_states where the_geom && setsrid(!BOX!,4269)) as foo where
> false limit 0
> 
> 
> so not sure what to do now ...
> 
> 
> On Wed, Mar 24, 2010 at 9:52 AM, Alan Boudreault
> 
> wrote:
> > Julie, what mapserver version are you using? AGG is already included in
> > mapserver 5.6.x source. Just compile with "--with-agg" option. I'm not
> > sure MS
> > has been tested with agg 2.5.
> >
> > Alan
> >
> > On March 24, 2010 10:22:35 am Julie Knoll wrote:
> > > Hi,
> > >
> > > I have installed packages for agg-2.5 and agg-devel-2.5 on our server.
> > > Compling mapserver using ./configure --with-php=/usr/include/php
> > > --with-postgis --with-proj --with-geos --with-freetype --with-agg=/usr
> > >  works fine. However make returns the following errors. Could someone
> > >  please help? The server is CentOS 5.4
> > >
> > > /usr/include/agg2/agg_pixfmt_rgba.h:1637: error: no type named
> > > ‘row_data’ in ‘class mapserv_row_ptr_cache’
> > > /usr/include/agg2/agg_pixfmt_rgba.h:1675: error: no type named
> > > ‘row_data’ in ‘class mapserv_row_ptr_cache’
> > > mapagg.cpp: In member function ‘void
> > > AGGMapserverRenderer::renderEllipse(double, double, double, double,
> >
> > double,
> >
> > > agg::rgba8&, agg::rgba8&, double)’:
> > > mapagg.cpp:299: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp: In function ‘void msCircleDrawShadeSymbolAGG(symbolSetObj*,
> > > imageObj*, pointObj*, double, styleObj*, double)’:
> > > mapagg.cpp:1077: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp:1101: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp:1144: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp:1177: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp: In function ‘void msDrawMarkerSymbolAGG(symbolSetObj*,
> > > imageObj*, pointObj*, styleObj*, double)’:
> > > mapagg.cpp:1300: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp: In function ‘void drawPolylineMarkers(imageObj*, shapeObj*,
> > > symbolSetObj*, styleObj*, double)’:
> > > mapagg.cpp:1426: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp:1427: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp:1428: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp: In function ‘void msDrawLineSymbolAGG(symbolSetObj*,
> >
> > imageObj*,
> >
> > > shapeObj*, styleObj*, double)’:
> > > mapagg.cpp:1713: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp: In function ‘void msDrawShadeSymbolAGG(symbolSetObj*,
> > >  imageObj*, shapeObj*, styleObj*, double)’:
> > > mapagg.cpp:1831: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp:1878: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > mapagg.cpp:1926: error: ‘class agg::path_storage’ has no member named
> > > ‘transform’
> > > make: *** [mapagg.o] Error 1
> > >
> > > Thanks
> >
> > --
> > Alan Boudreault
> > Mapgears
> > http://www.mapgears.com
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] help with AGG support

2010-03-24 Thread Julie Knoll
Actually we are using version 5.4.

I just tried compiling 5.6.3 and got a new set of errors on make
(non-related to agg)

mapstring.c: In function ‘msConvertWideStringToUTF8’:
mapstring.c:1542: warning: dereferencing type-punned pointer will break
strict-aliasing rules
mapstring.c:1544: error: ‘errno’ undeclared (first use in this function)
mapstring.c:1544: error: (Each undeclared identifier is reported only once
mapstring.c:1544: error: for each function it appears in.)
mapstring.c:1545: error: ‘E2BIG’ undeclared (first use in this function)
mapstring.c:1548: error: ‘EILSEQ’ undeclared (first use in this function)
mapstring.c:1551: error: ‘EINVAL’ undeclared (first use in this function)
make: *** [mapstring.o] Error 1

I then tried version 5.6.1 which compiled and installed perfectly, but when
trying to actually draw a map, it reported an error with my postgis layer:

[Wed Mar 24 09:49:48 2010].943741 msPostGISLayerGetItems(): Query error.
Error (ERROR:  column "box" does not exist
LINE 1: ...om geom_cassidi_states where the_geom && setsrid(!BOX!,4269)...
 ^
) executing SQL: select * from (select the_geom, state_name, gid from
geom_cassidi_states where the_geom && setsrid(!BOX!,4269)) as foo where
false limit 0


so not sure what to do now ...


On Wed, Mar 24, 2010 at 9:52 AM, Alan Boudreault
wrote:

> Julie, what mapserver version are you using? AGG is already included in
> mapserver 5.6.x source. Just compile with "--with-agg" option. I'm not sure
> MS
> has been tested with agg 2.5.
>
> Alan
>
> On March 24, 2010 10:22:35 am Julie Knoll wrote:
> > Hi,
> >
> > I have installed packages for agg-2.5 and agg-devel-2.5 on our server.
> > Compling mapserver using ./configure --with-php=/usr/include/php
> > --with-postgis --with-proj --with-geos --with-freetype --with-agg=/usr
> >  works fine. However make returns the following errors. Could someone
> >  please help? The server is CentOS 5.4
> >
> > /usr/include/agg2/agg_pixfmt_rgba.h:1637: error: no type named ‘row_data’
> >  in ‘class mapserv_row_ptr_cache’
> > /usr/include/agg2/agg_pixfmt_rgba.h:1675: error: no type named ‘row_data’
> >  in ‘class mapserv_row_ptr_cache’
> > mapagg.cpp: In member function ‘void
> > AGGMapserverRenderer::renderEllipse(double, double, double, double,
> double,
> > agg::rgba8&, agg::rgba8&, double)’:
> > mapagg.cpp:299: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp: In function ‘void msCircleDrawShadeSymbolAGG(symbolSetObj*,
> > imageObj*, pointObj*, double, styleObj*, double)’:
> > mapagg.cpp:1077: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp:1101: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp:1144: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp:1177: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp: In function ‘void msDrawMarkerSymbolAGG(symbolSetObj*,
> > imageObj*, pointObj*, styleObj*, double)’:
> > mapagg.cpp:1300: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp: In function ‘void drawPolylineMarkers(imageObj*, shapeObj*,
> > symbolSetObj*, styleObj*, double)’:
> > mapagg.cpp:1426: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp:1427: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp:1428: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp: In function ‘void msDrawLineSymbolAGG(symbolSetObj*,
> imageObj*,
> > shapeObj*, styleObj*, double)’:
> > mapagg.cpp:1713: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp: In function ‘void msDrawShadeSymbolAGG(symbolSetObj*,
> >  imageObj*, shapeObj*, styleObj*, double)’:
> > mapagg.cpp:1831: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp:1878: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > mapagg.cpp:1926: error: ‘class agg::path_storage’ has no member named
> > ‘transform’
> > make: *** [mapagg.o] Error 1
> >
> > Thanks
> >
>
> --
> Alan Boudreault
> Mapgears
> http://www.mapgears.com
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] help with AGG support

2010-03-24 Thread Alan Boudreault
Julie, what mapserver version are you using? AGG is already included in 
mapserver 5.6.x source. Just compile with "--with-agg" option. I'm not sure MS 
has been tested with agg 2.5.

Alan

On March 24, 2010 10:22:35 am Julie Knoll wrote:
> Hi,
> 
> I have installed packages for agg-2.5 and agg-devel-2.5 on our server.
> Compling mapserver using ./configure --with-php=/usr/include/php
> --with-postgis --with-proj --with-geos --with-freetype --with-agg=/usr
>  works fine. However make returns the following errors. Could someone
>  please help? The server is CentOS 5.4
> 
> /usr/include/agg2/agg_pixfmt_rgba.h:1637: error: no type named ‘row_data’
>  in ‘class mapserv_row_ptr_cache’
> /usr/include/agg2/agg_pixfmt_rgba.h:1675: error: no type named ‘row_data’
>  in ‘class mapserv_row_ptr_cache’
> mapagg.cpp: In member function ‘void
> AGGMapserverRenderer::renderEllipse(double, double, double, double, double,
> agg::rgba8&, agg::rgba8&, double)’:
> mapagg.cpp:299: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp: In function ‘void msCircleDrawShadeSymbolAGG(symbolSetObj*,
> imageObj*, pointObj*, double, styleObj*, double)’:
> mapagg.cpp:1077: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp:1101: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp:1144: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp:1177: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp: In function ‘void msDrawMarkerSymbolAGG(symbolSetObj*,
> imageObj*, pointObj*, styleObj*, double)’:
> mapagg.cpp:1300: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp: In function ‘void drawPolylineMarkers(imageObj*, shapeObj*,
> symbolSetObj*, styleObj*, double)’:
> mapagg.cpp:1426: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp:1427: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp:1428: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp: In function ‘void msDrawLineSymbolAGG(symbolSetObj*, imageObj*,
> shapeObj*, styleObj*, double)’:
> mapagg.cpp:1713: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp: In function ‘void msDrawShadeSymbolAGG(symbolSetObj*,
>  imageObj*, shapeObj*, styleObj*, double)’:
> mapagg.cpp:1831: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp:1878: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> mapagg.cpp:1926: error: ‘class agg::path_storage’ has no member named
> ‘transform’
> make: *** [mapagg.o] Error 1
> 
> Thanks
> 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] help with AGG support

2010-03-24 Thread Julie Knoll
Hi,

I have installed packages for agg-2.5 and agg-devel-2.5 on our server.
Compling mapserver using ./configure --with-php=/usr/include/php
--with-postgis --with-proj --with-geos --with-freetype --with-agg=/usr works
fine. However make returns the following errors. Could someone please help?
The server is CentOS 5.4

/usr/include/agg2/agg_pixfmt_rgba.h:1637: error: no type named ‘row_data’ in
‘class mapserv_row_ptr_cache’
/usr/include/agg2/agg_pixfmt_rgba.h:1675: error: no type named ‘row_data’ in
‘class mapserv_row_ptr_cache’
mapagg.cpp: In member function ‘void
AGGMapserverRenderer::renderEllipse(double, double, double, double, double,
agg::rgba8&, agg::rgba8&, double)’:
mapagg.cpp:299: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp: In function ‘void msCircleDrawShadeSymbolAGG(symbolSetObj*,
imageObj*, pointObj*, double, styleObj*, double)’:
mapagg.cpp:1077: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp:1101: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp:1144: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp:1177: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp: In function ‘void msDrawMarkerSymbolAGG(symbolSetObj*,
imageObj*, pointObj*, styleObj*, double)’:
mapagg.cpp:1300: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp: In function ‘void drawPolylineMarkers(imageObj*, shapeObj*,
symbolSetObj*, styleObj*, double)’:
mapagg.cpp:1426: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp:1427: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp:1428: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp: In function ‘void msDrawLineSymbolAGG(symbolSetObj*, imageObj*,
shapeObj*, styleObj*, double)’:
mapagg.cpp:1713: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp: In function ‘void msDrawShadeSymbolAGG(symbolSetObj*, imageObj*,
shapeObj*, styleObj*, double)’:
mapagg.cpp:1831: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp:1878: error: ‘class agg::path_storage’ has no member named
‘transform’
mapagg.cpp:1926: error: ‘class agg::path_storage’ has no member named
‘transform’
make: *** [mapagg.o] Error 1

Thanks
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users