Everything OK. Seems this layer wasn't included in conversion from 
ini->xml

regards, dejan

dejan.gam...@pula.hr wrote on 17.12.2009 16:28:19:

> Hi,
> 
> I am using p.mapper-4.0-beta on ubuntu (debain package). My attribute 
> search through DGN file doesn't work any more. It worked correctly in 
> p.mapper 3.2.
> 
> I have defined this in search.xml
> 
> <searchitem name="hok-text" description="HOK">
>         <layer type="shape" name="hok-text">
>             <field type="s" name="TEXT" description="HOK"  wildcard="0" 
/>
>         </layer>
>     </searchitem>
> 
> hok-text layer is like this:
> 
> LAYER
>   NAME "hok-text"
>   GROUP "hok-text"
>   TYPE POINT
>   CONNECTIONTYPE OGR
>   CONNECTION "/var/data/demodata/10-text.dgn"
>   METADATA
>     "DESCRIPTION" "HOK-nazivi"
>     "RESULT_FIELDS" "Text"
>     "RESULT_HEADERS" "Naziv"
>   END  # Metadata
>   CLASS
>     NAME "HOK-nazivi"
>     COLOR 0 0 0
>     TEMPLATE void
>   END
>   PROJECTION
>     "init=epsg:31275"
>   END
> 
> Possible problem: when using ogrinfo on this dgn file I see the "Text" 
> field strings have quotation marks such as:
> 
> OGRFeature(elements):1463
>   Type (Integer) = 17
>   Level (Integer) = 9
>   GraphicGroup (Integer) = 0
>   ColorIndex (Integer) = 0
>   Weight (Integer) = 0
>   Style (Integer) = 0
>   EntityNum (Integer) = (null)
>   MSLink (Integer) = (null)
>   Text (String) = "Aerodrom Medulin"
>   Style = LABEL(t:""Aerodrom Medulin"",c:#ffffff,s:9g)
>   POINT (5413781.101999999955297 4967096.394000000320375)
> 
> So the standard search through ogrinfo doesn't work as this:
> 
> ogrinfo -ro -where 'TEXT="Aerodrom Medulin"' 
> /var/data/demodata/10-text.dgn elements
> 
> but works like this:
> 
> ogrinfo -ro -where 'TEXT="\"Aerodrom Medulin\""' 
> /var/data/demodata/10-text.dgn elements
> 
> Can this be a problem? It works OK in p.mapper 3.2
> 
> thanks very much
> 
> regards, dejan
> 
------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and 
easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to