Simon Vovko wrote:
>
> Hi!
>
>  
>
> I have this problem, that was already posted, but was forgotten 
> (http://www.mail-archive.com/geotools-gt2-users@lists.sourceforge.net/msg00478.html).
>
> It's about his third question that goes:
>
>  
>
> 3.) At the moment, I'm accessing the WFS via a GetCapabilities Request 
> and then extracting the features "by hand". Is there a possibility to 
> send a GetFeature Request and directly access the returned features as 
> "elements" (such as GML, etc.).
>
Sorry we use a SAX based parser (for streaming) so we always respond to 
callbacks (rather then constructing a DOM with elements).
>
> Is it possible to get FeatureReader from this URL.
>
> I'm looking something like: FeatureReader fr = 
> SomeObject.getFeatureReader('url');
>
> Is there any other way to make this happen.
>
Use the DataStore API to produce your request, see my slides FOSS4G for 
an example using WFS:
- 
http://www.foss4g2006.org/materialDisplay.py?contribId=186&sessionId=44&materialId=slides&confId=1

Cheers,
Jody

-------------------------------------------------------------------------
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
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to