Hi Armin, Thxs
I found the problem, in the LAYER CLASS I forgot the sintaxe "TEMPLATE void". > Date: Tue, 27 Jan 2009 19:47:03 +0100 > From: armin.bur...@gmail.com > To: juliano...@hotmail.com > CC: pmapper-users@lists.sourceforge.net > Subject: Re: [pmapper-users] Search OGR layer > > and whats's the problem with your settings? does your listed search > config not work with map info files? do you get errors, no results? I > converted the cities10000eu shapefile from the demo data to tab format > and everything works fine as with it in shapefile format. > > armin > > On 27/01/2009 12:36, Juliano Agostinho wrote: > > > > Hi, > > > > I have many layers with OGR connection but i dont know how config the > > search file. > > > > MAPFILE : > > > > LAYER > > NAME "City" > > MAXSCALE 8000 > > TYPE POLYGON > > STATUS ON > > CONNECTIONTYPE OGR > > CONNECTION "City.TAB" > > STYLEITEM "AUTO" > > CLASS > > Name "City" > > END > > METADATA > > "DESCRIPTION" "City" > > "RESULT_FIELDS" "NAME" > > "RESULT_HEADERS" "Name" > > "RESULT_HYPERLINK" "Name" > > "LAYER_ENCODING" "UTF-8" > > "ows_title" "City" > > END > > END > > > > Search file (XML): > > > > <searchitem name="City" description="City"> > > <layer type="shape" name="City"> > > <field type="s" name="NAME" description="Name" wildcard="0" /> > > </layer> > > </searchitem> > > > > I want search in OGR LAYER. > > I dont want convert TAB to SHP, anyone have one suggestion ? > > THX > > > > _________________________________________________________________ > > Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver > > offline. Conheça o MSN Mobile! > > http://mobile.live.com/signup/signup2.aspx?lc=pt-br > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by: > > SourcForge Community > > SourceForge wants to tell your story. > > http://p.sf.net/sfu/sf-spreadtheword > > _______________________________________________ > > pmapper-users mailing list > > pmapper-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > _________________________________________________________________ Conheça o Windows Live Spaces, a rede de relacionamentos do Messenger! http://www.amigosdomessenger.com.br/ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users