[udig-devel] GML loading - null pointer
Jesse Eichar
jeichar at refractions.net
Wed Sep 5 12:19:59 PDT 2007
I'm afraid you're probably out of luck. Like Jody said there is
another parse that is coming down the pipeline but it won't be ready
for a couple of months at least.
Jesse
On Sep 5, 2007, at 10:08 AM, Vince Darley wrote:
> At 17:40 05/09/2007, Jody Garnett wrote:
>> I think it is something stupid like if your file is foo.xml it
>> will look for foo.xsd.
>
> I tried a bit of that, but no good either. The .gml file
> references a particular .xsd name (OSDNFFeatures.xsd) which is
> there in the directory:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <osgb:FeatureCollection
> xmlns:osgb='http://www.ordnancesurvey.co.uk/xml/namespaces/osgb'
> xmlns:gml='http://www.opengis.net/gml'
> xmlns:xlink='http://www.w3.org/1999/xlink'
> xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
> xsi:schemaLocation='http://www.ordnancesurvey.co.uk/xml/namespaces/
> osgb http://www.ordnancesurvey.co.uk/xml/schema/v4/OSDNFFeatures.xsd'
> fid='GDS-12362-3'>
> <gml:description>Ordnance Survey, (c) Crown Copyright. All rights
> reserved, 2005-04-19</gml:description>
> <gml:boundedBy><gml:null>unknown</gml:null></gml:boundedBy>
> <osgb:queryTime>2005-04-19T15:12:22</osgb:queryTime>
> <osgb:queryExtent>
> <gml:Polygon srsName='osgb:BNG'>
> <gml:outerBoundaryIs>
> <gml:LinearRing>
> <gml:coordinates>524593.170,182000.000 528000.000,182000.000
> 528000.000,183754.920 ...
>
>> There is a new GML parser available that can handle GML2 and GML3
>> - but we need a volunteer to wrap it up in DataStore clothing.
>
> Ah, I think OS data is supplied in GML 2.1.2 (see http://
> www.ordnancesurvey.co.uk/oswebsite/products/osmastermap/information/
> technical/gml2.html for details). So this means I've got no chance
> with the existing data store?
>
> cheers,
>
> Vince.
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list