<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Shariful,<br>
<br>
I never used GeoServer, so I don't know how that could be
accomplished. If you used MapServer instead, I know there's PHP
MapScript you would use to connect to your mapfile layers, browse
them and build the json file to output from there. I'm fairly a
similar approach is possible using GeoServer. You could try
asking about it on their 'users' mailing list.<br>
<br>
HTH,<br>
<br>
Alexandre<br>
<br>
<br>
On 12-12-19 08:29 AM, Shariful Islam wrote:<br>
</div>
<blockquote
cite="mid:1355923773.23584.YahooMailNeo@web121101.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:Courier
New, courier, monaco, monospace, sans-serif;font-size:12pt">
<div><span>Hi Dube,</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
'Courier New', courier, monaco, monospace, sans-serif;
background-color: transparent; font-style: normal;"><span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
'Courier New', courier, monaco, monospace, sans-serif;
background-color: transparent; font-style: normal;"><span>Many
Many Thanks for your care to my question,</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
'Courier New', courier, monaco, monospace, sans-serif;
background-color: transparent; font-style: normal;"><span>Would
you refer to good sources for learning how to "</span><span
style="font-family: 'times new roman', 'new york', times,
serif; font-size: 12pt;">external php script to return the
JSON config</span><span style="font-family: 'times new
roman', 'new york', times, serif; font-size: 12pt;"> </span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
'Courier New', courier, monaco, monospace, sans-serif;
background-color: transparent; font-style: normal;"><span
style="font-family: 'times new roman', 'new york', times,
serif; font-size: 12pt;">of their tree from geoserver</span><span>"
as u mentioned.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
'Courier New', courier, monaco, monospace, sans-serif;
background-color: transparent; font-style: normal;"><span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
'Courier New', courier, monaco, monospace, sans-serif;
background-color: transparent; font-style: normal;"><span>Thanks
in advance</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
'Courier New', courier, monaco, monospace, sans-serif;
background-color: transparent; font-style: normal;"><span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
'Courier New', courier, monaco, monospace, sans-serif;
background-color: transparent; font-style: normal;"><span>Awaiting
to hear from you samaritan</span></div>
<div><br>
</div>
<div style="font-family: 'Courier New', courier, monaco,
monospace, sans-serif; font-size: 12pt;">
<div style="font-family: 'times new roman', 'new york', times,
serif; font-size: 12pt;">
<div dir="ltr"> <font face="Arial" size="2">
<hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
<a class="moz-txt-link-rfc2396E" href="mailto:users-request@geoext.org">"users-request@geoext.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:users-request@geoext.org"><users-request@geoext.org></a><br>
<b><span style="font-weight: bold;">To:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:users@geoext.org">users@geoext.org</a> <br>
<b><span style="font-weight: bold;">Sent:</span></b>
Tuesday, December 11, 2012 5:00 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Users Digest, Vol 47, Issue 6<br>
</font> </div>
<br>
Send Users mailing list submissions to<br>
<a moz-do-not-send="true"
ymailto="mailto:users@geoext.org"
href="mailto:users@geoext.org">users@geoext.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a moz-do-not-send="true"
ymailto="mailto:users-request@geoext.org"
href="mailto:users-request@geoext.org">users-request@geoext.org</a><br>
<br>
You can reach the person managing the list at<br>
<a moz-do-not-send="true"
ymailto="mailto:users-owner@geoext.org"
href="mailto:users-owner@geoext.org">users-owner@geoext.org</a><br>
<br>
When replying, please edit your Subject line so it is more
specific<br>
than "Re: Contents of Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: How to add nested (tree inside trees inside trees
up to<br>
5th level) trees in the array (Alexandre Dub?)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 10 Dec 2012 11:48:47 -0500<br>
From: Alexandre Dub? <<a moz-do-not-send="true"
ymailto="mailto:adube@mapgears.com"
href="mailto:adube@mapgears.com">adube@mapgears.com</a>><br>
Subject: Re: [Users] How to add nested (tree inside trees
inside trees<br>
up to 5th level) trees in the array<br>
To: <a moz-do-not-send="true"
ymailto="mailto:users@geoext.org"
href="mailto:users@geoext.org">users@geoext.org</a><br>
Message-ID: <<a moz-do-not-send="true"
ymailto="mailto:50C6126F.8030101@mapgears.com"
href="mailto:50C6126F.8030101@mapgears.com">50C6126F.8030101@mapgears.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
<br>
That's a nice example you got there. You could look at
the <br>
<a class="moz-txt-link-freetext" href="http://map.rostmuseum.ru/js/tree-primary.js">http://map.rostmuseum.ru/js/tree-primary.js</a> file to see how
they built <br>
their tree. They use an external php script to return the
JSON config <br>
of their tree :
<a class="moz-txt-link-freetext" href="http://map.rostmuseum.ru/load-tree-config.php">http://map.rostmuseum.ru/load-tree-config.php</a><br>
<br>
That's a nice way to organize the data on server-side and
have it <br>
automatically updated if new layers are added.<br>
<br>
HTH,<br>
<br>
Alexandre<br>
<br>
<br>
On 12-12-10 03:52 AM, Shariful Islam wrote:<br>
> Thanks, Alexandre Dub? and all responded quickly to me
a noob.<br>
><br>
> But I need building tree within tree (upto 5th
level)example can <br>
> be <a class="moz-txt-link-freetext" href="http://map.rostmuseum.ru/">http://map.rostmuseum.ru/</a> where one check box
parents <br>
> several children (parent for sub.<br>
> Would u be kind to guide how to to do this (may be
array but i am <br>
> completely busted to do after a week i do not find
where the error is).<br>
><br>
> Thanks is in advance.<br>
><br>
> Awaiting your response.<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
ymailto="mailto:Users@geoext.org"
href="mailto:Users@geoext.org">Users@geoext.org</a><br>
> <a moz-do-not-send="true"
href="http://www.geoext.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
-- <br>
Alexandre Dub?<br>
Mapgears<br>
<a moz-do-not-send="true" target="_blank"
href="http://www.mapgears.com/">www.mapgears.com</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:
<a class="moz-txt-link-freetext" href="http://www.geoext.org/pipermail/users/attachments/20121210/70f9cc91/attachment-0001.htm">http://www.geoext.org/pipermail/users/attachments/20121210/70f9cc91/attachment-0001.htm</a>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" ymailto="mailto:Users@geoext.org"
href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a moz-do-not-send="true"
href="http://www.geoext.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
End of Users Digest, Vol 47, Issue 6<br>
************************************<br>
<br>
<br>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alexandre Dubé
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
</body>
</html>