[Geoserver-users] Search feature

Hi all.
I have a project about Geoserver. Now I need to make a Search function, this
function will searchs feature from XML file (XML file is added to become
layer).
I don't know how to begin, Can anyones help me?
Give me your opinions.

Thanks for your reply.

TungVuduong.
--
View this message in context: http://www.nabble.com/Search-feature-tp20240021p20240021.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Could you explain more clearly the desired action?

What kind of XML are you handling? Are you storing it in some core datastore? When you say "search feature from XML" what do you mean? By what attributes do you expect to access these features or by what other search parameters? Have you examined GeoServer's abilities to use OGC and CQL filters?

---
A. Soroka / Digital Scholarship Services R & D
the University of Virginia Library

On Oct 29, 2008, at 10:45 PM, rohanhn wrote:

Hi all.
I have a project about Geoserver. Now I need to make a Search function, this
function will searchs feature from XML file (XML file is added to become
layer).
I don't know how to begin, Can anyones help me?
Give me your opinions.

Thanks for your reply.

TungVuduong.
--
View this message in context: http://www.nabble.com/Search-feature-tp20240021p20240021.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thanks for your reply.
I need to build the function "Search" like Search engine.
I'm storing data in the xml file that I attach in this message. I need to
find from datastore by coordinate or by NAME and result is displayed on
popup in the map.

Can you give me your opinion?
PS: Sorry, because my English is not good.
Thanks you.

TungVuduong.

My XML file:

<?xml version="1.0" encoding="UTF-8" ?>
<wfs:FeatureCollection xmlns="http://www.opengis.net/wfs&quot;
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:topp="http://www.openplants.org/topp&quot;
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation="http://localhost:8080/geoserver
http://localhost:8080/geoserver/wfs?service=WFS;version=1.0.0;request=DescribeFeatureType;typeName=topp:timduong123
http://www.opengis.net/wfs
http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd&quot;&gt;

<gml:boundedBy>
<gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;
<gml:coordinates decimal="." cs="," ts=" ">105.85002606,21.0352292
105.85443559,21.04062223</gml:coordinates>
</gml:Box>
</gml:boundedBy>

<gml:featureMember>
<topp:timduong123 fid="timduong123.1">
<topp:the_geom>
<gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326&quot;&gt;
<gml:lineStringMember>
<gml:LineString>
<gml:coordinates decimal="." cs="," ts=" ">
105.85443559,21.0352292 105.85427275,21.03560711 105.85423133,21.03570322
105.85395527,21.03609928 105.85347102,21.03664139 105.85332529,21.03681343
105.85321639,21.03694131 105.85286926,21.03736854 105.85202334,21.03833262
105.85146148,21.03895288 105.85108415,21.03938997 105.85105629,21.03943898
105.85092256,21.03976999 105.85060655,21.0401121 105.85002606,21.04062223
</gml:coordinates>
</gml:LineString>
</gml:lineStringMember>
</gml:MultiLineString>
</topp:the_geom>
<topp:NAME>TranNhatDuat</topp:NAME>
</topp:timduong123>
</gml:featureMember>

..........
--
View this message in context: http://www.nabble.com/Search-feature-tp20240021p20296437.html
Sent from the GeoServer - User mailing list archive at Nabble.com.