Jukka, I may be mis-understanding your post, but the difficulty with reading GML2 from WFS is the same as reading arbitrary GML2: GML schemas can be very complex, and thus it's very difficult to develop a general-purpose GML2 Reader.
That is the reason that JUMP implemented the simplified GML2 readers for JUMPGML and using a GML template file - to avoid having to parse and map general GML2 schemas. Obviously it is possible to parse general GML2 - GeoTools has a GML2 Reader, for instance. This might be a better direction to go in to bring full GML2 capability to JUMP. Martin On 8/18/2011 1:31 AM, Rahkonen Jukka wrote: > Hi, > > OpenJUMP has a native reader for GML2 but it requires a schema file in the > native JUMP format. > On the other hand, WFS 1.0.0 server is sending data as GML. If you want to > get some, use the following link, show the source code on a browser and save > file on disk > http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetFeature&typename=lv:mml_railway > > The data comes without schema but it can be read from WFS with another > request: > http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=DescribeFeatureType&typeName=lv:mml_railway > > Now I wonder if it could be possible to make OpenJUMP to understand also the > WFS schema in addition to the native JUMP schema file so it could parse the > GML that comes from WFS? I have tested that SkyJUMP can convert GML into > shapefiles with the included iGOR utility but I wonder if GML could be read > more directly. > > -Jukka Rahkonen- > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1392 / Virus Database: 1520/3840 - Release Date: 08/17/11 > > ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel