I Want to format the results from a query presented on a dynwin.
What I want to achive is a result page with tabs for every layer and
pagination on the results, i have found thar x_info.php produces the
results in the form:
{'mode':'query', 'queryResult':[ [
{"name": "regiones", "description": "regiones", "header":
["@","gid","regsdsh","count"], "values": [ [{"shplink":
["regiones","2","220882.68718598+2290308.2647369+348680.86685145+2418184.0280652"]},
"2", "2", "5"]]} ,
{"name": "municipios", "description": "municipios", "header":
["@","gid","mun","nombre","marginacion","region"], "values": [
[{"shplink":
["municipios","17","221306.16622011+2338173.7855666+311003.62288478+2417760.5489982"]},
"17", "030", "San Felipe", "A", "2"]]} ,
{"name": "localidades", "description": "localidades", "header":
["@","gid","nombre","municipio","poblacion_total","poblacion_60_an_mas","hablantes_l_indigena","hacinamiento","promedio_escolar","marginacion"],
"values": [ [{"shplink":
["localidades","6292","242716.49211654+2341280.6411738+262716.49211654+2361280.6411738"]},
"6292", "Las Avispas", "San Felipe", "57", "1", "0", "2.04", "3.1",
"Muy alto"]]}
What I need to know to modify the code so i can show regiones,
municipios and localidades layers on diferent tabs and paginate the
results?
I think this code uses json
Some times i get a lot of rows and the result page becomes very large.
Thanks.
--
Nahum Castro González
León, Guanajuato, México
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users