The ability is no longer packaged up as a "DataStore" by the GeoTools library we use. It has actually improved support (for GML3 and so on as when talking to a WFS) but the number of problems with people using GML files has grown over time (as many GML files do not reference a schema required for parsing).
If you are interested I would recommend using the GML parsing code here; and load the GML data into a temporary layer in uDig. - http://docs.geotools.org/latest/userguide/library/xml/geometry.html 1. Make an Import Wizard 2. There is code there to parse GML into a feature collection: GML gml = new GML(Version.WFS1_0); SimpleFeatureCollection featureCollection = gml.decodeFeatureCollection(in); 3. Create a temporary layer in uDig IService tmp = catalog.createTemporaryResource( featureCollection.getFeatureType() ); FeatureStore store = tmp.resolve( FeatureStore.class, monitor ); store.addFeatures( featureCollection ); 4. The user can then add this to the map; or save out etc... -- Jody Garnett On Monday, 21 November 2011 at 9:19 PM, Ákos Maróy wrote: > Hi, > > I wonder if uDig is capable of loading / showing GML files. When opening > the 'new layer' dialog, GML is not listed as a possibility to add :( > > Best regards, > > > Akos > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel > >
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
