[Cartoweb-users] query plugin

Oliver Christen oliver.christen at camptocamp.com
Mon Apr 30 02:36:54 EDT 2007


Hi Guiseppe

there are a things you can try.

first, do not put anything for "query_returned_attributes", by default it 
will try to return everything.
also, maybe try with ADMAPKEY|int or simply ADMAPKEY for the 
"id_attribute_string"

regards
Oliver


> Hi all,
> I've imported only my data in demoCw3, after the minimal adaptation of the
> .map I've tested the query Plug in. No data returned .
> If I intentionally write a wrong column name, for returned attributes , no
> error is displayed.
> to you, what's wrong ?
>
> Thanks and best regards
>
>
>
> --------- Original Message --------
> Da: giuseppe.derossi at email.it
> To: cartoweb-users at lists.maptools.org <cartoweb-users at lists.maptools.org>
> Oggetto: [Cartoweb-users] query plugin
> Data: 27/04/07 17:47
>
> >
>>
>>
>> Hi All,
>> I've activated the query plugin in my project but it doesn't display the
>> results.
>> this is what I've done
>> - added three new file .shx .shp .dbf in the dbf there are two column
>> ADMAPKEY and LAYER
>> - added a new layer in .map :
>> LAYER
>>     NAME "PUNTI_MONT"
>>     STATUS ON
>>     DATA "PUNTI_MONT"
>>     TEMPLATE "ttt"
>>     TYPE POINT
>>     UNITS METERS
>>     SIZEUNITS PIXELS
>>     TOLERANCEUNITS PIXELS
>>     METADATA
>>         "id_attribute_string" "ADMAPKEY|string"
>>         "query_returned_attributes" "LAYER"
>>     END
>>     CLASS
>>      NAME "PUNTI_MONT"
>>      STYLE
>>         SYMBOL "circle"
>>         COLOR  255 0 0
>>         OUTLINECOLOR 0 0 0
>>         SIZE 20
>>      END
>>     END
>>   END
>>
>> - added, in query.ini client conf, the lines
>>  queryLayers = PUNTI_MONT
>>  returnAttributesActive = true
>>
>> I can see the points and I can select them by pushing the query icon but
>> when the page is reloaded nothing has been displayed. There are no
> returned
>> errors.
>>
>> Any idea ?
>>
>> Thanks and best regards
>>
>>  --
>>  Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>>
>>  Sponsor:
>>  Ti serve spazio e sicurezza per contenere i tuoi dati? Su YOUBUY.it le
>> migliori marche di CD e DVD a partire da  0,19 euro! SPEDIZIONI IN 12 
>> ORE!
>> Trasporto a soli 5 euro o gratis!
>>
>>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6453&d=20070427
>>
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>>
>>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Stanco della bolletta salata? Da oggi puoi chiamare tramite internet 
> grazie
> a SKYME! Telefono USB senza filo, fino a 50 mt. Scopri l'intera gamma di
> telefoni SKYME, da YOUBUY.it
>
>
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6451&d=20070428
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list