HI, I am using MGOS 2.0 and multiple tifs with their corresponding tfws. I have followed the "Creating Tile Index Config Files" instructions from the FdoGdalNotes but always end up with an xml file with all coordinates set to a default as below. Is there anything I can do to get the xml to show the correct coordinates from the .tfw files. If i had to manually do this it would take an age as I have 815 files.
Any help or advice is welcome Regards JD <?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>-10000000 -10000000</gml:pos><gml:pos>10000000 10000000</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:\Map Files\Tiffs\"><Feature name="ST00.tif"><Band name="RGB" number="1"><Image frame="1" name="ST00.tif"><Bounds><MinX>-10000000</MinX><MinY>-10000000</MinY><MaxX>10000000</MaxX><MaxY>10000000</MaxY></Bounds></Image></Band></Feature><Feature name="ST00X.TIF"><Band name="RGB" number="1"><Image frame="1" name="ST00X.TIF"><Bounds><MinX>-10000000</MinX><MinY>-10000000</MinY><MaxX>10000000</MaxX><MaxY>10000000</MaxY></Bounds></Image></Band></Feature><Feature name="ST02.TIF"><Band name="RGB" number="1"><Image frame="1" name="ST02.TIF"><Bounds><MinX>-10000000</MinX><MinY>-10000000</MinY><MaxX>10000000</MaxX><MaxY>10000000</MaxY></Bounds></Image></Band></Feature><Feature name="ST04.TIF"><Band name="RGB" number="1"><Image frame="1" name="ST04.TIF"><Bounds><MinX>-10000000</MinX><MinY>-10000000</MinY><MaxX>10000000</MaxX><MaxY>10000000</MaxY></Bounds></Image></Band> ----- http://www.software-matters.co.uk Software Matters - http://www.software-matters.co.uk/bespoke-database-design.html Bespoke Database and Software Solutions -- View this message in context: http://n2.nabble.com/Creating-Tile-Index-Config-Files-why-do-I-lose-my-coordinates-tp3822953p3822953.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
