SOS eventtime and result
Jørn Vegard Røsnes
jorn at SPACETEC.NO
Thu Nov 8 06:53:42 PST 2007
Hi,
I get a compilation failure, any clues?
make
g++ -O2 -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCAT -DUSE_PROJ
-DUSE_SOS_SVR -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
-DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_ICONV -DUSE_ZLIB
-I/usr/local/include -I/home/konserv/FWTools-1.4.2//include -I/include
-I/usr/local/include/libxml2 mapserv.o cgiutil.o -L. -lmapserver -lgd
-L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz -ljpeg -lfreetype -lpng
-lz -L/home/konserv/FWTools-1.4.2//lib -lproj -ljpeg -L/lib -lgdal
-L/usr3/pkg4/OpenEV_FW_Tree/FWTools/lib -lgeos -lgeos_c
-L/usr3/pkg4/OpenEV_FW_Tree/FWTools/lib -lexpat
-L/usr3/pkg4/OpenEV_FW_Tree/xerces-c-src_2_6_0/lib -lxerces-c -lpthread
-L/usr3/pkg4/OpenEV_FW_Tree/Geo_DSDK-6.0.7.1407/lib/Release
-L/usr3/pkg4/OpenEV_FW_Tree/Geo_DSDK-6.0.7.1407/3rd-party/lib/Release
-lpthread -L/usr3/pkg4/OpenEV_FW_Tree/FWTools/lib -lNCSEcw -lNCSCnet
-lNCSUtil -L/usr3/pkg4/OpenEV_FW_Tree/HDF42_inst/lib -lmfhdf -ldf -logdi31
-ljpeg -L/usr3/pkg4/OpenEV_FW_Tree/FWTools/lib
-L/usr3/pkg4/OpenEV_FW_Tree/FWTools/lib -lpng -lnetcdf -lgrass5
-L/usr3/local/pgsql/lib -lz -lpthread -lm -lrt -ldl
-L/usr3/pkg4/OpenEV_FW_Tree/kakadu-5.1/lib -lkdu
-L/usr3/pkg4/OpenEV_FW_Tree/FWTools/lib -ldap -L/usr/local/lib -lcurl -ldl
-lz -L/usr/local/lib -lxml2 -lz -lpthread -lm -lpthread
-L/usr3/pkg4/OpenEV_FW_Tree/FWTools/lib -lsqlite3 -L/usr/local/lib -lcurl
-ldl -lz -L/usr/local/lib/mysql -lz -lcrypt -lnsl -lm -lc -lz
-L/usr/local/lib -lxml2 -lz -lm -lm -lstdc++ -o mapserv
./libmapserver.a(mapfile.o)(.text+0x651d): In function
`msUpdateQueryMapFromString':
: undefined reference to `msyylex_destroy'
./libmapserver.a(mapfile.o)(.text+0x6ead): In function
`msUpdateScalebarFromString':
: undefined reference to `msyylex_destroy'
./libmapserver.a(mapfile.o)(.text+0x6f37): In function
`msUpdateLabelFromString':
: undefined reference to `msyylex_destroy'
./libmapserver.a(mapfile.o)(.text+0x7243): In function
`msUpdateLegendFromString':
: undefined reference to `msyylex_destroy'
./libmapserver.a(mapfile.o)(.text+0x75c0): In function
`msUpdateReferenceMapFromString':
: undefined reference to `msyylex_destroy'
./libmapserver.a(mapfile.o)(.text+0x7b1d): more undefined references to
`msyylex_destroy' follow
collect2: ld returned 1 exit status
make: *** [mapserv] Error 1
kind regards
Jørn Vegard
On Wednesday 07 November 2007 20:46, Yewondwossen Assefa wrote:
> Hi There,
>
> There is ticket on this issue :
> http://trac.osgeo.org/mapserver/ticket/2388.
>
> I have committed the fix in cvs. If you have a chance, please give it
> a try and update the bug.
>
> Best Regards
>
> Jørn Vegard Røsnes wrote:
> > Hi all,
> >
> > I'm running Mapserver v5.1-dev.
> > Postgresql is running with debug level 5.
> >
> > When I send a request containing result and time filtering, it seems that
> > only the result filtering is included in the generated SQL WHERE
> > statement (from Postgresql log). The eventtime filtering seems to be
> > omitted.
> > URL (partly):
> > eventtime=<gml:TimePeriod><gml:beginPosition>2007-11-05T08:00:00Z</gml:be
> >ginPosition><gml:endPosition>2007-11-05T08:30:00Z</gml:endPosition></gml:T
> >imePeriod>&
> > result=<Filter><ogc:PropertyIsEqualTo><ogc:PropertyName>mmsi_nb</ogc:Prop
> >ertyName><ogc:Literal>258069000</ogc:Literal></ogc:PropertyIsEqualTo></Fil
> >ter>
> >
> >
> > If I include only the eventtime in the SOS request, the SQL WHERE
> > statement contains the time filtering.
> > URL (partly):
> > eventtime=<gml:TimePeriod><gml:beginPosition>2007-11-05T08:00:00Z</gml:be
> >ginPosition><gml:endPosition>2007-11-05T08:30:00Z</gml:endPosition></gml:T
> >imePeriod>
> >
> > Any ideas are appreciated.
> > I can send more details off-list.
> >
> > cheers
> > Jørn Vegard
More information about the MapServer-users
mailing list