Thanks Armin,

I thought this type of attribute search was simple to configure because it
works for me in an old pmapper1 version. I only remember there was a problem
with the period in y.NAME, so I did some workaround to make it work. But it
was defined something like:

"echo("<td><INPUT TYPE=text NAME=\"#y.NAME\" SIZE=15></td> \n");" in
search.phtml and it worked.

Never mind I'll investigate it, if it worked in pmapper1 it must work
somehow in this version 


thanks

regards, dejan

> -----Original Message-----
> From: Armin Burger [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, March 25, 2007 3:41 PM
> To: Dejan Gambin
> Cc: pmapper-users@lists.sourceforge.net
> Subject: Re: [pmapper-users] Attribute search with connectiontype ogr
> 
> p.mapper is tested with shapefiles and PostGIS for the vector 
> part. All other types of vector layer sources (mapinfo, OGR, 
> etc) might work, but it is not guaranteed. For these types of 
> layers users are welcome to contribute patches and I will 
> integrate them into the main code, but I myself will not 
> investigate very much to support them.
> 
> In your special case I doubt it will work since the joined 
> dbf is used by MS only for the query result display, but it 
> is not available as full part of the data, it can e.g. not be 
> used for class definitions.
> 
> The suggest function is not very much tested and I can only 
> provide a simple example, maybe for the cities shapefile. 
> However, I cannot provide very much support for this function 
> and all possible settings for the moment, since it requires a 
> detailed documentation of the settings, an XML schema etc, 
> and I'm currently missing the time for that.
> 
> armin
> 
> Dejan Gambin wrote:
> > Hi,
> > 
> > I have a layer with CONNECTIONTYPE OGR and DATA like "select x.ID, 
> > y.NAME
> >>from x LEFT JOIN y ON x.ID = y.ID"
> > 
> > "x" is dbf file from the layer/shape, and y is "standalone" 
> dbf file.
> > 
> > Everything works but I would like to do an attribute search for 
> > y.NAME.. Is it possible using newest search engine with search.xml?
> > 
> > By the way, is there a way to test the new suggest 
> functionality? Some 
> > example or seomthing? It seems very interesting
> > 
> > regards, dejan
> > 
> > 
> > 
> > 
> ----------------------------------------------------------------------
> > --- Take Surveys. Earn Cash. Influence the Future of IT Join 
> > SourceForge.net's Techsay panel and you'll get the chance to share 
> > your opinions on IT & business topics through brief 
> surveys-and earn 
> > cash 
> > 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
> > DEV _______________________________________________
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> > 
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to