Hi Martin,

I just get frustrated every now and then with WFS and GML. It is so simple to 
get for example the railways from WFS with 
http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.0.0&request=GetFeature&typename=lv:mml_railway

I can see the GML on screen and it looks pretty understandable with all the 
attributes and geometries.  With a pencil and cross-ruled paper I could even 
draw the geometries. Then I save the result on disk and believe that everything 
is OK and I have received a nive set of geospatial data. But actually there are 
not very many free GIS software being able to open and show the data that was 
saved on a disk. Schema is missing (nobody told it should have been loaded as 
well, and the link to schema inside GML does not help you much when on the 
field off-line), gml cannot be parsed and so on. What have we done to deserve 
these standards? Not to mention the advanced axis order frustration with WMS 
1.3.0, WFS 1.1.0, WCS 1.1 and GML3.

Situation with open source WFS clients is actually rather good now, finally. 
OpenJUMP does not work any more (or it may with deegree servers but not with 
others) but Kosmo GIS, gvSIG, QGis and iGeoDesktop are usable as well as uDig 
and OpenLayers. And for me it is not so big trouble to convert GML from disk 
into other formats with OGR. However, I would like to teach others to do it in 
some extremely simple way and not through additional downloads and command line 
workarounds. Nowadays people tend to give in or escape immediately when they 
see an open command window.

-Jukka Rahkonen-

Martin Davis wrote:

> 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&r
equest=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&r
equest=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
> 
------------------------------------------------------------------------------
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

Reply via email to