I too am having a bit of difficulty with a GML layer.  I am pulling a
rainfall forecast from NOAA WFS service via Mapserver, and then trying
to load the resulting GML file into QGIS, but it tells me that:

"C:\images\maps\forecast.gml is not a valid or recognized data source"

Any info would be appreciated,

Robert W. Burgholzer
Surface Water Modeler
Office of Water Supply and Planning
Virginia Department of Environmental Quality
[EMAIL PROTECTED]
804-698-4405
Open Source Modeling Tools:
http://sourceforge.net/projects/npsource/

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nikos Alexandris
Sent: Friday, June 20, 2008 12:15 PM
To: Tara Athan
Cc: qgis-user@lists.osgeo.org; qgis-community
Subject: Re: [Qgis-user] add a gml layer

On Fri, 2008-06-20 at 09:11 -0700, Tara Athan wrote:
> I am attempting to add a gml layer to the QGIS dataset that will be
used 
> in the next release of the QGIS manual (v 1.0).
> I took the lakes.shp shapefile from the existing dataset and used
ArcMap 
> to convert to gml (sorry, I couldn't figure out any other way.)
> The resulting layer loads into ArcMap OK, although it complains about 
> the spatial reference, but when I try to load it into QGIS
> 
> (Click Layer -> Add Vector Layer, then select the file and the type 
> [OGR] Geography Markup Language (*.gml) )
> 
> I get the error
> 
> ... is not a valid or recognized data source
> 
> The file is available here:
> 
>
http://www.alt2is.com/joomla/index.php?option=com_docman&task=doc_downlo
ad&gid=4&Itemid=42
> 
> I don't know if the problem is with the file, the software or the 
> procedure. If anyone has or knows how to create GML files that work
with 
> QGIS, I am willing to use that, as long as it is in Alaska, as that is

> the region of our dataset.
> 
> Thanks, Tara


Tara,

I think ogr2ogr supports GML files. Why not trying to convert with it?


ogr2ogr --formats | grep GML
  -> "GML" (read/write)

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to