Hi, please, can anybody let me a little explanation about how / where
put a custom postgis sql in order to work with search section?
I set the array in js_config.php
searchList['calles'] = new Array('<?php echo _p("Intersecciones")?>',
'#STREET1&&#STREET2', '<?php echo _p("Calles") ?>','');
I need run a SQL with this 2 text ( #STREET1&&#STREET2) :
select textstring,
gid, xmin(box3d(p.the_geom)) AS minx,
ymin(box3d(p.the_geom)) AS miny,
xmax(box3d(p.the_geom)) AS maxx,
ymax(box3d(p.the_geom)) AS maxy
from calles p,
(select the_geom from calles where textstring like 'STREET1%') a
where intersects(a.the_geom,p.the_geom) and textstring = 'STREET2';
If you please let me how can i do this.
Best regards for all & Merry Cristmas
Feliz Navidad y un próspero año nuevo.
Cristian
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users