You just discovered one of the many MapServer quirks. Use lowercase on your attribute tags, i.e. [id] instead of [ID], [id_cor_tex] instead of [ID_Cor_tex].

Cheers!
-Perry

salah jubeh wrote:

 Hello;

i have problem such that i have feature data i want to query it , i have succeeded to do the query and i get a good result , after a while i needed to use PostGis so i stored the data in postgres Sql.

now when i query the data i get something like this.

ID      ELEM_TEXT       OwnerID         ID_Cord         ID_Cor_tex
1       [ID]    [ELEM_TEXT]     [ID_Cord]       [ID_Cor_tex]
2       [ID]    [ELEM_TEXT]     [ID_Cord]       [ID_Cor_tex]
3       [ID]    [ELEM_TEXT]     [ID_Cord]       [ID_Cor_tex]
4       [ID]    [ELEM_TEXT]     [ID_Cord]       [ID_Cor_tex]

the same query string gives me a good result if i change the connection type "without postgis"

is it a problem with mapserver or with postgis

here the query string
http://localhost:8015/cgi-bin/pg/mapserv.exe?mode=query&;
map=../../workshop/itasca.map
&imgext=478415.19531584216+3932140.113529023+478943.19530859275+3932668.1135217734
&imgxy=184+295&imgbox=184+295+184+295
&imgsize=600+600
&layers=Flowpaths






*Best Regard
* Eng. Salah Al Jubeh

MCP,MCAD,MCSD



Mobile:00306947192421

Bring words and photos together (easily) with
PhotoMail <http://us.rd.yahoo.com/mail_us/taglines/PMHM3/*http://photomail.mail.yahoo.com> - it's free and works with Yahoo! Mail.

Reply via email to