[mapguide-users] Exmple of Gdal index xml
Gary Morin
gary.morin at keygis.co.uk
Thu Oct 4 13:55:56 EDT 2007
I've corrected the bounds, one of the images did not upload correctly, as to
the truncated file, it's probably finger troubles by me.
Attached is a new version, which still gives the same error.
Thanks
Gary
-----Original Message-----
From: Jason Birch [mailto:Jason.Birch at nanaimo.ca]
Sent: 04 October 2007 18:29
To: gary.morin at keygis.co.uk; MapGuide Users Mail List
Subject: RE: [mapguide-users] Exmple of Gdal index xml
Weird.
It looks like it cut off part way through upload to the server.
Another potential problem is that the image Se12ne.tif returned bounds
of 0 0, 0 0, which really messed up the feature's bounding box.
Jason
-----Original Message-----
From: Gary Morin
Subject: RE: [mapguide-users] Exmple of Gdal index xml
Please find attached xml as requested.
-------------- next part --------------
<?xml version="1.0" encoding="UTF-8"?>
<fdo:DataStore xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:fdo="http://fdo.osgeo.org/schemas" xmlns:fds="http://fdo.osgeo.org/schemas/fds"><gml:DerivedCRS gml:id="Default"><gml:metaDataProperty><gml:GenericMetaData><fdo:SCExtentType>dynamic</fdo:SCExtentType><fdo:XYTolerance>0.001000</fdo:XYTolerance><fdo:ZTolerance>0.001000</fdo:ZTolerance></gml:GenericMetaData></gml:metaDataProperty><gml:remarks>System generated default FDO Spatial Context</gml:remarks><gml:srsName>Default</gml:srsName><gml:validArea><gml:boundingBox><gml:pos>394999.25242 424999.31774</gml:pos><gml:pos>425000.48226 455000.56758</gml:pos></gml:boundingBox></gml:validArea><gml:baseCRS><fdo:WKTCRS gml:id="Default"><gml:srsName>Default</gml:srsName><fdo:WKT>LOCAL_CS["*XY-MT*",LOCAL_DATUM["*X-Y*",10000],UNIT["Meter", 1],AXIS["X",EAST],AXIS["Y",NORTH]]</fdo:WKT></fdo:WKTCRS></gml:baseCRS><gml:definedByConversion xlink:href="http://fdo.osgeo.org/coord_conversions#identity"/><gml:derivedCRSType codeSpace="http://fdo.osgeo.org/crs_types">geographic</gml:derivedCRSType><gml:usesCS xlink:href="http://fdo.osgeo.org/cs#default_cartesian"/></gml:DerivedCRS><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fdo="http://fdo.osgeo.org/schemas" xmlns:gml="http://www.opengis.net/gml" xmlns:default="http://fdo.osgeo.org/schemas/feature/default" targetNamespace="http://fdo.osgeo.org/schemas/feature/default" elementFormDefault="qualified" attributeFormDefault="unqualified"><xs:annotation><xs:appinfo source="http://fdo.osgeo.org/schemas"/></xs:annotation><xs:element name="default" type="default:defaultType" abstract="false" substitutionGroup="gml:_Feature"><xs:key name="defaultKey"><xs:selector xpath=".//default"/><xs:field xpath="FeatId"/></xs:key></xs:element><xs:complexType name="defaultType" abstract="false" fdo:hasGeometry="false"><xs:annotation><xs:appinfo source="http://fdo.osgeo.org/schemas"/></xs:annotation><xs:complexContent><xs:extension base="gml:AbstractFeatureType"><xs:sequence><xs:element name="FeatId"><xs:annotation><xs:appinfo source="http://fdo.osgeo.org/schemas"/></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="256"/></xs:restriction></xs:simpleType></xs:element><xs:element name="Image" type="fdo:RasterPropertyType" fdo:defaultImageXSize="1024" fdo:defaultImageYSize="1024" fdo:srsName="Default"><xs:annotation><xs:appinfo source="http://fdo.osgeo.org/schemas"><fdo:DefaultDataModel dataModelType="Bitonal" dataType="Unknown" organization="Pixel" bitsPerPixel="1" tileSizeX="256" tileSizeY="256"/></xs:appinfo></xs:annotation></xs:element></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:schema><SchemaMapping xmlns="http://fdogrfp.osgeo.org/schemas" provider="OSGeo.Gdal.3.2" name="default"><complexType name="defaultType"><complexType name="RasterTypeType"><RasterDefinition name="images"><Location name="D:\Projects\MGDemo\Raster\"><Feature name="Sd93ne.tif"><Band name="RGB" number="1"><Image frame="1" name="Sd93ne.tif"><Bounds><MinX>394999.25242</MinX><MinY>434999.31774</MinY><MaxX>400000.50226</MaxX><MaxY>440000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Sd93se.tif"><Band name="RGB" number="1"><Image frame="1" name="Sd93se.tif"><Bounds><MinX>394999.25242</MinX><MinY>429999.31774</MinY><MaxX>400000.50226</MaxX><MaxY>435000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Sd94se.tif"><Band name="RGB" number="1"><Image frame="1" name="Sd94se.tif"><Bounds><MinX>394999.25242</MinX><MinY>439999.31774</MinY><MaxX>400000.50226</MaxX><MaxY>445000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se02ne.tif"><Band name="RGB" number="1"><Image frame="1" name="Se02ne.tif"><Bounds><MinX>404999.23242</MinX><MinY>424999.31774</MinY><MaxX>410000.48226</MaxX><MaxY>430000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se03ne.tif"><Band name="RGB" number="1"><Image frame="1" name="Se03ne.tif"><Bounds><MinX>404999.23242</MinX><MinY>434999.31774</MinY><MaxX>410000.48226</MaxX><MaxY>440000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se03nw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se03nw.tif"><Bounds><MinX>399999.23242</MinX><MinY>434999.31774</MinY><MaxX>405000.48226</MaxX><MaxY>440000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se03se.tif"><Band name="RGB" number="1"><Image frame="1" name="Se03se.tif"><Bounds><MinX>404999.23242</MinX><MinY>429999.31774</MinY><MaxX>410000.48226</MaxX><MaxY>435000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se03sw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se03sw.tif"><Bounds><MinX>399999.23242</MinX><MinY>429999.31774</MinY><MaxX>405000.48226</MaxX><MaxY>435000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se04ne.tif"><Band name="RGB" number="1"><Image frame="1" name="Se04ne.tif"><Bounds><MinX>404999.23242</MinX><MinY>444999.31774</MinY><MaxX>410000.48226</MaxX><MaxY>450000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se04nw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se04nw.tif"><Bounds><MinX>399999.23242</MinX><MinY>444999.31774</MinY><MaxX>405000.48226</MaxX><MaxY>450000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se04se.tif"><Band name="RGB" number="1"><Image frame="1" name="Se04se.tif"><Bounds><MinX>404999.23242</MinX><MinY>439999.31774</MinY><MaxX>410000.48226</MaxX><MaxY>445000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se04sw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se04sw.tif"><Bounds><MinX>399999.23242</MinX><MinY>439999.31774</MinY><MaxX>405000.48226</MaxX><MaxY>445000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se05se.tif"><Band name="RGB" number="1"><Image frame="1" name="Se05se.tif"><Bounds><MinX>404999.23242</MinX><MinY>449999.31774</MinY><MaxX>410000.48226</MaxX><MaxY>455000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se05sw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se05sw.tif"><Bounds><MinX>399999.23242</MinX><MinY>449999.31774</MinY><MaxX>405000.48226</MaxX><MaxY>455000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se12ne.tif"><Band name="RGB" number="1"><Image frame="1" name="Se12ne.tif"><Bounds><MinX>414999.36242</MinX><MinY>424999.31774</MinY><MaxX>420000.61226</MaxX><MaxY>430000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se12nw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se12nw.tif"><Bounds><MinX>409999.23242</MinX><MinY>424999.31774</MinY><MaxX>415000.48226</MaxX><MaxY>430000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se13ne.tif"><Band name="RGB" number="1"><Image frame="1" name="Se13ne.tif"><Bounds><MinX>414999.36242</MinX><MinY>434999.31774</MinY><MaxX>420000.61226</MaxX><MaxY>440000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se13nw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se13nw.tif"><Bounds><MinX>409999.23242</MinX><MinY>434999.31774</MinY><MaxX>415000.48226</MaxX><MaxY>440000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se13se.tif"><Band name="RGB" number="1"><Image frame="1" name="Se13se.tif"><Bounds><MinX>414999.36242</MinX><MinY>429999.31774</MinY><MaxX>420000.61226</MaxX><MaxY>435000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se13sw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se13sw.tif"><Bounds><MinX>409999.23242</MinX><MinY>429999.31774</MinY><MaxX>415000.48226</MaxX><MaxY>435000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se14ne.tif"><Band name="RGB" number="1"><Image frame="1" name="Se14ne.tif"><Bounds><MinX>414999.23242</MinX><MinY>444999.31774</MinY><MaxX>420000.48226</MaxX><MaxY>450000.56758</MaxY></Bounds></Image></Band></Feature><Feature name="Se14nw.tif"><Band name="RGB" number="1"><Image frame="1" name="Se14nw.tif"><Bounds><MinX>409999.23242</MinX><MinY>444999.31774</MinY><MaxX>415000.48226</MaxX><MaxY>450000.56758</MaxY></Bounds></Image></Band></Feature>
More information about the mapguide-users
mailing list